From 9dcc807e01bb7877d29b7612e43ac53af6e50d34 Mon Sep 17 00:00:00 2001 From: Mariana Date: Tue, 19 Sep 2017 17:02:46 -0700 Subject: [PATCH 1/5] Wave two --- .DS_Store | Bin 0 -> 6148 bytes .ruby-gemset | 1 - .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/javascripts/tasks.coffee | 3 + app/assets/stylesheets/application.css | 15 + app/assets/stylesheets/tasks.scss | 53 + 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 | 24 + app/helpers/application_helper.rb | 2 + app/helpers/tasks_helper.rb | 2 + app/jobs/application_job.rb | 2 + app/mailers/application_mailer.rb | 4 + app/models/application_record.rb | 3 + app/models/concerns/.keep | 0 app/models/task.rb | 2 + app/views/layouts/application.html.erb | 14 + app/views/layouts/mailer.html.erb | 13 + app/views/layouts/mailer.text.erb | 1 + app/views/tasks/index.html.erb | 49 + 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 | 6 + config/secrets.yml | 32 + config/spring.rb | 6 + db/development.sqlite3 | Bin 0 -> 28672 bytes db/migrate/20170919215338_create_tasks.rb | 10 + db/schema.rb | 22 + db/seeds.rb | 7 + lib/assets/.keep | 0 lib/tasks/.keep | 0 log/.keep | 0 log/development.log | 1476 +++++++++++++++++ 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/controllers/tasks_controller_test.rb | 9 + test/fixtures/.keep | 0 test/fixtures/files/.keep | 0 test/fixtures/tasks.yml | 9 + test/helpers/.keep | 0 test/integration/.keep | 0 test/mailers/.keep | 0 test/models/.keep | 0 test/models/task_test.rb | 7 + test/system/.keep | 0 test/test_helper.rb | 9 + vendor/.keep | 0 89 files changed, 2819 insertions(+), 2 deletions(-) create mode 100644 .DS_Store delete mode 100644 .ruby-gemset 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/javascripts/tasks.coffee create mode 100644 app/assets/stylesheets/application.css create mode 100644 app/assets/stylesheets/tasks.scss create mode 100644 app/channels/application_cable/channel.rb create mode 100644 app/channels/application_cable/connection.rb create mode 100644 app/controllers/application_controller.rb create mode 100644 app/controllers/concerns/.keep create mode 100644 app/controllers/tasks_controller.rb create mode 100644 app/helpers/application_helper.rb create mode 100644 app/helpers/tasks_helper.rb create mode 100644 app/jobs/application_job.rb create mode 100644 app/mailers/application_mailer.rb create mode 100644 app/models/application_record.rb create mode 100644 app/models/concerns/.keep create mode 100644 app/models/task.rb create mode 100644 app/views/layouts/application.html.erb create mode 100644 app/views/layouts/mailer.html.erb create mode 100644 app/views/layouts/mailer.text.erb create mode 100644 app/views/tasks/index.html.erb create mode 100755 bin/bundle create mode 100755 bin/rails create mode 100755 bin/rake create mode 100755 bin/setup create mode 100755 bin/spring create mode 100755 bin/update create mode 100755 bin/yarn create mode 100644 config.ru create mode 100644 config/application.rb create mode 100644 config/boot.rb create mode 100644 config/cable.yml create mode 100644 config/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/development.sqlite3 create mode 100644 db/migrate/20170919215338_create_tasks.rb create mode 100644 db/schema.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 log/development.log create mode 100644 package.json create mode 100644 public/404.html create mode 100644 public/422.html create mode 100644 public/500.html create mode 100644 public/apple-touch-icon-precomposed.png create mode 100644 public/apple-touch-icon.png create mode 100644 public/favicon.ico create mode 100644 public/robots.txt create mode 100644 test/application_system_test_case.rb create mode 100644 test/controllers/.keep create mode 100644 test/controllers/tasks_controller_test.rb create mode 100644 test/fixtures/.keep create mode 100644 test/fixtures/files/.keep create mode 100644 test/fixtures/tasks.yml 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/models/task_test.rb create mode 100644 test/system/.keep create mode 100644 test/test_helper.rb create mode 100644 vendor/.keep diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9eef6993c627745f73333496310ed45ca104afc5 GIT binary patch literal 6148 zcmeH~K?=e^3`G;|qTr@Wm$UHz-e3?tK`-D!5J4*_x}Kx^lL>;=wTS#c@+X-IrEk$` zL_}A&-BP3zkrr+$3kxGt4X|{^>yQ5dhkt?1r_^63}D?Xbvq^QGsbp4;roN zV~Ewg9h%}?4lPw{yJ!p_8c$Z6VqjX^MH3R3W)}t$Ab}BqY0W#k|2ObY^Z%%YDG89k zpApbz-LF@8skmF;UeD^=sM@-~p?)0U_8}^eepgFWuMFqwm0mr~V0$(NY E0F`GF!vFvP literal 0 HcmV?d00001 diff --git a/.ruby-gemset b/.ruby-gemset deleted file mode 100644 index 5d2410e51..000000000 --- a/.ruby-gemset +++ /dev/null @@ -1 +0,0 @@ -TaskListRails 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..98977da37 --- /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.15.4 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/javascripts/tasks.coffee b/app/assets/javascripts/tasks.coffee new file mode 100644 index 000000000..24f83d18b --- /dev/null +++ b/app/assets/javascripts/tasks.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 000000000..d05ea0f51 --- /dev/null +++ b/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's + * vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss new file mode 100644 index 000000000..0b80dd0f6 --- /dev/null +++ b/app/assets/stylesheets/tasks.scss @@ -0,0 +1,53 @@ +// Place all the styles related to the Tasks controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ + +body { + margin: 0; +} + +div { + width: 80%; + margin: 0 auto; +} + +ul { + float: left; + clear: right; + margin-top: 2%; +} + + + +ul il { + border: 3px solid orange; + display: inline-block; + border-radius: 10px; + margin-bottom: 10%; + padding: 4%; + text-align: center; +} + +// h3 { +// font-weight: bold; +// } + +#list { + float:right; + // clear: left; + border: 3px solid orange; + border-radius: 17px; + padding: 5%; + margin-right: 20%; + margin-bottom: 5%; + margin-top: 2%; +} + +footer { + clear: both; + margin-top: 10px; + border-top: 2px solid green; + border-width: 100%; + width: 100%; + text-align: center; +} 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..26a66234b --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,24 @@ +class TasksController < ApplicationController + def index + @tasks = Task.all + # { + # title: "Run", + # description: "Runs 2 miles close to the river ", + # duedate: "Wensday", + # complete: "no" + # }, + # { + # title: "Grocery", + # description: "To buy the food for the week", + # duedate: "Monday", + # complete: "no" + # }, + # { + # title: "Homework", + # description: "Make my personal web site", + # duedate: "Monday", + # complete: "yes" + # } + + end +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 000000000..de6be7945 --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb new file mode 100644 index 000000000..ce894d00c --- /dev/null +++ b/app/helpers/tasks_helper.rb @@ -0,0 +1,2 @@ +module TasksHelper +end diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb new file mode 100644 index 000000000..a009ace51 --- /dev/null +++ b/app/jobs/application_job.rb @@ -0,0 +1,2 @@ +class ApplicationJob < ActiveJob::Base +end diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb new file mode 100644 index 000000000..286b2239d --- /dev/null +++ b/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: 'from@example.com' + layout 'mailer' +end diff --git a/app/models/application_record.rb b/app/models/application_record.rb new file mode 100644 index 000000000..10a4cba84 --- /dev/null +++ b/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/app/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/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/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb new file mode 100644 index 000000000..05cfde9d7 --- /dev/null +++ b/app/views/tasks/index.html.erb @@ -0,0 +1,49 @@ + +
+
+

+ TASK LIST +

+
    + + Add Task + + + All Task + +
+
+ +
+

YOUR TASKS

+
    + <% @tasks.each do |task| %> +
  1. +

    + <%= task[:title] %> +

    +

    + <%= task[:description] %> +

    + +

    + Due: <%= task[:duedate] %>. +

    + +

    + Status: <%= task[:complete]%> +

    +
  2. + <% end %> +
+
+
+ + +
+

+ © 2017 +

+
+ + 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..8481c778f --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,6 @@ +Rails.application.routes.draw do + + + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + get "/tasks", to: "tasks#index" +end diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 000000000..6024a4c48 --- /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: 25843f40af212925611b8aec9b4ecdae07b794b41ff5f49f0187f1eaabc2548945e117f050a6333d8561def4a52c1932191157ce1f0db0b40cd8d11a37336011 + +test: + secret_key_base: ffc72edb9fd7af2e45be6e1f9af6ab5f3b3a99ecb5943dfb38c2972cb7013cfc936f2ec96e5be629e0a939b03fc957eeb3b9712d9d7e9db703e7db027cc3a9eb + +# 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/development.sqlite3 b/db/development.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..f0512d9767d89203b2f545542729550b178d53b3 GIT binary patch literal 28672 zcmeI*O-~v@7zglKkfk=kwdr9GJ#>ULmG}mW#9|MXHpGx3T8anL!)AoBZrm5#oh5qI z@6xlUev5vVCN?qYv9q8Q6i!W}G5-m(%*@WfJimp*Fa$n-s#${51J8Gupan8Z6oqV1 zN(fP9PRe|f;<7MxQ<3+|PiD)lCIlnoN18+4WJU z8umTU=FH8W)#FLMSX9p6_2$Za({cs(U1pmO7fg<0EgWz^UY?S2A`N*To{b2YK4Z<2W$(CcPzPmCh zggXyx=I=B`YxyV9TP-ECqWvWDh6Di!KmY;|fB*y_009U<00Izzz@reDRbp8qmtV`3 z@+Bi*EEL{6m2qMH|0pglf`9-7AOHafKmY;|fB*y_009VG3p|Twr$^WS{r&$7qFn$9 z0uX=z1Rwwb2tWV=5P$##AOL{}BCxF_GMRFjyIsroT!*`&&AZ(8I#DrN*)QcvOZgHt zjP=#r`f71`Enh0G8k5iT_x~@6cKJXe#55oP0SG_<0uX=z1Rwwb2tWV=5cqe2nRsS; z=;MQE|39XEBiavnK!N}SAOHafKmY;|fB*y_009U<;Qj<&#Z>a*^_;fpdoAvtHa)r@ zp3(z9v_$ZCYhM_ON}gBev_|O4E`I1zgF2S{%}UCAFLc{f9CB*2BYrc+C>->^|9?fa otNRNN&kO+wKmY;|fB*y_009U<00Izzz<&^!R^qzS`*VrdAG51RB>(^b literal 0 HcmV?d00001 diff --git a/db/migrate/20170919215338_create_tasks.rb b/db/migrate/20170919215338_create_tasks.rb new file mode 100644 index 000000000..c2e072020 --- /dev/null +++ b/db/migrate/20170919215338_create_tasks.rb @@ -0,0 +1,10 @@ +class CreateTasks < ActiveRecord::Migration[5.1] + def change + create_table :tasks do |t| + t.string :title + t.string :description + t.date :duedate + t.boolean :complete + end + end +end diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 000000000..933c219bc --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,22 @@ +# 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: 20170919215338) do + + create_table "tasks", force: :cascade do |t| + t.string "title" + t.string "description" + t.date "duedate" + t.boolean "complete" + end + +end diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 000000000..1beea2acc --- /dev/null +++ b/db/seeds.rb @@ -0,0 +1,7 @@ +# This file should contain all the record creation needed to seed the database with its default values. +# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). +# +# Examples: +# +# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) +# Character.create(name: 'Luke', movie: movies.first) diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/log/.keep b/log/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/log/development.log b/log/development.log new file mode 100644 index 000000000..d2d56eadc --- /dev/null +++ b/log/development.log @@ -0,0 +1,1476 @@ +Started GET "/task" for 127.0.0.1 at 2017-09-18 15:29:49 -0700 + +ActionController::RoutingError (No route matches [GET] "/task"): + +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 "/task" for 127.0.0.1 at 2017-09-18 15:35:33 -0700 + +AbstractController::ActionNotFound (The action 'index' could not be found for TaskController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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 "/task/index" for 127.0.0.1 at 2017-09-18 15:37:42 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/index"): + +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 "/task" for 127.0.0.1 at 2017-09-18 15:38:18 -0700 + +AbstractController::ActionNotFound (The action 'index' could not be found for TaskController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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 "/books" for 127.0.0.1 at 2017-09-18 15:38:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/books"): + +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 "/task" for 127.0.0.1 at 2017-09-18 15:38:53 -0700 + +AbstractController::ActionNotFound (The action 'index' could not be found for TaskController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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 "/books" for 127.0.0.1 at 2017-09-18 15:44:30 -0700 + +ActionController::RoutingError (No route matches [GET] "/books"): + +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-18 15:44:39 -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/index" for 127.0.0.1 at 2017-09-18 15:45: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.4ms) +Completed 200 OK in 839ms (Views: 528.5ms) + + +Started GET "/tasks/index" for 127.0.0.1 at 2017-09-18 16:06:29 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/index"): + +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/index" for 127.0.0.1 at 2017-09-18 16:08:11 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/index"): + +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/index" for 127.0.0.1 at 2017-09-18 16:08:12 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/index"): + +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/index" for 127.0.0.1 at 2017-09-18 16:08:12 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/index"): + +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-18 16:08:17 -0700 + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' + title: "run"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end + duedate: "Wensday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' + title: "Grocery"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' + title: "Homework"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end + complete: True + ^): + +app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:09:40 -0700 + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' + title: "run"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end + duedate: "Wensday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' + title: "Grocery"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' + title: "Homework"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end + complete: True + ^): + +app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:09:43 -0700 + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' + title: "run"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end + duedate: "Wensday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' + title: "Grocery"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end + complete: False + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' + title: "Homework"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end + duedate: "Monday"; + ^ +/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end + complete: True + ^): + +app/controllers/tasks_controller.rb:5: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:7: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:8: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:11: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:13: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:14: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:17: syntax error, unexpected ';', expecting '}' +app/controllers/tasks_controller.rb:19: syntax error, unexpected ':', expecting keyword_end +app/controllers/tasks_controller.rb:20: syntax error, unexpected ':', expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:10:43 -0700 +Processing by TasksController#index as HTML +Completed 500 Internal Server Error in 2ms + + + +NameError (uninitialized constant TasksController::False): + +app/controllers/tasks_controller.rb:8:in `index' +Started GET "/tasks" for 127.0.0.1 at 2017-09-18 16:11:35 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (226.5ms) +Completed 500 Internal Server Error in 236ms + + + +ActionView::Template::Error (undefined local variable or method `tasks' for #<#:0x007f912cb76168> +Did you mean? task + @tasks): + 2: +
+
+

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/controllers/tasks_controller_test.rb b/test/controllers/tasks_controller_test.rb new file mode 100644 index 000000000..67683c951 --- /dev/null +++ b/test/controllers/tasks_controller_test.rb @@ -0,0 +1,9 @@ +require 'test_helper' + +class TasksControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get tasks_index_url + assert_response :success + end + +end diff --git a/test/fixtures/.keep b/test/fixtures/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml new file mode 100644 index 000000000..cee81a9b0 --- /dev/null +++ b/test/fixtures/tasks.yml @@ -0,0 +1,9 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + title: MyString + title: MyString + +two: + title: MyString + title: MyString diff --git a/test/helpers/.keep b/test/helpers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/integration/.keep b/test/integration/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/mailers/.keep b/test/mailers/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/models/.keep b/test/models/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/test/models/task_test.rb b/test/models/task_test.rb new file mode 100644 index 000000000..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 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 34e602844125d4c762e146305275e5b2bbceeecd Mon Sep 17 00:00:00 2001 From: Mariana Date: Thu, 21 Sep 2017 15:35:35 -0700 Subject: [PATCH 2/5] wave 2 --- app/assets/stylesheets/tasks.scss | 4 +- app/controllers/tasks_controller.rb | 29 +- app/views/layouts/application.html.erb | 1 + app/views/tasks/index.html.erb | 16 +- app/views/tasks/new.html.erb | 12 + app/views/tasks/show.html.erb | 3 + config/routes.rb | 9 +- log/development.log | 671 +++++++++++++++++++++++++ 8 files changed, 714 insertions(+), 31 deletions(-) create mode 100644 app/views/tasks/new.html.erb create mode 100644 app/views/tasks/show.html.erb diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss index 0b80dd0f6..3fc642144 100644 --- a/app/assets/stylesheets/tasks.scss +++ b/app/assets/stylesheets/tasks.scss @@ -13,7 +13,7 @@ div { ul { float: left; - clear: right; + clear: left; margin-top: 2%; } @@ -34,7 +34,7 @@ ul il { #list { float:right; - // clear: left; + clear: right; border: 3px solid orange; border-radius: 17px; padding: 5%; diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb index 26a66234b..219f6abe2 100644 --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -1,24 +1,15 @@ class TasksController < ApplicationController def index @tasks = Task.all - # { - # title: "Run", - # description: "Runs 2 miles close to the river ", - # duedate: "Wensday", - # complete: "no" - # }, - # { - # title: "Grocery", - # description: "To buy the food for the week", - # duedate: "Monday", - # complete: "no" - # }, - # { - # title: "Homework", - # description: "Make my personal web site", - # duedate: "Monday", - # complete: "yes" - # } - + end + + def show + @task = Task.find(params[:id]) + end + + def create #Has access to user data, from the form + task = Took.new(title: params[:title], description: params[:description], duedate: params[:duedate], complete: params[:complete]) + task.save + redirect_to('/tasks') end end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index be7a9f069..a6c314cdf 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,4 +11,5 @@ <%= yield %> + diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 05cfde9d7..f8fbad2d5 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,4 +1,4 @@ - +

@@ -6,7 +6,7 @@

    - Add Task + <%= link_to "Add Task", new_task_path %> All Task @@ -16,13 +16,13 @@

    YOUR TASKS

    -
      +
        <% @tasks.each do |task| %>
      • - <%= task[:title] %> + <%= link_to task.title, task_path(task.id) %>

        -

        +

      • <% end %> -
    +
@@ -45,5 +45,3 @@ © 2017

- - diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb new file mode 100644 index 000000000..0254fce49 --- /dev/null +++ b/app/views/tasks/new.html.erb @@ -0,0 +1,12 @@ +<%= form_for @task do |t| %> + + <%= t.label :title %> + <%= t.text_field :title %> + <%= t.label :description %> + <%= t.text_field :description %> + <%= t.label :duedate %> + <%= t.date_field :duedate %> + <%= t.label :complete %> + <%= t.boolean_field :complete %> + <%=> t.submit %> +<% end %> diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb new file mode 100644 index 000000000..780660787 --- /dev/null +++ b/app/views/tasks/show.html.erb @@ -0,0 +1,3 @@ +

+ <%= @task.title %> +

diff --git a/config/routes.rb b/config/routes.rb index 8481c778f..9f3f93da0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,5 +2,12 @@ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html - get "/tasks", to: "tasks#index" + get "/tasks", to: "tasks#index", as: 'tasks' + get '/tasks/new', to: 'tasks#new', as: 'new_task' + post '/tasks', to: 'tasks#create' + get '/tasks/:id', to: 'tasks#show', as: 'task' + get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' + put '/tasks/:id', to: 'tasks#update' + delete '/tasks/:id', to: 'tasks#destroy' + post '/tasks/:id/checkout', to: 'tasks#checkout', as: 'checkout_task' end diff --git a/log/development.log b/log/development.log index d2d56eadc..2942e74cd 100644 --- a/log/development.log +++ b/log/development.log @@ -1474,3 +1474,674 @@ Processing by TasksController#index as HTML Completed 200 OK in 50ms (Views: 47.4ms | ActiveRecord: 0.2ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:27:11 -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 80ms (Views: 75.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:27: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 (1.7ms) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:27:36 -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 (7.4ms) +Completed 200 OK in 54ms (Views: 50.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-19 17:27: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 (2.9ms) +Completed 200 OK in 50ms (Views: 47.5ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 17:34:13 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.3ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (33.9ms) +Completed 200 OK in 165ms (Views: 150.3ms | ActiveRecord: 2.7ms) + + +Started GET "/tasks/views" for 127.0.0.1 at 2017-09-20 17:34:18 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/views"): + +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/show" for 127.0.0.1 at 2017-09-20 17:34:26 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/show"): + +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/show" for 127.0.0.1 at 2017-09-20 18:08:14 -0700 + +ActionController::RoutingError (No route matches [GET] "/tasks/show"): + +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 18:08:18 -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 (385.8ms) +Completed 500 Internal Server Error in 402ms (ActiveRecord: 1.7ms) + + + +ActionView::Template::Error (undefined local variable or method `link' for #<#:0x007f912ca40e10> +Did you mean? link_to): + 20: <% @tasks.each do |task| %> + 21:
  • + 22:

    + 23: <%= link.to task.title task_path(task.id) %> + 24:

    + 25: + 3: sdlasd + 4: + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130735168020' +Started GET "/tasks/index" for 127.0.0.1 at 2017-09-20 18:39:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"index"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.8ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: + 3: sdlasd + 4:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130733227320' +Started GET "/tasks/show" for 127.0.0.1 at 2017-09-20 18:39:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"show"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (4.1ms) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: + 3: sdlasd + 4:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130749240340' +Started GET "/tasks/show" for 127.0.0.1 at 2017-09-20 18:51:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"show"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.8ms) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: <%= @tasks.title %> + 3:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130747319540' +Started GET "/tasks/show" for 127.0.0.1 at 2017-09-20 18:51:22 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"show"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.7ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: <%= @tasks.title %> + 3:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130749090440' +Started GET "/tasks/show" for 127.0.0.1 at 2017-09-20 18:54:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"show"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (3.8ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: <%= @tasks.title %> + 3:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2319152299562489200_70130738117980' +Started GET "/tasks" for 127.0.0.1 at 2017-09-20 19:18: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 (11.9ms) +Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.9ms) + + + +ActionView::Template::Error (undefined method `show' for #): + 20: <% @tasks.each do |task| %> + 21:
  • + 22:

    + 23: <%= link_to task.show task_path(task.id) %> + 24:

    + 25: -
  • - <% end %> + <%if task.complete %> + <%= link_to "No he terminado", mark_task_path(task.id, {:task => {:complete => false}}), method: :patch %> + <% else %> + <%= link_to "Finalizar Tarea", mark_task_path(task.id, {:task => {:complete => true}}), method: :patch %> + <% end %> + +<% end %> diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb index 0254fce49..9c2ae7b0a 100644 --- a/app/views/tasks/new.html.erb +++ b/app/views/tasks/new.html.erb @@ -1,12 +1,52 @@ +
    +
    +

    + ¿Qué tengo que hacer? +

    +
      + + <%= link_to "Añadir Tarea", new_task_path %> + + + <%= link_to "Todas las tareas", tasks_path %> + +
    +
    + +
    +

    Añaniendo Tarea

    +
      <%= form_for @task do |t| %> - <%= t.label :title %> +
    • + <%= t.label "Actividad" %> <%= t.text_field :title %> - <%= t.label :description %> +
    • +
    • + <%= t.label "Descripción" %> <%= t.text_field :description %> - <%= t.label :duedate %> +
    • +
    • + <%= t.label "Fecha" %> <%= t.date_field :duedate %> - <%= t.label :complete %> - <%= t.boolean_field :complete %> - <%=> t.submit %> +
    • + + + <%= t.submit "Crear Tarea"%> + +
    + + + <% end %> + +
    + +
    + + +
    +

    + © 2017 +

    +
    diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index 780660787..e4adc81f9 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -1,3 +1,52 @@ -

    +
    +
    +

    + ¿Qué tengo que hacer? +

    +
      + + <%= link_to "Añadir Tarea", new_task_path %> + + + <%= link_to "Todas las tareas", tasks_path %> + +
    +
    + +
    +

    <%= @task.title %> -

    +

    + + + +
      +
    • + <%= @task.description %> +
    • +
    • + <%= @task.duedate %> +
    • + + +
    +
    + <%= link_to( "Modificar", edit_task_path(@task.id)) %> +
    + + + + + + + + + + + + +
    +

    + © 2017 +

    +
    diff --git a/config/routes.rb b/config/routes.rb index 9f3f93da0..f9ba1da3d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,7 +7,8 @@ post '/tasks', to: 'tasks#create' get '/tasks/:id', to: 'tasks#show', as: 'task' get '/tasks/:id/edit', to: 'tasks#edit', as: 'edit_task' - put '/tasks/:id', to: 'tasks#update' + patch '/tasks/:id', to: 'tasks#update' delete '/tasks/:id', to: 'tasks#destroy' post '/tasks/:id/checkout', to: 'tasks#checkout', as: 'checkout_task' + patch '/tasks/:id/mark', to: 'tasks#mark', as:'mark_task' end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index f0512d9767d89203b2f545542729550b178d53b3..05b289b73547a63f9a0eecd171e1d2d80355b56f 100644 GIT binary patch delta 474 zcmZp8z}WDBae_3X!$cWpNe2c!RtH|bUkq%#$_)G={7ihdeA{`IdB1EH6j;r}+~~(T zS%uGpk!^A$-z*^ch0l$dy@GkNEx#Tk%j6t>FCe*{-+`Nzfq{Voh#3NyCadylGBQv0 z=hcv4WEU3~XKXSoNleN~ElDiSE(Q}!llyrm3Gwn9GqCV;v+>9C-{4=(&&|&bwDKok zy&4-EgS4h1zhiP@Zb4#^XOTimssf0enU}6$WMF8nYhbBsWRk|;$)KaHsL1b=lbD-W zq>!lKo|uzTndn@aTac5Qn3rD+S8JT6!OX^>s;tN#keCisnv>e;SaG1T*-rF$e$|>_9WXd{tI921%d;of3+e8^>Nj3&ORtH}G9}H}~$_)J0{9E}H`9ATM@+xmu6j;r}6u>r_ zgQch|~VsUmcm|&Zn$3Ka=(T{nu8m|c>%j9U@S*$E< z;?bs)_wq?h7UI)lX02eHY|p31$TT^R&kIQIRMSl09 z{N&W4%8-18q|!=-w4&0?l468eB}R;F48op@{6VF8KqW<`c?w1fxtTes#R`c<`K5U& Z3MCn-3OR|{sW3f8#%Y@r{_`_30RS?gOw|AY diff --git a/db/test.sqlite3 b/db/test.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..101ae324a7a5861c1ebc35c94680caef739a4a2c GIT binary patch literal 28672 zcmeI%J#X4T7zc2h*QOGXP9A$QORT(M5Ne22HEv}^Q3**Y8KMr>1z#E~ej)aO(lPl$ z8T+j&Me5Y4cR(l7rQfL)*4GHtAUJn>NuG4bjPl ze$Bq=WI*HY6^%*jq(fR~%_cc*A01ombMnzX-y-^e`h7MTB?8@;QO;b4a-E3ZXWR?e zWU}b*_hfWQzj2t$XTU#0CZ@dN5gYx(TzIhqG8ERhBH1*ybUX#=0IvE~PGxPOf zOy=ylIyq`}>_fXfoh7l(IwwahG3nTDiNY8chj_l+c&kSUB+FC=6K0T{d8T)RRrQvfr*W zwyRZQHufux{d#4mW>(DV-twN&`~OF!^!Q9N#BD$T0uX=z1Rwwb2tWV=5P$##An@-3 L#dLXX>hFW!97ram literal 0 HcmV?d00001 diff --git a/log/development.log b/log/development.log index 2942e74cd..09d147efd 100644 --- a/log/development.log +++ b/log/development.log @@ -2145,3 +2145,5207 @@ Processing by TasksController#show as HTML Completed 200 OK in 38ms (Views: 20.2ms | ActiveRecord: 0.2ms) +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 15:57:08 -0700 +  (1.7ms) 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 + Task Load (1.5ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (13.7ms) +Completed 200 OK in 305ms (Views: 273.6ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 15:57:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.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 (0.6ms) +Completed 200 OK in 50ms (Views: 18.7ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 15:57: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 (0.8ms) +Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:03: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]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:10:35 -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.5ms) +Completed 200 OK in 25ms (Views: 20.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 16:10:38 -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.2ms) +Completed 200 OK in 47ms (Views: 42.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 16:10: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 (2.8ms) +Completed 200 OK in 38ms (Views: 34.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:10:43 -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.6ms) +Completed 200 OK in 41ms (Views: 33.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:10:47 -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 31ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:10:50 -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.5ms) +Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:10:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (5.3ms) +Completed 500 Internal Server Error in 11ms + + + +ActionView::Template::Error (undefined method `title' for nil:NilClass): + 1:

    + 2: <%= @task.title %> + 3:

    + +app/views/tasks/show.html.erb:2:in `_app_views_tasks_show_html_erb___2333272162973701330_70106535171100' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:11:24 -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.4ms) +Completed 200 OK in 27ms (Views: 14.3ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:19:43 -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 13ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/show.html.erb:6: syntax error, unexpected ',', expecting ')' +ffer.append=( link_to ("Edit", edit_task_path(task.id));@out + ^): + +app/views/tasks/show.html.erb:6: syntax error, unexpected ',', expecting ')' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:20:19 -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 13ms (ActiveRecord: 0.2ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/show.html.erb:6: syntax error, unexpected ',', expecting ')' +ffer.append=( link_to ("Edit", edit_task_path(task.id)));@ou + ^ +/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/show.html.erb:6: syntax error, unexpected ')', expecting keyword_end +it", edit_task_path(task.id)));@output_buffer.safe_append=' + ^): + +app/views/tasks/show.html.erb:6: syntax error, unexpected ',', expecting ')' +app/views/tasks/show.html.erb:6: syntax error, unexpected ')', expecting keyword_end +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:20:52 -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 (237.8ms) +Completed 500 Internal Server Error in 250ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007f85e7909060> +Did you mean? @task): + 3: + 4: + 5:
    + 6: <%= link_to( "Edit", edit_task_path(task.id)) %> + 7:
    + +app/views/tasks/show.html.erb:6:in `_app_views_tasks_show_html_erb___2333272162973701330_70106546195740' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:21:58 -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 31ms (Views: 27.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 16:22:00 -0700 + +AbstractController::ActionNotFound (The action 'edit' could not be found for TasksController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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-21 16:22:13 -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.0ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 16:22:19 -0700 + +AbstractController::ActionNotFound (The action 'edit' could not be found for TasksController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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/edit" for 127.0.0.1 at 2017-09-21 16:24:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:25:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (1.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.2ms) +Completed 200 OK in 29ms (Views: 23.5ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 16:25:08 -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 34ms (Views: 27.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:25:10 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/new.html.erb:11: syntax error, unexpected '>' +reeze;@output_buffer.append=(> t.submit );@output_buffer.saf + ^): + +app/views/tasks/new.html.erb:11: syntax error, unexpected '>' +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 16:25: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.7ms) +Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:25:24 -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 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/new.html.erb:11: syntax error, unexpected '>' +reeze;@output_buffer.append=(> t.submit );@output_buffer.saf + ^): + +app/views/tasks/new.html.erb:11: syntax error, unexpected '>' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:26: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.1ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%= form_for @task do |t| %> + 2: + 3: <%= t.label :title %> + 4: <%= t.text_field :title %> + +app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___1042352612029894779_70106546307080' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:29:01 -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 500 Internal Server Error in 10ms + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%= form_for @task do |t| %> + 2: + 3: <%= t.label :title %> + 4: <%= t.text_field :title %> + +app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___1042352612029894779_70106499407360' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:30:51 -0700 +Processing by TasksController#new as HTML +  (0.1ms) begin transaction + SQL (2.7ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.6ms) commit transaction + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (159.6ms) +Completed 500 Internal Server Error in 182ms (ActiveRecord: 5.2ms) + + + +ActionView::Template::Error (undefined method `boolean_field' for #): + 7: <%= t.label :duedate %> + 8: <%= t.date_field :duedate %> + 9: <%= t.label :complete %> + 10: <%= t.boolean_field :complete %> + 11: <%= t.submit %> + 12: <% end %> + +app/views/tasks/new.html.erb:10:in `block in _app_views_tasks_new_html_erb___1042352612029894779_70106543646240' +app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___1042352612029894779_70106543646240' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:33:01 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (126.2ms) +Completed 500 Internal Server Error in 146ms (ActiveRecord: 1.3ms) + + + +ActionView::Template::Error (undefined method `boolean_field' for #): + 7: <%= t.label :duedate %> + 8: <%= t.date_field :duedate %> + 9: <%= t.label :complete %> + 10: <%= t.boolean_field :complete %> + 11: <%= t.submit %> + 12: <% end %> + +app/views/tasks/new.html.erb:10:in `block in _app_views_tasks_new_html_erb___1042352612029894779_70106546995580' +app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___1042352612029894779_70106546995580' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:33:04 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (110.2ms) +Completed 500 Internal Server Error in 117ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `boolean_field' for #): + 7: <%= t.label :duedate %> + 8: <%= t.date_field :duedate %> + 9: <%= t.label :complete %> + 10: <%= t.boolean_field :complete %> + 11: <%= t.submit %> + 12: <% end %> + +app/views/tasks/new.html.erb:10:in `block in _app_views_tasks_new_html_erb___1042352612029894779_70106543009580' +app/views/tasks/new.html.erb:1:in `_app_views_tasks_new_html_erb___1042352612029894779_70106543009580' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:37: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.7ms) +Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 16:39:08 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (10.5ms) +Completed 200 OK in 36ms (Views: 32.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 16:41: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.3ms) +Completed 200 OK in 34ms (Views: 28.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:41:31 -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.5ms) +Completed 200 OK in 31ms (Views: 24.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 16:54:14 -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.9ms) +Completed 200 OK in 30ms (Views: 17.1ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:08: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 (2.5ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 1: <%= form_for @task do |t| %> + 2: + 3: <%= t.label :title %> + 4: <%= t.text_field :title %> + +app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb___2642665130404684792_70106545594780' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:20:18 -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 (3.0ms) +Completed 200 OK in 53ms (Views: 38.8ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:23:21 -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 (4.1ms) +Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:23:58 -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 (2.4ms) +Completed 200 OK in 23ms (Views: 18.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:24:00 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1"): + +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 PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:25:19 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1"): + +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 PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:25:43 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1"): + +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/1" for 127.0.0.1 at 2017-09-21 17:28:42 -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 58ms (Views: 38.7ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:28:46 -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 (6.7ms) +Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:30:02 -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.8ms) +Completed 200 OK in 32ms (Views: 28.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:30:06 -0700 +Processing by TasksController#show as HTML + 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 (2.1ms) +Completed 200 OK in 29ms (Views: 23.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-21 17:30:17 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.0ms) +Completed 200 OK in 30ms (Views: 23.6ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-21 17:30:40 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/2"): + +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 PATCH "/tasks/2" for 127.0.0.1 at 2017-09-21 17:31:15 -0700 + +AbstractController::ActionNotFound (The action 'update' could not be found for TasksController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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:38: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 PATCH "/tasks/2" for 127.0.0.1 at 2017-09-21 17:34:27 -0700 + +AbstractController::ActionNotFound (The action 'update' could not be found for TasksController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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:38: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 PATCH "/tasks/2" for 127.0.0.1 at 2017-09-21 17:41:54 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"+7uknAeB3oHJkTD/56ghsnEkek01vxESFOC7KWP85fY8MEEr4hPvSSR1w/GE4X+N5VxTYf2vytxFemBngx6+oQ==", "task"=>{"title"=>"Grocery", "description"=>"To buy fruits", "duedate"=>"2017-09-19", "complete"=>"1"}, "commit"=>"Update Task", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", nil], ["id", 1]] +  (1.6ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", nil], ["id", 2]] +  (1.7ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 85ms (ActiveRecord: 5.4ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-21 17:42:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.0ms) +Completed 200 OK in 31ms (Views: 27.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-21 17:42:21 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.3ms) +Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:42:23 -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.9ms) +Completed 200 OK in 29ms (Views: 23.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:42:25 -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.4ms) +Completed 200 OK in 38ms (Views: 35.3ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:42:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (1.9ms) 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 30ms (Views: 24.4ms | ActiveRecord: 1.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:42:39 -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.7ms) +Completed 200 OK in 29ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 17:42:55 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.0ms) +Completed 200 OK in 37ms (Views: 32.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 17:43:12 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"xtQ25kAY/NdwnKHbcwN0/Wv0evpbBVmgUDocdQBGOyAPOzvAxOZ0/gwEe89G+7uwkIsl4KM78Bf7XRYoMBAJ8g==", "task"=>{"title"=>"ru", "description"=>"bla bla", "duedate"=>"2017-09-12", "complete"=>"1"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:43: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 (1.9ms) +Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:43:23 -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.8ms) +Completed 200 OK in 30ms (Views: 22.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:44: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 (0.7ms) +Completed 200 OK in 37ms (Views: 15.7ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:44: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 (3.3ms) +Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 17:44:18 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 33ms (Views: 27.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 17:44:26 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"gwvsueP+Su5zsvm9vHJg+ocIaadyoG5quwLZBCebQCdK5OGfZwDCxw8qI6mJiq+3fHc2vYqex90QZdNZF81y9Q==", "task"=>{"title"=>"hols", "description"=>"adsse", "duedate"=>"2017-09-05", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:44:26 -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 20ms (Views: 17.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for 127.0.0.1 at 2017-09-21 17:45:23 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 29ms (Views: 23.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:45:26 -0700 +Processing by TasksController#show as HTML + 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 28ms (Views: 21.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:45:28 -0700 +Processing by TasksController#show as HTML + 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 34ms (Views: 27.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:45:30 -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.2ms) +Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:45:32 -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.3ms) +Completed 200 OK in 30ms (Views: 25.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:45:35 -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 (4.1ms) +Completed 200 OK in 29ms (Views: 22.7ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:45:40 -0700 + +AbstractController::ActionNotFound (The action 'update' could not be found for TasksController): + +actionpack (5.1.4) lib/abstract_controller/base.rb:119: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:38: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/edit" for 127.0.0.1 at 2017-09-21 17:48:14 -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 (11.2ms) +Completed 200 OK in 53ms (Views: 35.5ms | ActiveRecord: 1.4ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:48:20 -0700 + +ActionController::RoutingError (No route matches [PATCH] "/tasks/1"): + +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/1" for 127.0.0.1 at 2017-09-21 17:48:30 -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.5ms) +Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:48:30 -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 (6.9ms) +Completed 200 OK in 52ms (Views: 43.8ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:48: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 (3.0ms) +Completed 200 OK in 31ms (Views: 27.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:48:35 -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.1ms) +Completed 200 OK in 46ms (Views: 38.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-21 17:48:38 -0700 +Processing by TasksController#show as HTML + 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.1ms) +Completed 200 OK in 41ms (Views: 33.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-21 17:48:39 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 41ms (Views: 35.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/4" for 127.0.0.1 at 2017-09-21 17:48:41 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 44ms (Views: 34.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for 127.0.0.1 at 2017-09-21 17:48:42 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 40ms (Views: 35.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:50:27 -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 (9.4ms) +Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:50:28 -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 (1.3ms) +Completed 200 OK in 49ms (Views: 36.9ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:50:30 -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 (7.5ms) +Completed 200 OK in 54ms (Views: 48.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:50:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"FMtrkeDAmFIGoIxaYoEqyrzDyry3h1+4bWIqIYnkJcDrrobzbkGyIM2yB/lzCxyKzIaXJ4KmUdENTGyW0/3AdA==", "task"=>{"title"=>"zxc", "description"=>"ccc", "duedate"=>"2017-08-29", "complete"=>"1"}, "commit"=>"Update Task", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 77ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:50:46 -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 (2.6ms) +Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:50: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 (4.0ms) +Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-21 17:50:58 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"fEK162b+tVmuMBA285+kr1ley8DMSXo53qIXaGX0Oa67yVBcg2yEkUPU4ziQ1vqQzSbi7ARZofePOMwmhRZi+Q==", "task"=>{"title"=>"xcsd", "description"=>"sssss", "duedate"=>"2017-09-28", "complete"=>"0"}, "commit"=>"Update Task", "id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 78ms (ActiveRecord: 1.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:57:09 -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 (2.6ms) +Completed 200 OK in 43ms (Views: 39.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-21 17:59:46 -0700 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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 (41.8ms) +Completed 200 OK in 294ms (Views: 263.8ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 17:59:48 -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 52ms (Views: 44.4ms | ActiveRecord: 0.8ms) + + +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 (3.3ms) +Completed 200 OK in 38ms (Views: 34.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 17:59:51 -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 34ms (Views: 30.0ms | ActiveRecord: 0.3ms) + + +  (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.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.5ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "duedate" date, "complete" boolean) +  (2.1ms) 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 +  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (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) + 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.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 01:05:38.536966"], ["updated_at", "2017-09-22 01:05:38.536966"]] +  (2.3ms) 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.2ms) 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, "duedate" date, "complete" boolean) +  (2.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.9ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (3.1ms) 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.4ms) 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-22 01:05:38.567738"], ["updated_at", "2017-09-22 01:05:38.567738"]] +  (1.6ms) 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) 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 + 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) 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 18:06:01 -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 47ms (Views: 35.9ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:06:15 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 50ms (Views: 32.5ms | ActiveRecord: 0.7ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:06:27 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qcxaej6klxQvo2aTk5yLNdXAk6/A7YB/HuJ4jrYDAN5gI1dculofPVM7vIemZER4Lr/MtTjTKci1hXLThlUyDA==", "task"=>{"title"=>"eat", "description"=>"eat food", "duedate"=>"2017-09-22", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:06:27 -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: 25.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 18:06:32 -0700 +Processing by TasksController#show as HTML + 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.8ms) +Completed 200 OK in 28ms (Views: 21.8ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 18:12:41 -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 27ms (Views: 14.7ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:12: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.6ms) +Completed 200 OK in 39ms (Views: 33.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:12:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.8ms) +Completed 200 OK in 31ms (Views: 25.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:12:54 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"6A74dT2q9rxrEYnpPg/Jw/YwXsMA4IyFBqXHJRHdhs8h4fVTuVR+lReJU/0L9waODU8B2fjeJTKtws14IYu0HQ==", "task"=>{"title"=>"asffggg", "description"=>"jijijij", "duedate"=>"2017-09-28", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" DEFAULT VALUES +  (2.1ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:12:54 -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 21ms (Views: 18.2ms | ActiveRecord: 0.2ms) + + + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:17:16 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 31ms (Views: 26.2ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:17:23 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"l68AbgTZi0sUNF1DLe5ceSkzAN2V91DeK64iIH49nMxeQA1IgCcDYmish1cYFpM00kxfx23J+WmAySh9TmuuHg==", "task"=>{"title"=>"asasa", "description"=>"aaaa", "duedate"=>"2017-09-27", "complete"=>"1"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:17:23 -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 19ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:17:50 -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 (7.9ms) +Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 18:17:51 -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.0ms) +Completed 200 OK in 28ms (Views: 21.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:17:54 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.0ms) +Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:18:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"SndKYRFYHFOJD/gZzkDLHjmBei2hWJv1xE7zVAdCy2mDmEdHlaaUevWXIg37uARTwv4lN1lmMkJvKfkJNxT5uw==", "task"=>{"title"=>"un", "description"=>"1", "duedate"=>"2017-09-27", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:18:04 -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 22ms (Views: 19.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/4" for 127.0.0.1 at 2017-09-21 18:18:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 35ms (Views: 29.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:18:53 -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 (8.7ms) +Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-21 18:18:54 -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 28ms (Views: 22.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:18: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.8ms) +Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:19:08 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"RHlHOD5B2zZTZqh1TBLPEKXAHeHPKK3QrBmFzrjL0AiNlkoeur9THy/+cmF56gBdXr9C+zcWBGcHfo+TiJ3i2g==", "task"=>{"title"=>"try", "description"=>"try again", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:19: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 (1.8ms) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for 127.0.0.1 at 2017-09-21 18:19:10 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 27ms (Views: 21.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/5/edit" for 127.0.0.1 at 2017-09-21 18:19:13 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"5"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.9ms) +Completed 200 OK in 32ms (Views: 25.4ms | ActiveRecord: 0.5ms) + + +Started PATCH "/tasks/5" for 127.0.0.1 at 2017-09-21 18:19:21 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xcTDaJvYHt5t9BBU5HU2Izk4kn1V/Sk41uKTYyhHaX3yRUBXLemM7KnAv9FpV9x5HabKxASziSvOy2vw0R3gg==", "task"=>{"title"=>"ssss", "description"=>"aaaa", "duedate"=>"2017-09-28", "complete"=>"0"}, "commit"=>"Update Task", "id"=>"5"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 66ms (ActiveRecord: 1.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:20:01 -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 (9.0ms) +Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 1.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:20:03 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.5ms) +Completed 200 OK in 32ms (Views: 26.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:20:14 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GDEYMlu6eQXH3JkkZVEtiLBJ9tFtYhpX6J5KF6mib5LR3hUU30TxLLtEQzBQqeLFSzapy5Vcs+BD+UBKmfRdQA==", "task"=>{"title"=>"try", "description"=>"uno", "duedate"=>"2017-12-10", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" DEFAULT VALUES +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:20:14 -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.1ms) +Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/6" for 127.0.0.1 at 2017-09-21 18:20:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 29ms (Views: 22.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:21:26 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.8ms) +Completed 200 OK in 44ms (Views: 28.9ms | ActiveRecord: 1.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:21:38 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"whuksb5YPgQ08QrIgBrxdF8gfJGGh8kccfDZnMeb9EUL9KmXOqa2LUhp0Ny14j45pF8ji365YKval9PB983Glw==", "task"=>{"title"=>"uno`", "description"=>"1", "duedate"=>"2017-09-22", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.2ms) begin transaction + SQL (0.8ms) INSERT INTO "tasks" ("complete") VALUES (?) [["complete", "f"]] +  (2.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 9ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:21: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 (1.8ms) +Completed 200 OK in 21ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-21 18:21:41 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 29ms (Views: 22.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-21 18:25:11 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["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: 17.1ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-21 18:25: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 (2.3ms) +Completed 200 OK in 31ms (Views: 24.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-21 18:25:14 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (6.0ms) +Completed 200 OK in 32ms (Views: 26.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-21 18:25:24 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xx19/OTs9+HlTRQNTU0AwQp9i8+9hJJ/Xv3xR+2YeHOW8nDaYBJ/yJnVzhl4tc+M8QLU1UW6O8j1mvsa3c5KoQ==", "task"=>{"title"=>"one more time", "description"=>"hola", "duedate"=>"2017-09-22", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "one more time"], ["description", "hola"], ["duedate", "2017-09-22"], ["complete", "f"]] +  (1.7ms) 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-21 18: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 (2.8ms) +Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-21 18:26:12 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 28ms (Views: 22.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/7/edit" for 127.0.0.1 at 2017-09-21 18:26:13 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"7"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.5ms) +Completed 200 OK in 29ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/8" for 127.0.0.1 at 2017-09-22 09:03:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"8"} + Task Load (5.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (26.7ms) +Completed 200 OK in 190ms (Views: 135.5ms | ActiveRecord: 5.8ms) + + +  (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"]] +  (1.5ms) DROP TABLE IF EXISTS "tasks" +  (1.4ms) SELECT sqlite_version(*) +  (2.6ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "duedate" date, "complete" boolean) +  (2.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 +  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (4.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.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 17:36:26.139200"], ["updated_at", "2017-09-22 17:36:26.139200"]] +  (1.6ms) commit transaction + ActiveRecord::InternalMetadata Load (0.6ms) 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) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (2.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "duedate" date, "complete" boolean) +  (2.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 +  (13.7ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (2.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 (1.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 17:36:26.181443"], ["updated_at", "2017-09-22 17:36:26.181443"]] +  (1.6ms) 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 +  (0.3ms) 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.1ms) commit transaction +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:36:39 -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 (6.4ms) +Completed 200 OK in 62ms (Views: 50.7ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:37: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 (2.1ms) +Completed 200 OK in 48ms (Views: 44.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:37:47 -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 22ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:43: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 (1.8ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:44: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 (1.9ms) +Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:45:28 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 40ms (Views: 24.7ms | ActiveRecord: 0.8ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 10:45:45 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"GyVM5cV/cX+Kp62WbNrywkQ9oQLtfRPRgH324cJjD+zSykHDQYH5VvY/d4JZIj2Pv0L+GBVDumYrGvy88jU9Pg==", "task"=>{"title"=>"Correr", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"", "complete"=>"0"}, "commit"=>"Create Task"} +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "tasks" ("title", "description", "complete") VALUES (?, ?, ?) [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["complete", "f"]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:45: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 (1.9ms) +Completed 200 OK in 24ms (Views: 19.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 10:45:48 -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 33ms (Views: 25.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 10:45:49 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.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 (4.7ms) +Completed 200 OK in 34ms (Views: 26.4ms | ActiveRecord: 1.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 10:45:54 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rwL88LHX4+Q1ZaaFC9b0t/pwJVTSwSaPL7y0yviJWq9QZxGSP1bJlv53LSYaXML3ijV4z+fgKOZPkvJ9opC/Gw==", "task"=>{"title"=>"Correr", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"2017-09-23", "complete"=>"0"}, "commit"=>"Update Task", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["complete", nil], ["id", 1]] +  (1.7ms) commit transaction +No template found for TasksController#update, rendering head :no_content +Completed 204 No Content in 70ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 10:46:58 -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.2ms) +Completed 200 OK in 37ms (Views: 30.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 10:47:22 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (3.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 (4.8ms) +Completed 200 OK in 36ms (Views: 28.7ms | ActiveRecord: 3.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 10:47: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 (2.5ms) +Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 10:47:50 -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 (2.7ms) +Completed 200 OK in 24ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 10:47:51 -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.3ms) +Completed 200 OK in 31ms (Views: 26.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:47:53 -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) +Completed 200 OK in 31ms (Views: 28.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:47:55 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.8ms) +Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:48:42 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (9.8ms) +Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:49:11 -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 26ms (Views: 21.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:49:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 21ms (Views: 17.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 10:49:45 -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 44ms (Views: 41.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 10:49:47 -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.1ms) +Completed 200 OK in 34ms (Views: 27.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 10:53:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 11:01:09 -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 31ms (Views: 18.0ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:01:31 -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 38ms (Views: 35.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 11:01:34 -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 33ms (Views: 27.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 11:01:37 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"A6TsXQkyGTGSsrgHngWs4iQqsVXBDUdCwjjyFa+G68PKS+F7jcyRGO4qYhOr/WOv31XuTzkz7vVpX/hIn9DZEQ==", "task"=>{"title"=>"leer", "description"=>"", "duedate"=>"", "complete"=>"0"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "complete") VALUES (?, ?, ?) [["title", "leer"], ["description", ""], ["complete", "f"]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:01:37 -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 19ms (Views: 16.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 11:01:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) 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.4ms) +Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 11:01:48 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 200 OK in 41ms (Views: 34.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 11:01:59 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"oB1p9Bbn6iJT4vKmiq2LBcMSNBYEkACGOSGiDH/ySO3M9+aL2MkRJpBqZohYJmq3QkZkDXWprbdRv8a/NR8Ltg==", "task"=>{"title"=>"leer", "description"=>"leer mucho", "duedate"=>"2017-11-17", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "leer"], ["description", "leer mucho"], ["duedate", "2017-11-17"], ["id", 1]] +  (1.6ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["description", "leer mucho"], ["duedate", "2017-11-17"], ["complete", nil], ["id", 2]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 10ms (ActiveRecord: 4.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:01: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.4ms) +Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:02: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 (13.0ms) +Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 11:02:10 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.3ms) +Completed 200 OK in 38ms (Views: 32.5ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 11:02:29 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"EdiLXFhPEJQpZuiqz8kC+F7n7SEI/gmwbpL7MKckBYTYN4Z63LGYvVX+Mr76Mc21pZiyO/DAoAfF9fFtl3I3Vg==", "task"=>{"title"=>"cocinar", "description"=>"hacer la cena", "duedate"=>"2017-09-25", "complete"=>"0"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "cocinar"], ["description", "hacer la cena"], ["duedate", "2017-09-25"], ["complete", "f"]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:02: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 (1.8ms) +Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:02:32 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:02:35 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.5ms) +Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:02:44 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y053K0R4dWvfm17bIJWDqHjS3kO3VkFEBxIlR7OVrWl3ZHRJn9BMRENH+uCK6zYC/hwMS/w/rZapEMsYJjSJMg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayuno", "duedate"=>"2017-09-25", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "cocinar"], ["description", "hacer desayuno"], ["duedate", "2017-09-25"], ["id", 1]] +  (1.8ms) commit transaction +  (0.2ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "cocinar"], ["description", "hacer desayuno"], ["duedate", "2017-09-25"], ["id", 2]] +  (1.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "description" = ?, "complete" = ? WHERE "tasks"."id" = ? [["description", "hacer desayuno"], ["complete", nil], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 16ms (ActiveRecord: 6.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:02: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 (2.0ms) +Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11: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 (7.4ms) +Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:03:53 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:03:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:06:14 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 43ms (Views: 35.0ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:06:17 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:07:34 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.8ms) +Completed 200 OK in 30ms (Views: 18.0ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:07:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:07: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.3ms) +Completed 200 OK in 33ms (Views: 29.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:09:01 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 31ms (Views: 16.6ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:09:03 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.2ms) +Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:09:10 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"45jl2FPrCuP2WrsrlTKtmOro5RcmJaZFwRYC0A4F+cD3sua6iEMzzGqGHxA/TBgybCY3H21MSpdvFOyPm6Tdmw==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayuno", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "duedate" = ? WHERE "tasks"."id" = ? [["duedate", "2017-09-26"], ["id", 1]] +  (1.6ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "duedate" = ? WHERE "tasks"."id" = ? [["duedate", "2017-09-26"], ["id", 2]] +  (1.4ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "duedate" = ? WHERE "tasks"."id" = ? [["duedate", "2017-09-26"], ["id", 3]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/task/:id +Completed 302 Found in 17ms (ActiveRecord: 6.8ms) + + +Started GET "/task/:id" for 127.0.0.1 at 2017-09-22 11:09:10 -0700 + +ActionController::RoutingError (No route matches [GET] "/task/:id"): + +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 PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:09:50 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"soK2b2wIM5AlCsCUwvlS3t3osSL6bCP8fnRWexi04ld1CVPYiZoCWMjuM5qhsAzhSZCYDjJ8+DIv7o01+Fa5AA==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayuno", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000:id/task/ +Completed 302 Found in 20ms (ActiveRecord: 1.1ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:10:03 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.3ms) +Completed 200 OK in 46ms (Views: 34.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:10:21 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.9ms) +Completed 200 OK in 36ms (Views: 17.0ms | ActiveRecord: 3.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:10:26 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"2bogSR/yTOipB3jo7ljweq7PUx+yBbCF6XNhKHYm0eHNkCMrxFp1xzXb3NNEJkXQKAGBF/lsXFdHcY9344f1ug==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "hacer desayunoaaa"], ["id", 1]] +  (1.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "hacer desayunoaaa"], ["id", 2]] +  (2.2ms) commit transaction +  (0.2ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "hacer desayunoaaa"], ["id", 3]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/tasks/:id +Completed 302 Found in 17ms (ActiveRecord: 7.8ms) + + +Started GET "/tasks/:id" for 127.0.0.1 at 2017-09-22 11:10:26 -0700 +Processing by TasksController#show as HTML + 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:7:in `show' +Started GET "/tasks/:id" for 127.0.0.1 at 2017-09-22 11:11:21 -0700 +Processing by TasksController#show 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: 0.9ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:7:in `show' +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:11:37 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rC9KFDK296wpe6+lMXuzgxhlWtatx8yBjenQsz9PoOlrpK+j1yTGZMSfXKtSMu28jB1z+mXXF0/ccwv93637vg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks/:id +Completed 302 Found in 14ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/:id" for 127.0.0.1 at 2017-09-22 11:11:37 -0700 +Processing by TasksController#show 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 2ms (ActiveRecord: 0.2ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:7:in `show' +Started GET "/tasks/:id" for 127.0.0.1 at 2017-09-22 11:11:50 -0700 +Processing by TasksController#show 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.5ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=:id): + +app/controllers/tasks_controller.rb:7:in `show' +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:11:54 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rC9KFDK296wpe6+lMXuzgxhlWtatx8yBjenQsz9PoOlrpK+j1yTGZMSfXKtSMu28jB1z+mXXF0/ccwv93637vg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/tasks/id +Completed 302 Found in 10ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks/id" for 127.0.0.1 at 2017-09-22 11:11:54 -0700 +Processing by TasksController#show 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:7:in `show' +Started GET "/tasks/id" for 127.0.0.1 at 2017-09-22 11:16:43 -0700 +Processing by TasksController#show 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 7ms (ActiveRecord: 0.9ms) + + + +ActiveRecord::RecordNotFound (Couldn't find Task with 'id'=id): + +app/controllers/tasks_controller.rb:7:in `show' +Started GET "/tasks/id" for 127.0.0.1 at 2017-09-22 11:16:46 -0700 +Processing by TasksController#show 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:7:in `show' +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:16:48 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rC9KFDK296wpe6+lMXuzgxhlWtatx8yBjenQsz9PoOlrpK+j1yTGZMSfXKtSMu28jB1z+mXXF0/ccwv93637vg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Completed 500 Internal Server Error in 159ms (ActiveRecord: 0.6ms) + + + +NameError (undefined local variable or method `taks_path' for # +Did you mean? task_path + tasks_path): + +app/controllers/tasks_controller.rb:26:in `update' +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 11:17:13 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rC9KFDK296wpe6+lMXuzgxhlWtatx8yBjenQsz9PoOlrpK+j1yTGZMSfXKtSMu28jB1z+mXXF0/ccwv93637vg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 17ms (ActiveRecord: 1.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:17:13 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:19:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 38ms (Views: 21.7ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:19:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:19: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.0ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:19:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 33ms (Views: 27.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:19:23 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:20:19 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 4ms + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:20:26 -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 (8.8ms) +Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:20:37 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:20:39 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:24:08 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 5ms + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 11:24:14 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} +Completed 500 Internal Server Error in 4ms + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 11:24:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["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: 16.5ms | ActiveRecord: 1.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:24: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 (2.5ms) +Completed 200 OK in 30ms (Views: 25.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:24:30 -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.5ms) +Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 11:24:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} +Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:25:39 -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.2ms) +Completed 200 OK in 34ms (Views: 29.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 11:25:40 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:26: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 (0.8ms) +Completed 200 OK in 28ms (Views: 15.4ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 11:26:43 -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 (5.1ms) +Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 11:26:45 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Syr3LK8ddZ6uEguP/FEfQ2k2wGemSLKmxf6RsLKIl8q0TxpOIZxf7GUAgCzt2ykDGXOd/JNpvM+l0NcH6JFyfg==", "task"=>{"title"=>"cocinar", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 1]] +  (1.5ms) commit transaction +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 2]] +  (1.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.7ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 17ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:26: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 (1.2ms) +Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 11:26:47 -0700 +Processing by TasksController#edit as HTML + 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/edit.html.erb within layouts/application (3.3ms) +Completed 200 OK in 31ms (Views: 25.4ms | ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 11:26:54 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"gK6VhXc7jAQPK8ce8yS5sPax9eIXT5kPjh/7a1mxoYV/y3jn+bqmdsQ5TL3iro/whvSoeSJul2buMb3cA6hEMQ==", "task"=>{"title"=>"cocinar asssss", "description"=>"hacer desayunoaaa", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "cocinar asssss"], ["id", 1]] +  (1.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "cocinar asssss"], ["id", 2]] +  (1.5ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "cocinar asssss"], ["id", 3]] +  (3.3ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 18ms (ActiveRecord: 8.6ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:26: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 (0.7ms) +Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:27:04 -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.3ms) +Completed 200 OK in 33ms (Views: 26.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 11:27:10 -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 18ms (Views: 16.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:27:13 -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 28ms (Views: 22.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 11:27: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 (4.2ms) +Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 11:27:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XqcurFPX1qyUMj4YDLu3YwMo0XSyEIyMmQWS+zKQHxWhwsPO3Vb83l8gtbsdMYEjc22M74cxguX5K9RMaIn6oQ==", "task"=>{"title"=>"Correr", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"2017-09-22", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["duedate", "2017-09-22"], ["id", 1]] +  (1.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["duedate", "2017-09-22"], ["id", 2]] +  (2.0ms) commit transaction +  (0.2ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["duedate", "2017-09-22"], ["id", 3]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 16ms (ActiveRecord: 7.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:27:36 -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 20ms (Views: 16.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 11:27:52 -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 33ms (Views: 26.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:08:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (2.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 (5.1ms) +Completed 200 OK in 52ms (Views: 45.9ms | ActiveRecord: 2.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:08:05 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"a4PqPvmZBrKZG2lVaO8I6EoNyKlJAkoGA1H4HkNhAJSU5gdcdxgswFIJ4vZ5ZT6oOkiVMnwjRG9jf76pGXjlIA==", "task"=>{"title"=>"Correr", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"2017-09-22", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 7ms (ActiveRecord: 1.0ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:08:05 -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.9ms) +Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:08:09 -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 40ms (Views: 35.2ms | ActiveRecord: 0.1ms) + + +Started GET "/" for 127.0.0.1 at 2017-09-22 12:08:14 -0700 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/mariana/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/mariana/.rvm/gems/ruby-2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.2ms) +Completed 200 OK in 12ms (Views: 6.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 12:08: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 21ms (Views: 18.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:09:07 -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 200 OK in 29ms (Views: 22.5ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:09:09 -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 (5.5ms) +Completed 200 OK in 31ms (Views: 24.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:09:25 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"OnHqOX2I62idD8DC9Z6LOQcDIQny0lUs/POYZc4vxOLFFAdb8wnBGlYdS2HkFL15d0Z8ksfzW0Wc3d7SlDYhVg==", "task"=>{"title"=>"Almorzar", "description"=>"Almorzar con Alma ", "duedate"=>"2017-09-21", "complete"=>"1"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", "Almorzar"], ["description", "Almorzar con Alma "], ["duedate", "2017-09-21"], ["complete", "t"], ["id", 1]] +  (1.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", "Almorzar"], ["description", "Almorzar con Alma "], ["duedate", "2017-09-21"], ["complete", "t"], ["id", 2]] +  (1.4ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", "Almorzar"], ["description", "Almorzar con Alma "], ["duedate", "2017-09-21"], ["complete", "t"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 16ms (ActiveRecord: 7.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:09:25 -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 20ms (Views: 17.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:09:30 -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 19ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +  (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.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) DROP TABLE IF EXISTS "tasks" +  (0.1ms) SELECT sqlite_version(*) +  (2.4ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "duedate" date, "complete" boolean) +  (2.0ms) 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 +  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (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.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 19:09:50.274873"], ["updated_at", "2017-09-22 19:09:50.274873"]] +  (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.1ms) begin transaction +  (0.2ms) commit transaction +  (0.6ms) DROP TABLE IF EXISTS "tasks" +  (0.2ms) SELECT sqlite_version(*) +  (4.2ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" varchar, "duedate" date, "complete" boolean) +  (2.2ms) 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 +  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES (20170919215338) +  (3.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.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 19:09:50.310128"], ["updated_at", "2017-09-22 19:09:50.310128"]] +  (2.0ms) 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 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + ActiveRecord::InternalMetadata Load (1.0ms) 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 GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:09:57 -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 (3.0ms) +Completed 200 OK in 25ms (Views: 18.2ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 12:09:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 37ms (Views: 21.1ms | ActiveRecord: 1.1ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 12:10:02 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"S1kMz3ZC7QliS0gmOgViLb6zZSphUdhF2I0WnuLLc9iCtgHp8rxlIB7TkjIP/a1gRcw6MJlvcfJz6hzD0p1BCg==", "task"=>{"title"=>"A", "description"=>"", "duedate"=>"", "complete"=>"0"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "complete") VALUES (?, ?, ?) [["title", "A"], ["description", ""], ["complete", "f"]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 12:10: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 (1.9ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:10:05 -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.5ms) +Completed 200 OK in 32ms (Views: 24.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:10: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 (12.7ms) +Completed 200 OK in 39ms (Views: 32.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 12:10:12 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.4ms) +Completed 200 OK in 31ms (Views: 25.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 12:10:28 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"BEYH11sFqMTSD3Ied1T96axUAThlqBrlcjVHhOmNs0HNqQrx3/sg7a6XqApCrDKkVyteIp2Ws1LZUk3Z2duBkw==", "task"=>{"title"=>"Almorzar", "description"=>"Con Alma", "duedate"=>"2017-09-21", "complete"=>"1"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Almorzar"], ["description", "Con Alma"], ["duedate", "2017-09-21"], ["complete", "t"]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 12:10: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.9ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:10:32 -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.8ms) +Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:10:33 -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 (4.4ms) +Completed 200 OK in 41ms (Views: 34.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:10:44 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"b8CwfBKqcF0Xf75i6k6Xn7aQWAP960FQ9DOmdCIHpHSQpV0enCtaL9xtNcH7xKHfxtUFmMjKTzmUHeDDeB5BwA==", "task"=>{"title"=>"Correr", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"2017-09-23", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["duedate", "2017-09-23"], ["id", 1]] +  (1.4ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", "Correr"], ["description", "Correr 2 millas cerca del lago"], ["duedate", "2017-09-23"], ["complete", "f"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 11ms (ActiveRecord: 4.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:10:44 -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 18ms (Views: 15.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:10:48 -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.7ms) +Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:12:37 -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.1ms) +Completed 200 OK in 28ms (Views: 22.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:12: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/edit.html.erb within layouts/application (5.8ms) +Completed 200 OK in 31ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:12:44 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"3aZRpPHp2OStfVDHxmZD7PozgiqMYuqMNtLCwMtFcWEiw7zGf2jylmZv22TX7HWsinbfsblD5OVW/IR3kVyU1Q==", "task"=>{"title"=>"Correr mucho", "description"=>"Correr 2 millas cerca del lago", "duedate"=>"2017-09-23", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction + SQL (0.7ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Correr mucho"], ["id", 1]] +  (1.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Correr mucho"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 13ms (ActiveRecord: 4.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:12:44 -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 23ms (Views: 20.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:12:48 -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 19ms (Views: 16.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 12:12:51 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.7ms) +Completed 200 OK in 33ms (Views: 27.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 12:13:04 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"b3GPxfH5mc7BdD22u3odLeZEFo+J0l4SmEqTrrO9jHumnoLjdQcR573s56KOgtJgHTtJlXHs96UzLZnzg+u+qQ==", "task"=>{"title"=>"Hablar", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Hablar"], ["description", "hablar con amigas"], ["duedate", "2017-09-26"], ["complete", "f"]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 12:13:04 -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 29ms (Views: 26.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 12:13:07 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 27ms (Views: 21.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 12:13:09 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (6.1ms) +Completed 200 OK in 33ms (Views: 26.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 12:13:15 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"rW4e7B2P/2OJ+QBE9fh8AT3brAFpUORltBG36glyw1+5RB2OxifGTBUlpH9fhsmruxV+CSI5CLcaE1m1nNPnBA==", "task"=>{"title"=>"Hablar mas", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Hablar mas"], ["description", "hablar con amigas"], ["duedate", "2017-09-26"], ["id", 1]] +  (3.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Hablar mas"], ["description", "hablar con amigas"], ["duedate", "2017-09-26"], ["id", 2]] +  (1.9ms) commit transaction +  (0.2ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Hablar mas"], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 18ms (ActiveRecord: 9.1ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 12:13:15 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:13:18 -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 19ms (Views: 17.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:14:31 -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.9ms) +Completed 200 OK in 28ms (Views: 15.0ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:14:33 -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 (5.5ms) +Completed 200 OK in 36ms (Views: 29.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:14:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"r8ew/IX/26FaCfgV0dDD60q060hxXP6pIzmWDgPnVLhQol2eC37x05Ebc7bAWvWrOvG200R98MBDF9C5Wf6xDA==", "task"=>{"title"=>"Hablar", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms) + + + +ArgumentError (When assigning attributes, you must pass a hash as an argument.): + +app/controllers/tasks_controller.rb:25:in `update' +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:15:04 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"r8ew/IX/26FaCfgV0dDD60q060hxXP6pIzmWDgPnVLhQol2eC37x05Ebc7bAWvWrOvG200R98MBDF9C5Wf6xDA==", "task"=>{"title"=>"Hablar", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.4ms) + + + +ArgumentError (When assigning attributes, you must pass a hash as an argument.): + +app/controllers/tasks_controller.rb:25:in `update' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 12:15: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 (2.0ms) +Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:15:13 -0700 +Processing by TasksController#show as HTML + 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.0ms) +Completed 200 OK in 29ms (Views: 22.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:15:14 -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 (4.4ms) +Completed 200 OK in 32ms (Views: 25.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:15:18 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"8CCcmZ5ADhTgigaKm7qNMmoo/MAVOs1enJUAYJWi/aYPRXH7EMEkZiuYjSmKMLtyGm2hWyAbwzf8u0bXz7sYEg==", "task"=>{"title"=>"Hablar", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms) + + + +ArgumentError (When assigning attributes, you must pass a hash as an argument.): + +app/controllers/tasks_controller.rb:25:in `update' +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:15:37 -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 (7.2ms) +Completed 200 OK in 27ms (Views: 22.4ms | ActiveRecord: 0.8ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:15:38 -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 30ms (Views: 23.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:15:39 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +NoMethodError (undefined method `[]' for nil:NilClass): + +app/controllers/tasks_controller.rb:21:in `edit' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:16:02 -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 (2.8ms) +Completed 200 OK in 29ms (Views: 16.9ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 12:18:06 -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 24ms (Views: 21.6ms | ActiveRecord: 0.2ms) + + + Task Load (1.2ms) SELECT "tasks".* FROM "tasks" LIMIT ? [["LIMIT", 11]] +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:19: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 (1.3ms) +Completed 200 OK in 43ms (Views: 35.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 12:19:40 -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 (4.3ms) +Completed 200 OK in 33ms (Views: 26.8ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 12:19:58 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"U72EdrNayZoD2qN/mPvjh2Y5r9NHZ72O+aNx15KsyVGs2GkUPdvj6MjIKNyJcdXHFnzySHJGs+eZjTdgyLUs5Q==", "task"=>{"title"=>"dan edit", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "dan edit"], ["id", 1]] +  (4.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "dan edit"], ["id", 2]] +  (1.6ms) commit transaction +  (0.4ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "dan edit"], ["id", 3]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 21ms (ActiveRecord: 9.1ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 12:19:58 -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 26ms (Views: 21.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:34:52 -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.8ms) +Completed 200 OK in 27ms (Views: 15.9ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 13:34:54 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"1"} + Task Load (1.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 (6.2ms) +Completed 200 OK in 35ms (Views: 27.1ms | ActiveRecord: 1.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 13:35:01 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"eOakNLxqRj+BAS0H1OmURZYZyh7RqUKgDdlFibZxeeuHg0lWMutsTUoTpqTFY6IF5lyXheSITMlt9wM+7GicXw==", "task"=>{"title"=>"Hablar", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Hablar"], ["id", 1]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 5ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:35: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.0ms) +Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 13:35:05 -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.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 13:35:08 -0700 +Processing by TasksController#show as HTML + 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.8ms) +Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 13:35:11 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.7ms) +Completed 200 OK in 30ms (Views: 25.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 13:35:22 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"m5J8lD8b2U+A29Y8REIK0Zn8PmrQnmj2nMRA4KA3Sov3ePPr8TUiS0NTQhKWyetjGKhucaGnxcf0WiRT6toJ0A==", "task"=>{"title"=>"comer", "description"=>"amorzar", "duedate"=>"2017-09-22", "complete"=>"1"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", "comer"], ["description", "amorzar"], ["duedate", "2017-09-22"], ["complete", "t"], ["id", 2]] +  (2.2ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 13:35:22 -0700 +Processing by TasksController#show as HTML + 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.3ms) +Completed 200 OK in 20ms (Views: 16.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 13:35:25 -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 30ms (Views: 27.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 13:35:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 13:35:29 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.1ms) +Completed 200 OK in 37ms (Views: 31.6ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 13:35:39 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"2KdoEdJ0eqFdxwI2vfNt7B/scF+4hF5bm6dIRb/6Nf3MjWtzCdxDjsEbpg0XjdhGmSKiV/Ptsok1paYaKlsRpg==", "task"=>{"title"=>"Bailar", "description"=>"Salsa", "duedate"=>"2017-09-30", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Bailar"], ["description", "Salsa"], ["duedate", "2017-09-30"], ["id", 3]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 13:35:39 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 13:35:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 32ms (Views: 26.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 13:35: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.6ms) +Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/" for 127.0.0.1 at 2017-09-22 13:44: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.6ms) +Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:44:31 -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.8ms) +Completed 200 OK in 29ms (Views: 22.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:44:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.3ms) +Completed 200 OK in 32ms (Views: 25.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 13:48:16 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 13:48:59 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"QM/RpL2dGtsTkHdS7+dFaO3e9i7FBdloQsUEU393draHRDQTWA8rE/50hFyMrhtXeabfAg0VAqYTX98dn5Ut4Q==", "task"=>{"title"=>"Jugar", "description"=>"Pokemos", "duedate"=>"2017-09-11", "complete"=>"1"}, "commit"=>"Crear Tarea"} +  (0.3ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Jugar"], ["description", "Pokemos"], ["duedate", "2017-09-11"], ["complete", "t"]] +  (2.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:48: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.0ms) +Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:49: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 (4.1ms) +Completed 200 OK in 31ms (Views: 26.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 13:49:07 -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 39ms (Views: 34.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:49:09 -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 29ms (Views: 23.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:52:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"1"} + Task Load (2.8ms) 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.1ms) +Completed 200 OK in 33ms (Views: 25.9ms | ActiveRecord: 2.8ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:52:28 -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.5ms) +Completed 200 OK in 26ms (Views: 21.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:52:42 -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.1ms) +Completed 200 OK in 24ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 13:53:04 -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 (3.4ms) +Completed 200 OK in 30ms (Views: 25.1ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/1" for 127.0.0.1 at 2017-09-22 13:53:17 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"MvNBeHlzdKlGgtwOqNEzHj293TzIvhxQqCz2Ezma6K7Nlqwa9/Je242QV625WwVeTfiAp/2fEjnIArCkY4MNGg==", "task"=>{"title"=>"Hablar mucho", "description"=>"hablar con amigas", "duedate"=>"2017-09-26", "complete"=>"0"}, "commit"=>"Editar Tarea", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Hablar mucho"], ["id", 1]] +  (2.0ms) commit transaction +Redirected to http://localhost:3000/tasks/1 +Completed 302 Found in 7ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 13:53:17 -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 20ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 14:07:52 -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.9ms) +Completed 200 OK in 33ms (Views: 21.1ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 14:07:56 -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 (235.0ms) +Completed 500 Internal Server Error in 247ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined local variable or method `hide_placeholder_text' for #<#:0x007f8240e1b8f0>): + 1: <%= form_for @task do |t| %> + 2: + 3: <%= t.label "Actividad" %> + 4: <%= t.text_field :title, placeholder: hide_placeholder_text ? "" : "title" %> + 5: <%= t.label "Descripción" %> + 6: <%= t.text_field :description %> + 7: <%= t.label "Fecha" %> + +app/views/tasks/edit.html.erb:4:in `block in _app_views_tasks_edit_html_erb__2912323831998023348_70098705517440' +app/views/tasks/edit.html.erb:1:in `_app_views_tasks_edit_html_erb__2912323831998023348_70098705517440' +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 14:10:24 -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 (4.0ms) +Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 14:21:15 -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 (2.5ms) +Completed 200 OK in 31ms (Views: 26.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:21: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 (3.8ms) +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 22:

    + 23: <%= link_to( task.title, task_path(task.id)) %> + 24:

    + 25: <%= link_to( "Modificar", edit_task_path(@task.id)) %> + 26: <%= link_to( "Borrar", task_path(@task.id), :confirm => "Are you sure you want to do that?" ) %> + 27: + 28: <% end %> + +app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098713404840' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098713404840' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:21: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.1ms) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 22:

    + 23: <%= link_to( task.title, task_path(task.id)) %> + 24:

    + 25: <%= link_to( "Modificar", edit_task_path(@task.id)) %> + 26: + 27: + 28: <% end %> + +app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098661269800' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098661269800' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:21: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 (4.2ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 22:

    + 23: <%= link_to( task.title, task_path(task.id)) %> + 24:

    + 25: + 26: + 27: + 28: <% end %> + +app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098712707220' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098712707220' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:21:56 -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.9ms) +Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 22:

    + 23: <%= link_to( task.title, task_path(task.id)) %> + 24:

    + 25: + 26: + 27: + 28: <% end %> + +app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098671530060' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098671530060' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:22: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 (1.9ms) +Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:22: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 (4.0ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `id' for nil:NilClass): + 22:

    + 23: <%= link_to( task.title, task_path(task.id)) %> + 24:

    + 25: <%= link_to( "Modificar", edit_task_path(@task.id)) %> + 26: <%#= link_to( "Borrar", task_path(@task.id), :confirm => "Are you sure you want to do that?" ) %> + 27: + 28: <% end %> + +app/views/tasks/index.html.erb:25:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098678571140' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098678571140' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:22: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 (1.9ms) +Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1/edit" for 127.0.0.1 at 2017-09-22 14:22:46 -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 (3.2ms) +Completed 200 OK in 30ms (Views: 24.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:23: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 (2.3ms) +Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 14:23:10 -0700 +Processing by TasksController#show as HTML + 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 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/1" for 127.0.0.1 at 2017-09-22 14:38:37 -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.3ms) +Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:38: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 (3.9ms) +Completed 200 OK in 33ms (Views: 30.3ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/1" for 127.0.0.1 at 2017-09-22 14:39:01 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"x40dz0C1V1XpK+EVrUBvk899iuLXRQ53Ishqv6CA0tcABvh4pSdmnQTPEhvOCTGsWwWjzh9V1blzUrHxQGKJgA==", "id"=>"1"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:39:01 -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: 19.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:41:36 -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.0ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:54:36 -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 (9.5ms) +Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 14:54:39 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) 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.4ms) +Completed 200 OK in 33ms (Views: 25.0ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 14:54:41 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.1ms) +Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 14:54:50 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFkxfpblQkz1BnK8v0d7JoOBPbVzxgID2Oki+Ydy2Lt4s74BWMu5SDaO5pJtzJqUAtVtrgL/rzKwd0ZKzZ+b4A==", "task"=>{"title"=>"comer", "description"=>"Almorzar", "duedate"=>"2017-09-22", "complete"=>"1"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "Almorzar"], ["id", 2]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 6ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 14:54:50 -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.2ms) +Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:55:07 -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.3ms) +Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 14:55:08 -0700 +Processing by TasksController#show as HTML + 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 (2.0ms) +Completed 200 OK in 37ms (Views: 31.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 14:55:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.0ms) +Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 14:55:17 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"dI2It104DH5lGN1nlbIcw5N592yycDyInwqxeA8ZDAoYZwfIkxb3eqaQSUlHOf1xEi2nd8NJkbn3lNXLRfRPUQ==", "task"=>{"title"=>"Comer", "description"=>"Almorzar", "duedate"=>"2017-09-22"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Comer"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 6ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 14:55:17 -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.1ms) +Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:55:19 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.3ms) +Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:55: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 (5.9ms) +Completed 200 OK in 36ms (Views: 29.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-22 14:55:36 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.3ms) +Completed 200 OK in 37ms (Views: 30.1ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-22 14:55:46 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"LkVpjW/oOiEpOGOOne1FdJ6eB3sDcBfSEZokhOF8VS/nqmSr6xayCFWguZqoFYo5ZeFYYftOvmW6/S7Z0Spn/Q==", "task"=>{"title"=>"Barrer", "description"=>"Barrer la sal", "duedate"=>"2017-09-20"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Barrer"], ["description", "Barrer la sal"], ["duedate", "2017-09-20"], ["complete", "f"]] +  (3.4ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 14:55:46 -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 29ms (Views: 27.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:18:22 -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 18ms + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:18:28 -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 500 Internal Server Error in 14ms + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:19:49 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 12ms + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/index.html.erb:45: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:21:02 -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 (8.5ms) +Completed 200 OK in 44ms (Views: 40.7ms | ActiveRecord: 0.9ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:21:08 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 60ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:21:11 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 66ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:22:12 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 66ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:22:13 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 68ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:22:13 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 61ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:22:57 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"false"}, "id"=>"2"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 68ms (ActiveRecord: 0.0ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:23:11 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"RAOydVrAb2KvOgB9YzgFhhCgdEDaDsUhQ4YjFY9QQfiDiFfCv1JeqkLe83MAcVu5hNhdbBIeHu8SHPhbb7Iarw==", "task"=>{"complete"=>"true"}, "id"=>"3"} +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 64ms (ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:28:12 -0700 + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/controllers/tasks_controller.rb:38: syntax error, unexpected ')', expecting => +], complete[:task][:complete]) + ^): + +app/controllers/tasks_controller.rb:38: syntax error, unexpected ')', expecting => +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:28:46 -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 (10.1ms) +Completed 200 OK in 60ms (Views: 48.3ms | ActiveRecord: 1.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:28:48 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"zBeIqTV4D5YGWKvtFune1dDuw8TjxZukrA+A7L6C0pMLnG0e0Oo+Xuu8WON1oIDqRJbq6CvVQGr9lVuiXmCJxA==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.7ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "f"], ["id", 2]] +  (1.6ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 91ms (ActiveRecord: 4.3ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:28:50 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"zBeIqTV4D5YGWKvtFune1dDuw8TjxZukrA+A7L6C0pMLnG0e0Oo+Xuu8WON1oIDqRJbq6CvVQGr9lVuiXmCJxA==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.2ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 71ms (ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:28:51 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"zBeIqTV4D5YGWKvtFune1dDuw8TjxZukrA+A7L6C0pMLnG0e0Oo+Xuu8WON1oIDqRJbq6CvVQGr9lVuiXmCJxA==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 64ms (ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:28:51 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"zBeIqTV4D5YGWKvtFune1dDuw8TjxZukrA+A7L6C0pMLnG0e0Oo+Xuu8WON1oIDqRJbq6CvVQGr9lVuiXmCJxA==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 64ms (ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:28: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.2ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:29:03 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"7IwyVzz57dX5VW6Z4+7s+zZ+2PIKs8FG81Exgbp1smUrB9fg2WvcHRSxnZeAp7LEogbx3sKjGoiiy+rPWpfpMg==", "task"=>{"complete"=>"true"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 2]] +  (1.6ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 72ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 15:29:10 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.9ms) +Completed 200 OK in 49ms (Views: 40.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 15:29:14 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (3.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.4ms) +Completed 200 OK in 34ms (Views: 27.2ms | ActiveRecord: 3.0ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 15:29:17 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (1.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.6ms) +Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 1.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 15:29:20 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.9ms) +Completed 200 OK in 43ms (Views: 36.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 15:29:32 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"TP3LK82pFvq0nsbV+3wh5A6vRxxZk8PFDK4o18RGimMgF0RUA4ft/ncWUvsp98BWj/sXByiqbvRkMExkjqvJOA==", "task"=>{"title"=>"Hola", "description"=>"bla bla", "duedate"=>"2017-09-28"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Hola"], ["description", "bla bla"], ["duedate", "2017-09-28"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 6ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 15:29:32 -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.3ms) +Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:29:35 -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 (11.0ms) +Completed 200 OK in 46ms (Views: 40.0ms | ActiveRecord: 0.4ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:29:45 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"jPFqxgQRqUjsx/WVArNwKMUH5mKp1jRoI9uEnw3kZLlLeo9x4YOYgAEjBpth+i4XUX/PTmHG76ZyQV/R7QY/7g==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.9ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "f"], ["id", 2]] +  (1.7ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 82ms (ActiveRecord: 2.9ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:29:50 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"jPFqxgQRqUjsx/WVArNwKMUH5mKp1jRoI9uEnw3kZLlLeo9x4YOYgAEjBpth+i4XUX/PTmHG76ZyQV/R7QY/7g==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "t"], ["id", 3]] +  (2.4ms) commit transaction +No template found for TasksController#mark, rendering head :no_content +Completed 204 No Content in 87ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:30: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 (9.1ms) +Completed 200 OK in 33ms (Views: 23.6ms | ActiveRecord: 1.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:30:47 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"NDZD3k3xWgn0qMMgl+n9fgnEA5ZB1kPMbn+x2Mszd9DzvaZpqGNrwRlMMC70oKNBnbwquonGmAI/5WqWK9Eshw==", "task"=>{"complete"=>"true"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:30:47 -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.1ms) +Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:30:49 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"Mw9pw4V3ZOE8i1y2LNDFTh2CcjxehLs3q4Md/UA3n5n0hIx0YOVVKdFvr7hPmZtxifpbEJaUYPn6GcazoNXEzg==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 2]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:30: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.7ms) +Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:30:50 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"UNoW1WWqNxNachPeEaSka4nRAxKPGolVplQudZqNWKmXUfNigDgG27eW4NBy7fpUHakqPkcKUpv3zvU7em8D/g==", "task"=>{"complete"=>"true"}, "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:30:50 -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 23ms (Views: 19.0ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:30:51 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"LeQtktUwAfuS+b3Jivo1AIsIBP72L41l63pbRbS+b17qb8glMKIwM38dTsfps2s/H3At0j4/Vqu64IALVFw0CQ==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (2.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 2]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 12ms (ActiveRecord: 5.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:30:51 -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 (5.1ms) +Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 15:30:53 -0700 +Processing by TasksController#show as HTML + 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.7ms) +Completed 200 OK in 31ms (Views: 25.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 15:31:07 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.3ms) +Completed 200 OK in 45ms (Views: 38.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-22 15:31:21 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"hUT7fsI1rX7p5X5vXwFJEzDUksBdOTMYCxiEF3IojsbprnQBDBtWeipt6kGNiqihsYDC2ywAniljhuCkOMXNnQ==", "task"=>{"title"=>"Lavar", "description"=>"Ropa", "duedate"=>"2017-09-27"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Lavar"], ["description", "Ropa"], ["duedate", "2017-09-27"], ["id", 2]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 9ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-22 15:31:21 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.4ms) 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.3ms) +Completed 200 OK in 28ms (Views: 23.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:31: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 (6.0ms) +Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:32:31 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"HInABFePImNLunclX/IJot20AqOYiQFUu0/P8SLAc+LbAiWzsh0Tq6ZehCs8u1edScwrj1CZ2prq1RS/wiIotQ==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:32: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 (2.8ms) +Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:32:35 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"oojG2UZlbPDvFA8D4Xk69Vnu6I1SBMGEBgOB/4syHJRlAyNuo/ddOALw/A2CMGTKzZbBoZoUGkpXmVqxa9BHww==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.7ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:32:35 -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.1ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-22 15:32:39 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.2ms) +Completed 200 OK in 33ms (Views: 28.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-22 15:32:50 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"KGqRX5YveFjQFBHl0DhmkIkHjtTV5sEK+4Nx7A+W5Ro8QJI9TYdBd0zItd56RtM6D8lc3J6PLdhVgZ+zmjfBQQ==", "task"=>{"title"=>"Bailar", "description"=>"Cancion", "duedate"=>"2017-09-25"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Bailar"], ["description", "Cancion"], ["duedate", "2017-09-25"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 8ms (ActiveRecord: 2.9ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 15:32:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:32:52 -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 (8.0ms) +Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:32:54 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"o8wcu5KXMZOGcZeuuf5L/fwAoga2CpNyVlYkiFGuB5ZkR/kMdwUAW2uVZKDatxXCaHiLKn4aSLwHzP/GsUxcwQ==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "f"], ["id", 3]] +  (1.6ms) 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-22 15:32:54 -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.2ms) +Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 0.5ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:32:58 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"QOD+WRt1B6XBy5rxtnWIY8UjPUhAKFrHOEJMppt6NceHaxvu/uc2bSwvaf/VPNZcUVsUZIg4gQlp2Jfoe5hukA==", "task"=>{"complete"=>"false"}, "id"=>"4"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "f"], ["id", 4]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:32: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 (3.5ms) +Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:43:55 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"oO+KO5M4t6Kb2tXR0v3Z198HFEc0WK0Fp2IaXLCQXBNnZG+MdqqGanY+Jt+xtIfoS389a/xIdsv2+MESUHIHRA==", "task"=>{"complete"=>"true"}, "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.2ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ?, "complete" = ? WHERE "tasks"."id" = ? [["title", nil], ["description", nil], ["duedate", nil], ["complete", "t"], ["id", 2]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 3.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:43:55 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.6ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/index.html.erb:50: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/index.html.erb:50: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:44:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Rendered tasks/index.html.erb within layouts/application (1.3ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms) + + + +SyntaxError (/Users/mariana/ada/projects/week7/TaskList/app/views/tasks/index.html.erb:50: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/tasks/index.html.erb:50: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:44: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 (8.0ms) +Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Complete): + 21:
  • + 22:

    + 23: <% if task.complete %> + 24: <%= link_to( task.title, task_path(task.id), class: Complete) %> + 25: <% else %> + 26: <%= link_to( task.title, task_path(task.id), class: NoComplete) %> + 27: <% end %> + +app/views/tasks/index.html.erb:24:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098710698220' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098710698220' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:45: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 (5.9ms) +Completed 200 OK in 33ms (Views: 30.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-22 15:45:20 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.5ms) +Completed 200 OK in 33ms (Views: 25.9ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:45:24 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"EMaouqdIDYuPogBCpu0hiKJRKBMoCZiZ0+kV0cmxE7jXTU0NQto8Q2JG80zFpH+3NikBP+AZQ1eCc86fKVNI7w==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.5ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:45:24 -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 25ms (Views: 23.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:45:27 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"iJIStGv+jcfDixL9LVZUthyoSwySmswvPxZs9CY9gXtPGfcDjmy8Dy5v4fNOHwqJiNBiIFqKF+FujLe6xt/aLA==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:45:27 -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.0ms) +Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-22 15:45:33 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46:24 -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 (21.0ms) +Completed 200 OK in 57ms (Views: 46.0ms | ActiveRecord: 1.5ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:46:27 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"eySrRNNKYW4SrxA7ip8v7c+80XDVCthGuzA62Lov0R28r07zNthQpv9L4zXp1nHSW8T4XB0aA4jqquGWWs2KSg==", "task"=>{"complete"=>"true"}, "id"=>"5"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 5]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46:27 -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 23ms (Views: 21.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:46:29 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"90jBOpXmaJ9ni1tcy+/TNVBC2RQxpy6772l/BJE2ap8wwySNcHRZV4pvqFKopo0KxDrwOPm39XW+86RKcdQxyA==", "task"=>{"complete"=>"false"}, "id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 5]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46: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.0ms) +Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:46:31 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"gfeVpKkZfiTzIfsMT422XV8FBn+DoB8V5EC7ceZYU0pGfHATTItP7B7FCAIsxOhiy30vU0uwxNu12mA/BroIHQ==", "task"=>{"complete"=>"true"}, "id"=>"5"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 5]] +  (2.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46: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 (4.0ms) +Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 15:46:33 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"cG28TaAVS1Z+J9tcNlSRrgLNekRizYfUFVRtBSsy0/u35ln6RYd6npPDKFJVHc+RlrVTaKrdXBpEzrZLy9CIrA==", "task"=>{"complete"=>"false"}, "id"=>"5"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 5]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46: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 (3.2ms) +Completed 200 OK in 25ms (Views: 18.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-22 15:46:35 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"Aco8R4qiejoc2o3PaAVKFQ2fiLEXlWAUWx6q6AFN/pfGQdnwbzBL8vE+fsELTBQqmeehnd+Fu9oKhHGm4a+lwA==", "task"=>{"complete"=>"true"}, "id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 5]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:46:35 -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 26ms (Views: 23.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5" for 127.0.0.1 at 2017-09-22 15:46:38 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.0ms) +Completed 200 OK in 31ms (Views: 24.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/5/edit" for 127.0.0.1 at 2017-09-22 15:51:02 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"5"} + Task Load (1.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.2ms) +Completed 200 OK in 43ms (Views: 36.5ms | ActiveRecord: 1.1ms) + + +Started PATCH "/tasks/5" for 127.0.0.1 at 2017-09-22 15:51:06 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"R85Q9tmW4BZx19VfpQf9WmZweR4xm9FWNLaIJVfdBP9bEFb6J04mXrrHB+GzM3bzDuIAfNTe69Z41i/HGDhu2A==", "task"=>{"title"=>"Barrer", "description"=>"Barrer la sala", "duedate"=>"2017-09-20"}, "commit"=>"Editar Tarea", "id"=>"5"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "Barrer la sala"], ["id", 5]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks/5 +Completed 302 Found in 5ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks/5" for 127.0.0.1 at 2017-09-22 15:51:06 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 17.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 15:51:07 -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 (6.0ms) +Completed 200 OK in 37ms (Views: 30.8ms | ActiveRecord: 0.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 16:02: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 (6.3ms) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Complete): + 21:
  • + 22:

    + 23: <% if task.complete %> + 24: <%= link_to( task.title, task_path(task.id), id: Complete) %> + 25: <% else %> + 26: <%= link_to( task.title, task_path(task.id), id: NoComplete) %> + 27: <% end %> + +app/views/tasks/index.html.erb:24:in `block in _app_views_tasks_index_html_erb__2237456497580343063_70098715614400' +app/views/tasks/index.html.erb:20:in `_app_views_tasks_index_html_erb__2237456497580343063_70098715614400' +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 16:03:20 -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 (6.8ms) +Completed 200 OK in 122ms (Views: 118.8ms | ActiveRecord: 0.5ms) + + +Started PATCH "/tasks/2/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-22 16:03:25 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"NA8oYje7T9rSS9XOKeRsNfDoU7VkQ+0TCbLZUa4M0MHzhM3V0il+Ej+vJsBKrTIKZJB6maxTNt1YKAIfTu6Llg==", "task"=>{"complete"=>"false"}, "id"=>"2"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.8ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 2]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-22 16:03:25 -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.0ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:25:43 -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 (36.7ms) +Completed 200 OK in 157ms (Views: 133.6ms | ActiveRecord: 1.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:25:45 -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 (8.9ms) +Completed 200 OK in 47ms (Views: 41.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/4" for 127.0.0.1 at 2017-09-23 15:25:49 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (2.1ms) +Completed 200 OK in 41ms (Views: 31.9ms | ActiveRecord: 0.5ms) + + +Started GET "/tasks/4/edit" for 127.0.0.1 at 2017-09-23 15:25:50 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (11.4ms) +Completed 200 OK in 54ms (Views: 46.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/4" for 127.0.0.1 at 2017-09-23 15:26:04 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"xXFuz/l6GA6I5/j6+htM5pK4/28P4bucRgKFBcUWoPbxxe5MKgzfPsMncNpxwrTmzA2bPGHYGsWpyeyfVSo9Qg==", "task"=>{"title"=>"Ultimate", "description"=>"Anderson PArk", "duedate"=>"2017-09-19"}, "commit"=>"Editar Tarea", "id"=>"4"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.3ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Ultimate"], ["description", "Anderson PArk"], ["duedate", "2017-09-19"], ["id", 4]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks/4 +Completed 302 Found in 12ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks/4" for 127.0.0.1 at 2017-09-23 15:26:04 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 30ms (Views: 26.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:26:11 -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 (13.5ms) +Completed 200 OK in 93ms (Views: 87.5ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-23 15:26:16 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"ZcyvHVCLO96fKKJ3cJLKpHN8Qpo5MbLahFQK83xZeyGiR0qqtRkKFnLMUXkT25Sb5wRrtvEhaRTVztG9nLsgdg==", "task"=>{"complete"=>"true"}, "id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 4]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:26:16 -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.5ms) +Completed 200 OK in 39ms (Views: 34.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:27:18 -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 72ms (Views: 69.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-23 15:27:25 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"3rlSZsQR4I05upfbYRjlRL7UWu1tsYhZii0NphOvcSQZMrfRIYPRRdReZNUCUbt7KqxzwaWhU5fbt9bo800qcw==", "task"=>{"complete"=>"false"}, "id"=>"4"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 4]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:27:25 -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.5ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-23 15:30:35 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"1PpuiabK8YcTaZXW5mT404BHHksyrTKwEZX5hNVwJtETcYs+Q1jAT/6NZtiFLabsFD83Z/q96X5ADyLKNZJ9hg==", "task"=>{"complete"=>"false"}, "id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (1.6ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 5]] +  (1.7ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 3.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:30:35 -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 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:30: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.4ms) +Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-23 15:30:51 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"8KJmoozCdbREnzPoKImG2xJruC2ayC0lqMSs9UjOvO43KYMVaVBEfKl7wOZLwNjkhhORAVLY9uv5Xne7qCznuQ==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:30: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 (3.7ms) +Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-23 15:30:55 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"H6UzIJFiC8VmisNtYl6IROJSqCB6eg1JXTZl+sg9vePYLtaXdPA6DYtuMGMBF9Z7diqBDLJq1ocMrL60KN/mtA==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (2.1ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 8ms (ActiveRecord: 3.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:30: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.9ms) +Completed 200 OK in 103ms (Views: 99.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15: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.6ms) +Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-23 15:32:05 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"GJ//T3yK8UGp6/F5x0z3J0CShJbXlwDFC949YccUX5HfFBr4mRjAiUQPAnekBakY1Oqtuh+H2wtaROYvJ/YExg==", "task"=>{"complete"=>"false"}, "id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 0.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:32:05 -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.0ms) +Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-23 15:32:08 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"ZXs7aQx+VNzSXbeRS5EpZZFJcxuZPZBovJUjL7XYi3Ci8N7e6exlFD+5RJ8o2HdaBTFaN1EtS6btD/hhVTrQJw==", "task"=>{"complete"=>"false"}, "id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:32:08 -0700 +Processing by TasksController#index as HTML + Rendering tasks/index.html.erb within layouts/application + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" + Rendered tasks/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 37ms (Views: 31.9ms | ActiveRecord: 1.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:34: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.4ms) +Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/5/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-23 15:34:10 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"dcRH7zzcM7WOcsQNfErp8p0FDXFBPTa+j4OxzpKa3fqyT6JY2U4CfWOWNwMfA7fNCX0kXYkt7XDeGWqAcniGrQ==", "task"=>{"complete"=>"true"}, "id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.7ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 5]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.7ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:34:10 -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 23ms (Views: 20.8ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-23 15:34:13 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"Z6cAf4QDfuhdnc0gItC6Vzm7kWzxeqmQce41GK1DT/WgLOXIYZFPILB5Pi5BmeRorcO4QDlqcl4gdO5WTaEUog==", "task"=>{"complete"=>"true"}, "id"=>"4"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 4]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:34: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.3ms) +Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.6ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 15:34:15 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (6.1ms) +Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-23 15:34:29 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"JCnjdMPHll7ZNsg9bZFTz7X4wLOo0kMjzA6Zb+z1ycQwA+AWGG+vcUXqbAbH7+ZlMzYSu+O7r/FiDHcweVTtnw==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco", "duedate"=>"2017-09-20"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.8ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Pagar la luz"], ["description", "ir al banco"], ["duedate", "2017-09-20"], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 8ms (ActiveRecord: 2.8ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-23 15:34:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:34:31 -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 34ms (Views: 30.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/2/edit" for 127.0.0.1 at 2017-09-23 15:34:34 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.8ms) +Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.5ms) + + +Started PATCH "/tasks/2" for 127.0.0.1 at 2017-09-23 15:34:52 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"kiLn/QnRMFof++Na3KwAKQBwqWkd7QK6pYiqvb/5UI7+yGiCx//LXtxzd3QOJ+GbgST5cmzUr4vNFs4O9RQT1Q==", "task"=>{"title"=>"Llamar a Galdya", "description"=>"Cumpleanos", "duedate"=>"2017-09-23"}, "commit"=>"Editar Tarea", "id"=>"2"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "tasks" SET "title" = ?, "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["title", "Llamar a Galdya"], ["description", "Cumpleanos"], ["duedate", "2017-09-23"], ["id", 2]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/tasks/2 +Completed 302 Found in 7ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks/2" for 127.0.0.1 at 2017-09-23 15:34:52 -0700 +Processing by TasksController#show as HTML + 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.9ms) +Completed 200 OK in 21ms (Views: 17.8ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 15:34:57 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (7.3ms) +Completed 200 OK in 34ms (Views: 28.4ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-23 15:35:29 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"FoBPEuT4lziTjf7ljaT1wJyHzQf9MJVj+Sjsp7vr7pXfb0I0YAYfEe8VJPG4XDqNZ/iSHQUOPNRST+b6i73cRw==", "task"=>{"title"=>"Acampar", "description"=>"Ir de camping ", "duedate"=>"2017-09-24"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Acampar"], ["description", "Ir de camping "], ["duedate", "2017-09-24"], ["complete", "f"]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:35: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.8ms) +Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/2" for 127.0.0.1 at 2017-09-23 15:35:43 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"HB3IdI1WZRRO12x+ru27GL8BmZut1pKzexEw6Cp8Fq/bli3DaMRU3KMzn3DNpOUnK3mwt2XGSX0qi+umyp5N+A==", "id"=>"2"} + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 2]] +  (1.4ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:35: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.4ms) +Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 15:35:47 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.8ms) +Completed 200 OK in 33ms (Views: 29.0ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-23 15:35:50 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"N4TXHLQiNIoslwnCgnmc6m1lRyu6YgCqtNQ2pi6A0X8jrtR+b4oNpbBLrfkoBylA66uVI/EL7Hga1tj5uyH1JA==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco", "duedate"=>"2017-09-20"}, "commit"=>"Editar Tarea", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-23 15:35:50 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 15:35:52 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.7ms) +Completed 200 OK in 41ms (Views: 38.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:35: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 (7.8ms) +Completed 200 OK in 39ms (Views: 32.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 15:38:18 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.4ms) +Completed 200 OK in 45ms (Views: 41.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 15:38: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 (16.0ms) +Completed 200 OK in 53ms (Views: 47.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 15:38:22 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.9ms) +Completed 200 OK in 34ms (Views: 29.6ms | ActiveRecord: 0.2ms) + + From 7f716d6ab18fffd1b3c36eee387a045633c0e6ff Mon Sep 17 00:00:00 2001 From: Mariana Date: Sat, 30 Sep 2017 15:23:17 -0700 Subject: [PATCH 4/5] Wave 4 with some changes in style --- app/assets/stylesheets/tasks.scss | 30 +- app/views/tasks/edit.html.erb | 62 +- app/views/tasks/index.html.erb | 10 +- app/views/tasks/show.html.erb | 5 +- db/development.sqlite3 | Bin 28672 -> 28672 bytes log/development.log | 1013 +++++++++++++++++++++++++++++ 6 files changed, 1100 insertions(+), 20 deletions(-) diff --git a/app/assets/stylesheets/tasks.scss b/app/assets/stylesheets/tasks.scss index 208fffd2d..538ddfcf8 100644 --- a/app/assets/stylesheets/tasks.scss +++ b/app/assets/stylesheets/tasks.scss @@ -2,15 +2,26 @@ // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ + +@import url(https://fonts.google.com/specimen/Teko); + body { margin: 0; + } -div { - width: 80%; - margin: 0 auto; + +h1 { + font-family: 'Teko'; + text-align: center; + padding: 2%; + background-color: orange; + margin: 0px; + width: 100%; } + + #Complete { text-decoration: line-through; } @@ -23,6 +34,7 @@ ul { float: left; clear: left; margin-top: 2%; + margin-left: 2%; } @@ -34,11 +46,8 @@ ul il { margin-bottom: 10%; padding: 4%; text-align: center; -} -// h3 { -// font-weight: bold; -// } +} #list { float:right; @@ -46,9 +55,14 @@ ul il { border: 3px solid orange; border-radius: 17px; padding: 5%; - margin-right: 20%; + margin-right: 25%; margin-bottom: 5%; margin-top: 2%; + width: 30%; +} + +#list ul li { + margin-bottom: 2%; } footer { diff --git a/app/views/tasks/edit.html.erb b/app/views/tasks/edit.html.erb index 6de023c0c..be989c7cf 100644 --- a/app/views/tasks/edit.html.erb +++ b/app/views/tasks/edit.html.erb @@ -1,10 +1,58 @@ + + + + + + +
    +
    +

    + ¿Qué tengo que hacer? +

    +
      + + <%= link_to "Añadir Tarea", new_task_path %> + + + <%= link_to "Todas las tareas", tasks_path %> + +
    +
    + +
    +

    Editando Tarea

    +
      <%= form_for @task do |t| %> -<%= t.label "Actividad" %> -<%= t.text_field :title %> -<%= t.label "Descripción" %> -<%= t.text_field :description %> -<%= t.label "Fecha" %> -<%= t.date_field :duedate %> -<%= t.submit "Editar Tarea"%> +
    • + <%= t.label "Actividad" %> + <%= t.text_field :title %> +
    • +
    • + <%= t.label "Descripción" %> + <%= t.text_field :description %> +
    • +
    • + <%= t.label "Fecha" %> + <%= t.date_field :duedate %> +
    • + + + <%= t.submit "Guardar Cambios"%> + +
    + + + <% end %> + +
    + +
    + + +
    +

    + © 2017 +

    +
    diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index e3b778287..13c4fd833 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -1,9 +1,15 @@ -
    -
    + +

    ¿Qué tengo que hacer?

    + + + +
    +
    +
      <%= link_to "Añadir Tarea", new_task_path %> diff --git a/app/views/tasks/show.html.erb b/app/views/tasks/show.html.erb index e4adc81f9..f9e5e7550 100644 --- a/app/views/tasks/show.html.erb +++ b/app/views/tasks/show.html.erb @@ -28,11 +28,10 @@ <%= @task.duedate %> +<%= link_to( "Modificar", edit_task_path(@task.id)) %>
    -
    - <%= link_to( "Modificar", edit_task_path(@task.id)) %> -
    +
    diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 05b289b73547a63f9a0eecd171e1d2d80355b56f..a77847ee352cfe416454c194f7096ff3d80a320c 100644 GIT binary patch delta 181 zcmZp8z}WDBae_3X+e8^>Mz@U#OZfR%`MKHntNCy6ujc3GciJqd@RM&cx4cF@0|NuU zwxS}xPflWPVv&M5I~#+xwIaWBer`b#ke{2Mmsyfu1f>)T5{nWQax)e3(=wAY^Ae2= z49#^74Rj67()5_w7*zEY`2!Nuf!cBs6>>_eGK&-va}<&i^OEy{+`QCcuzCYaT_ck; WRaQ0zNlnGgo8)~37}*yYH~;`pxH8rN delta 153 zcmZp8z}WDBae_3X!$cWpMu&|FOZfR%__^8mE zwxS}xPflWPVv$0kf_q|4N@b#RX>LJIYGPh~v5|qHxvqhwu90z?1~VIjs`BJUc}X3( ns6iS71A`I}^Me?YULista de Tareas + 5: <%= csrf_meta_tags %> + 6: + 7: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 8: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + 9: + 10: + +app/assets/stylesheets/tasks.scss:56 +app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__3418329662923571072_70098705931520' +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:06:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.3ms) +Completed 200 OK in 47ms (Views: 43.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:06:53 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 51ms (Views: 48.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:06:55 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:07:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 50ms (Views: 47.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:07:06 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:07:13 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.2ms) +Completed 200 OK in 38ms (Views: 34.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:07:22 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.3ms) +Completed 200 OK in 46ms (Views: 42.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:07:54 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.3ms) +Completed 200 OK in 53ms (Views: 49.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:08:05 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 51ms (Views: 46.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:08:13 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.8ms) +Completed 200 OK in 49ms (Views: 45.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:08:32 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:15:46 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.5ms) +Completed 200 OK in 86ms (Views: 82.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:15:47 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.1ms) +Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:15: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 25ms (Views: 21.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:15:59 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.1ms) +Completed 200 OK in 64ms (Views: 59.8ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:16:00 -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 23ms (Views: 21.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:16:33 -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 62ms (Views: 57.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:16:35 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:16:41 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (12.0ms) +Completed 200 OK in 71ms (Views: 66.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:16:43 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.2ms) +Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:17:22 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.2ms) +Completed 200 OK in 94ms (Views: 91.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:17:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:18:25 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.1ms) +Completed 200 OK in 74ms (Views: 71.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:18:26 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.4ms) +Completed 200 OK in 37ms (Views: 33.4ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:21:21 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.4ms) +Completed 200 OK in 78ms (Views: 72.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:21:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (2.6ms) +Completed 200 OK in 26ms (Views: 21.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:21: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.1ms) +Completed 200 OK in 51ms (Views: 47.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:21:43 -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 26ms (Views: 22.9ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:23:36 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.7ms) +Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:23:39 -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.8ms) +Completed 200 OK in 36ms (Views: 29.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:24:18 -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.1ms) +Completed 200 OK in 56ms (Views: 53.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:25:44 -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.8ms) +Completed 200 OK in 70ms (Views: 66.1ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:26: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 (3.2ms) +Completed 200 OK in 82ms (Views: 78.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:26: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.1ms) +Completed 200 OK in 57ms (Views: 53.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:29:23 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (5.1ms) +Completed 200 OK in 64ms (Views: 59.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 16:29:31 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (2.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.5ms) +Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 2.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 16:31:48 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.9ms) +Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-23 16:31:54 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.0ms) +Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-23 16:31: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 (5.9ms) +Completed 200 OK in 35ms (Views: 28.9ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-23 16:32:00 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.0ms) +Completed 200 OK in 39ms (Views: 33.7ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-23 16:32:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"yYywtrRUYY69Ncdh8xXXiLv/7+LDTuK9l/9hfCG495PdprPUb/xYoSHpY1pZa2IiPTE96ognDm85/Y8jtBnTyA==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco hoy", "duedate"=>"2017-09-20"}, "commit"=>"Guardar Cambios", "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.8ms) UPDATE "tasks" SET "description" = ? WHERE "tasks"."id" = ? [["description", "ir al banco hoy"], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 9ms (ActiveRecord: 3.8ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-23 16:32:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 14:59:35 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (39.6ms) +Completed 200 OK in 376ms (Views: 346.7ms | ActiveRecord: 1.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 14: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 (5.5ms) +Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15: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.2ms) +Completed 200 OK in 73ms (Views: 69.6ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:03: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 (6.2ms) +Completed 200 OK in 94ms (Views: 90.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:04: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 (3.5ms) +Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:04: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.7ms) +Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:05:13 -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.4ms) +Completed 200 OK in 49ms (Views: 45.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:05: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.6ms) +Completed 200 OK in 45ms (Views: 41.7ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:06:00 -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.5ms) +Completed 200 OK in 60ms (Views: 56.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:06:33 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.1ms) +Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-30 15:06:48 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"XyTPfMluHRGLIbUlZtRiClaInneChD3fDD/7JBycX4vMEljFkCATE9jWMqxvNk0UZF4D1Lbndn0t48uNWig5wg==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco lunes", "duedate"=>"2017-09-24"}, "commit"=>"Guardar Cambios", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "description" = ?, "duedate" = ? WHERE "tasks"."id" = ? [["description", "ir al banco lunes"], ["duedate", "2017-09-24"], ["id", 3]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 7ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:06:48 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:06:58 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.0ms) +Completed 200 OK in 36ms (Views: 29.5ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-30 15:07:00 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"7gj/4VsmXn0OF6oeULV5nl8UUvMVfjaFxYKm6Os7vFZ9PmhYAmhQf13gLZdZV1aAbcLPUCEdfSfkXpZBrY/aHw==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco lunes", "duedate"=>"2017-09-24"}, "commit"=>"Guardar Cambios", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:07:00 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:07:04 -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 (6.2ms) +Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:07:05 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (5.3ms) +Completed 200 OK in 49ms (Views: 42.7ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3" for 127.0.0.1 at 2017-09-30 15:07:08 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"EwX0PySeFqj7asjh+XsUmUT+92gU950bvnc68kZUiKSAM2OGfdAYqqidT2jwmTuHdihqyyCU1rmfqwpbAODu7Q==", "task"=>{"title"=>"Pagar la luz", "description"=>"ir al banco lunes", "duedate"=>"2017-09-24"}, "commit"=>"Guardar Cambios", "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3000/tasks/3 +Completed 302 Found in 3ms (ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:07:08 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 27ms (Views: 22.3ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:08:28 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 47ms (Views: 45.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:08:46 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:10:54 -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.4ms) +Completed 200 OK in 40ms (Views: 36.0ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:10:58 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:12:54 -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 37ms (Views: 31.1ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:13:54 -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 (7.1ms) +Completed 200 OK in 44ms (Views: 36.6ms | ActiveRecord: 0.9ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:13:55 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 36ms (Views: 29.6ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3" for 127.0.0.1 at 2017-09-30 15:14:09 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 24ms (Views: 20.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:14:12 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.8ms) +Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:14:56 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.1ms) +Completed 200 OK in 48ms (Views: 45.5ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:14:58 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.4ms) +Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:16:37 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.6ms) +Completed 500 Internal Server Error in 35ms (ActiveRecord: 0.1ms) + + + +ActionView::Template::Error (Invalid CSS after "...in-bottom: 10 %": expected expression (e.g. 1px, bold), was ";"): + 4: Lista de Tareas + 5: <%= csrf_meta_tags %> + 6: + 7: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 8: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + 9: + 10: + +app/assets/stylesheets/tasks.scss:46 +app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__1254376865754282569_70212894518720' +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:16:51 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.5ms) +Completed 200 OK in 47ms (Views: 45.0ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:17:04 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.1ms) +Completed 200 OK in 48ms (Views: 43.2ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:17:25 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (2.2ms) +Completed 200 OK in 50ms (Views: 44.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:17:40 -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 39ms (Views: 33.7ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:17: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 (7.6ms) +Completed 200 OK in 37ms (Views: 31.4ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/3/edit" for 127.0.0.1 at 2017-09-30 15:17:45 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (3.8ms) +Completed 200 OK in 47ms (Views: 39.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:17:47 -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: 37.3ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:17: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 (5.9ms) +Completed 200 OK in 46ms (Views: 42.9ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-30 15:17:50 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"gBxoi3YV45xXNGDfOqFvfDq1Hv1VUuJtf8nzm4ycPHgbqHophmTnbPudyalrxsdq8s7prYDX8nnsa3aQ4gyO6w==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (2.2ms) 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-30 15:17:50 -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.1ms) +Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-30 15:17:52 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"QvpmW9wMCb2EL7Yoc44nVmMKix4VIuOLqyvPQ1TDAoPZTnT5LH0NTSiGH14i6Y9Aq3F8TsCn8584iUpIOlOwEA==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:17:52 -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: 26.3ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:19:50 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (3.0ms) +Completed 200 OK in 41ms (Views: 35.7ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-30 15:20:16 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"AI+CfKIgN4lRxHN9vhrkh3PUwThvbSn1KqnX/8WAmS7ufg+v5go9V5ZXT/P5OtUXZbtXo+ItwWmdzzT+qyQ/UQ==", "task"=>{"title"=>"Comprar monitor", "description"=>"monitor para mi oficina", "duedate"=>"2017-10-17"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Comprar monitor"], ["description", "monitor para mi oficina"], ["duedate", "2017-10-17"], ["complete", "f"]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:20: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 (4.5ms) +Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-30 15:20:27 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.5ms) +Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/7/edit" for 127.0.0.1 at 2017-09-30 15:20:31 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"7"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.7ms) +Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/7" for 127.0.0.1 at 2017-09-30 15:20:36 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"6d5p9liM3/HGZLTvhZwn6b2ZWok0P88WESJlW/Avfbpd/fRlzRMV1F6aYsIT+B465uaRQfInBzrvMw+bpyGgEQ==", "task"=>{"title"=>"Comprar monitor", "description"=>"monitor para mi oficina", "duedate"=>"2017-10-16"}, "commit"=>"Guardar Cambios", "id"=>"7"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "duedate" = ? WHERE "tasks"."id" = ? [["duedate", "2017-10-16"], ["id", 7]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks/7 +Completed 302 Found in 6ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-30 15:20:36 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:20:38 -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 38ms (Views: 34.2ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/7" for 127.0.0.1 at 2017-09-30 15:20:43 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"7"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 7], ["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: 30.5ms | ActiveRecord: 0.2ms) + + From 5b44d8fcf789030ff4acc3dd35e2016de16ed438 Mon Sep 17 00:00:00 2001 From: Mariana Date: Thu, 5 Oct 2017 14:52:19 -0700 Subject: [PATCH 5/5] Link from trip page goes back to passenger --- db/development.sqlite3 | Bin 28672 -> 28672 bytes log/development.log | 276 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 276 insertions(+) diff --git a/db/development.sqlite3 b/db/development.sqlite3 index a77847ee352cfe416454c194f7096ff3d80a320c..3eac882434c9c4acaf0aaf35cbb457c849e933c7 100644 GIT binary patch delta 286 zcmYjMJxc>Y6ud1|f{-WJCBnU{f<@q>g~%dmqGce3So^%)jr)<3Gn BTy+2d delta 84 zcmV-a0IUCi-~oW(0gxL3Mv)vt0Y"✓", "authenticity_token"=>"zBzO83pi7ZqSSqWZ39C94zBn3U3SS2JXi8XGGwo7uWQi7UMgPkjnRFXZmReY8IxzJghL1l8Liss8oyUaZJ8fGw==", "task"=>{"title"=>"Sleep", "description"=>"many hours", "duedate"=>"1979-12-13"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Sleep"], ["description", "many hours"], ["duedate", "1979-12-13"], ["complete", "f"]] +  (2.0ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:41:10 -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 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.2ms) + + +Started DELETE "/tasks/8" for 127.0.0.1 at 2017-09-30 15:41:18 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"6CaTmsw0KMnliEOktXd0jIOUL2R9zr+0WxxLuN+8obRzkoE4PEUsOUkh6tLkENyaS+/YNKhLr6DIvs6zsSwTJw==", "id"=>"8"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 8]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:41:18 -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.2ms) +Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:41:20 -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 35ms (Views: 29.3ms | ActiveRecord: 0.0ms) + + +Started POST "/tasks" for 127.0.0.1 at 2017-09-30 15:43:10 -0700 +Processing by TasksController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"BOY7rbC/1ItYEbez4l/zqhcgyFlHCTdn0yIzb+XLzlLqF7Z+9JXeVZ+Ciz2lf8I6AU9ewspJ3/tkRNBui29oLQ==", "task"=>{"title"=>"Give Mariana a kiss", "description"=>"en la boca con mi lengua y despues c;lkjl;kjsa;ldfkjal;sdjkfl;askjdf;ladjf;lasjdfl;askjdf;laskjdf;lasjfoeiwpoiwejvkd kwe a jf alkjf fe lakjfla jkfwe df", "duedate"=>"2017-09-30"}, "commit"=>"Crear Tarea"} +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "tasks" ("title", "description", "duedate", "complete") VALUES (?, ?, ?, ?) [["title", "Give Mariana a kiss"], ["description", "en la boca con mi lengua y despues c;lkjl;kjsa;ldfkjal;sdjkfl;askjdf;ladjf;lasjdfl;askjdf;laskjdf;lasjfoeiwpoiwejvkd kwe a jf alkjf fe lakjfla jkfwe df"], ["duedate", "2017-09-30"], ["complete", "f"]] +  (1.9ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.3ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43:10 -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.2ms) +Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/9" for 127.0.0.1 at 2017-09-30 15:43:18 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"9"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.4ms) +Completed 200 OK in 33ms (Views: 27.8ms | ActiveRecord: 0.3ms) + + +Started GET "/tasks/9/edit" for 127.0.0.1 at 2017-09-30 15:43:21 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"9"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.5ms) +Completed 200 OK in 41ms (Views: 33.3ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/9" for 127.0.0.1 at 2017-09-30 15:43:29 -0700 +Processing by TasksController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"CfXU5afGz2B5CId1JAJsYRyyLIU6x0pFHgD1dp62JzJfQZ16Vr+vwfr6fR3oUB+hC7KgnBVQvbxlVIta7sOomQ==", "task"=>{"title"=>"Don't give Mariana a kiss", "description"=>"en la boca con mi lengua y despues c;lkjl;kjsa;ldfkjal;sdjkfl;askjdf;ladjf;lasjdfl;askjdf;laskjdf;lasjfoeiwpoiwejvkd kwe a jf alkjf fe lakjfla jkfwe df", "duedate"=>"2017-09-30"}, "commit"=>"Guardar Cambios", "id"=>"9"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "title" = ? WHERE "tasks"."id" = ? [["title", "Don't give Mariana a kiss"], ["id", 9]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks/9 +Completed 302 Found in 5ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks/9" for 127.0.0.1 at 2017-09-30 15:43:29 -0700 +Processing by TasksController#show as HTML + Parameters: {"id"=>"9"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + Rendering tasks/show.html.erb within layouts/application + Rendered tasks/show.html.erb within layouts/application (1.0ms) +Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.1ms) + + +Started GET "/tasks/9/edit" for 127.0.0.1 at 2017-09-30 15:43:32 -0700 +Processing by TasksController#edit as HTML + Parameters: {"id"=>"9"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + Rendering tasks/edit.html.erb within layouts/application + Rendered tasks/edit.html.erb within layouts/application (4.4ms) +Completed 200 OK in 34ms (Views: 28.9ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43: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 (7.0ms) +Completed 200 OK in 36ms (Views: 30.1ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-30 15:43:41 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"vgKowI7BRvsh1wRwLwA1DGVF51iPMyFP11Pdst6eXRgltrpifrBCC41+rQZ+Z50arT4QCFq2MVtE8Vi5sA7viw==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (1.8ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.5ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43: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.6ms) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/4/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-30 15:43:43 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"m6rsUA/9QCZXwM/1woRTi0c6bu5ph2lpboYowKCJ3vwAHv7y/4xE1vtpZoOT4/udj0GZvrwCeX39JK3Lzhlsbw==", "task"=>{"complete"=>"false"}, "id"=>"4"} + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 4]] +  (1.6ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 6ms (ActiveRecord: 2.6ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43: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.3ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=false" for 127.0.0.1 at 2017-09-30 15:43:44 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"oILKhYDhRyHHB0Up4GlGbdaAHB5Sn3tdzq8Xrg1DHXc7NtgncJBD0Wuu7F+xDu57HvvrTocaa0ldDZKlY9Ov5A==", "task"=>{"complete"=>"false"}, "id"=>"3"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "f"], ["id", 3]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 5ms (ActiveRecord: 2.1ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43: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 (3.6ms) +Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms) + + +Started PATCH "/tasks/3/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-30 15:43:44 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"ZPJ1OXNEyoBt1fhp8h3/thU+FtJsP/eOQmbhbWY8R6z/RmebgzXOcMF8UR+jeleg3UXhgrm655rRxGRmCKz1Pw==", "task"=>{"complete"=>"true"}, "id"=>"3"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 3]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 2.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43:44 -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 22ms (Views: 19.2ms | ActiveRecord: 0.2ms) + + +Started PATCH "/tasks/6/mark?task%5Bcomplete%5D=true" for 127.0.0.1 at 2017-09-30 15:43:53 -0700 +Processing by TasksController#mark as HTML + Parameters: {"authenticity_token"=>"AaZlmgiOgwpwwXR4I7W7Ykkf5lnal228e2jlxlhMzF+aEnc4+P+H+txo3Q5y0hN0gWQRCQ8SfajoymDNNtx+zA==", "task"=>{"complete"=>"true"}, "id"=>"6"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.6ms) UPDATE "tasks" SET "complete" = ? WHERE "tasks"."id" = ? [["complete", "t"], ["id", 6]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 7ms (ActiveRecord: 2.4ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:43: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 (3.4ms) +Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.2ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:43:55 -0700 +Processing by TasksController#new as HTML + Rendering tasks/new.html.erb within layouts/application + Rendered tasks/new.html.erb within layouts/application (4.9ms) +Completed 200 OK in 35ms (Views: 31.0ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:44:11 -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 43ms (Views: 35.9ms | ActiveRecord: 0.4ms) + + +Started GET "/tasks/new" for 127.0.0.1 at 2017-09-30 15:44:21 -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 44ms (Views: 37.5ms | ActiveRecord: 0.0ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:44:35 -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 (7.5ms) +Completed 200 OK in 53ms (Views: 44.8ms | ActiveRecord: 0.3ms) + + +Started DELETE "/tasks/9" for 127.0.0.1 at 2017-09-30 15:44:39 -0700 +Processing by TasksController#destroy as HTML + Parameters: {"authenticity_token"=>"kvQYgNl09T8+B3QKdTrO/9dNE5C6/wbExOaFVw2f7lMJQAoiKQXxz5Ku3XwkXWbpHzbkwG96FtBXRABcYw9cwA==", "id"=>"9"} + Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 9]] +  (1.5ms) commit transaction +Redirected to http://localhost:3000/tasks +Completed 302 Found in 4ms (ActiveRecord: 1.9ms) + + +Started GET "/tasks" for 127.0.0.1 at 2017-09-30 15:44:39 -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 23ms (Views: 19.4ms | ActiveRecord: 0.3ms) + +