diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..458fd8a69 --- /dev/null +++ b/Gemfile @@ -0,0 +1,62 @@ +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 + +gem 'awesome_print' +gem 'faker' +gem 'pry' + +group :development do + gem "better_errors" + gem "binding_of_caller" +end + +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +gem 'rails', '~> 5.1.4' +# Use postgresql as the database for Active Record +gem 'pg', '~> 0.18' +# 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..1b1f95a47 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,217 @@ +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) + awesome_print (1.8.0) + better_errors (2.3.0) + coderay (>= 1.0.0) + erubi (>= 1.0.0) + rack (>= 0.9.0) + bindex (0.5.0) + binding_of_caller (0.7.2) + debug_inspector (>= 0.0.1) + 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) + coderay (1.1.1) + 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) + debug_inspector (0.0.3) + erubi (1.6.1) + execjs (2.7.0) + faker (1.8.4) + i18n (~> 0.5) + 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) + pg (0.21.0) + pry (0.10.4) + coderay (~> 1.1.0) + method_source (~> 0.8.1) + slop (~> 3.4) + 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) + slop (3.6.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) + 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 + awesome_print + better_errors + binding_of_caller + byebug + capybara (~> 2.13) + coffee-rails (~> 4.2) + faker + jbuilder (~> 2.5) + listen (>= 3.0.5, < 3.2) + pg (~> 0.18) + pry + puma (~> 3.7) + rails (~> 5.1.4) + sass-rails (~> 5.0) + selenium-webdriver + spring + spring-watcher-listen (~> 2.0.0) + turbolinks (~> 5) + tzinfo-data + uglifier (>= 1.3.0) + web-console (>= 3.3.0) + +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/task_list.coffee b/app/assets/javascripts/task_list.coffee new file mode 100644 index 000000000..24f83d18b --- /dev/null +++ b/app/assets/javascripts/task_list.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/banana-slices.jpg b/app/assets/stylesheets/banana-slices.jpg new file mode 100644 index 000000000..b78af1396 Binary files /dev/null and b/app/assets/stylesheets/banana-slices.jpg differ diff --git a/app/assets/stylesheets/task_list.scss b/app/assets/stylesheets/task_list.scss new file mode 100644 index 000000000..93d658aaf --- /dev/null +++ b/app/assets/stylesheets/task_list.scss @@ -0,0 +1,130 @@ +// Place all the styles related to the TaskList controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ + +// font-family: 'Sedgwick Ave', cursive; +// font-family: 'Walter Turncoat', cursive; +// font-family: 'Homemade Apple', cursive; + +//STYLING USED THROUGHOUT + +a:hover { + color: blue; +} + +// APPLICATION.HTML.ERB + +html { + background-image: url(banana-slices.jpg); + background-repeat: repeat; + font-family: 'Sedgwick Ave', cursive; +} + +footer.art-credit { + display: flex; + justify-content: center; +} + +.credit { + padding: 50px; +} + +.header { + padding-left: 15px; +} + +.task-list-header { + margin: 0; + padding-bottom: 0; +} +.dont-go-bananas { + margin: 0; +} + +.top-menu { + list-style: none; +} + +// INDEX.HTML.ERB + +.all-content-container { + display: flex; +} + +.inline-menu-container { + margin: 0; + padding: 0; +} + +.task-completion-date { + display: block; +} + +li { + line-height: 2; +} + +h2.your-tasks { + margin-left: 10px; + margin-top: 15px; + margin-bottom: 0; +} + +.list-container { + margin-top: 8px; +} + +.tasks-container { + display: block; + background-color: rgba(255,255,255,0.7); + width: 600px; + margin: auto; + border: 10px solid rgba(255,255,255,0.7); +} + +.task-actions { + font-size: .8em; +} + +.task-actions { + padding-bottom: 10px; +} + +.counter { + display: none; +} + +.strike-through { + text-decoration: line-through; + display: inline-block; +} + +.completion-date { + display: inline-block; +} + +// APPLICATION.HTML + +.menu-container { + display: block; + background-color: rgba(255,255,255,0.7); + margin: auto; + margin-left: 12px; +} + +// SHOW.HTML.ERB + +.show-info { + list-style: none; +} + +// NEW.HTML + +.form-page { + margin-left: 12px; + line-height: 1.8em; +} + +.form-header { + margin-bottom: 5px; +} diff --git a/app/assets/stylesheets/tropical-leaves.jpg b/app/assets/stylesheets/tropical-leaves.jpg new file mode 100644 index 000000000..9c1c84e9d Binary files /dev/null and b/app/assets/stylesheets/tropical-leaves.jpg differ 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/task_list_controller.rb b/app/controllers/task_list_controller.rb new file mode 100644 index 000000000..4df190478 --- /dev/null +++ b/app/controllers/task_list_controller.rb @@ -0,0 +1,87 @@ +class TaskListController < ApplicationController + # TASK_LIST = [ + # {id: 1, status: false, action: "Master Rails"}, + # {id: 2, status: false, action: "Learn how to cook palak paneer"}, + # {id: 3, status: false, action: "Laundry"}, + # {id: 4, status: false, action: "Go for a walk"} + # ] + + def index + # @task_list = TASK_LIST + @tasks = Task.order(:id) + + # @tasks.sort_by { |task| Date.strptime(task.completion_date, "%m/%d/%Y") } + + # @tasks = Task.order(Date.strptime(:completion_date, "%m/%d/%Y")) + end + + def show + + @task = Task.find( params[:id].to_i ) + # id = params[:id].to_i + # @task = nil + # TASK_LIST.each do |task| + # if task[:id] == id + # @task = task + # end + # end + end + + def edit + @task = Task.find_by(id: params[:id].to_i) + + unless @task + redirect_to root_path + end + end + + def update + task = Task.find_by(id: params[:id].to_i) + redirect_to task_path unless task + + if task.update_attributes task_params + redirect_to root_path + else + render :edit + end + end + + def new + @task = Task.new + end + + def create + @task = Task.new(completion_date: nil, name: params[:task][:name], action: params[:task][:action], status: params[:task][:status]) + + if @task.save + redirect_to root_path #root_path refers to "root to" in the controller + else + render :new + end + end + + def destroy + Task.find_by(id: params[:id].to_i).destroy + redirect_to root_path + end + + #create a method to toggle status - use update method + def mark_complete + @task = Task.find(params[:id].to_i) + @task.status ? @task.update(status: false, completion_date: nil) : @task.update(status: true, completion_date: Date.today) + redirect_to root_path + end + + def update_completion_date + @task = Task.find(params[:id].to_i) + @task.status ? @task.update(completion_date: Date.today) : @task.update(completion_date: nil) + redirect_to root_path + end + + private + + def task_params + return params.require(:task).permit(:name, :action, :completion_date, :status) + 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/task_list_helper.rb b/app/helpers/task_list_helper.rb new file mode 100644 index 000000000..38158625b --- /dev/null +++ b/app/helpers/task_list_helper.rb @@ -0,0 +1,2 @@ +module TaskListHelper +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..145c60d79 --- /dev/null +++ b/app/views/layouts/application.html.erb @@ -0,0 +1,25 @@ + + + + + TaskList + <%= csrf_meta_tags %> + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + + +
+

Task List

+

Don't Go Bananas - Make a List!

+
+ + + <%= 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/task_list/_form.html.erb b/app/views/task_list/_form.html.erb new file mode 100644 index 000000000..4924bf229 --- /dev/null +++ b/app/views/task_list/_form.html.erb @@ -0,0 +1,24 @@ +<%= form_for @task do |f| %> +
+ <%= f.label :name, "task:"%> + <%= f.text_field :name, :size => 50 %> +
+ +
+ <%= f.label(:status, "task status:") %> + <%= f.radio_button(:status, true) %> + <%= f.label(:status, "completed") %> + <%= f.radio_button(:status, false) %> + <%= f.label(:status, "incomplete") %> +
+ +
+ <%= f.text_area :action, size: "41x1"%> +
+ + + <%= f.submit "save task"%> + + +<% end %> diff --git a/app/views/task_list/_main-page-menu.html.erb b/app/views/task_list/_main-page-menu.html.erb new file mode 100644 index 000000000..ff5a270ef --- /dev/null +++ b/app/views/task_list/_main-page-menu.html.erb @@ -0,0 +1,8 @@ + +
diff --git a/app/views/task_list/create.html.erb b/app/views/task_list/create.html.erb new file mode 100644 index 000000000..c1c249606 --- /dev/null +++ b/app/views/task_list/create.html.erb @@ -0,0 +1,6 @@ +

TaskList#create

+ +

+<%= params %> + +

Find me in app/views/task_list/create.html.erb

diff --git a/app/views/task_list/destroy.html.erb b/app/views/task_list/destroy.html.erb new file mode 100644 index 000000000..662b53685 --- /dev/null +++ b/app/views/task_list/destroy.html.erb @@ -0,0 +1,2 @@ +

TaskList#destroy

+

Find me in app/views/task_list/destroy.html.erb

diff --git a/app/views/task_list/edit.html.erb b/app/views/task_list/edit.html.erb new file mode 100644 index 000000000..a97f0ae70 --- /dev/null +++ b/app/views/task_list/edit.html.erb @@ -0,0 +1,13 @@ + + +
+ +<%= render partial: "main-page-menu" %> + +

edit the task!

+ +<%= render partial: "form" %> + +
+ + diff --git a/app/views/task_list/index.html.erb b/app/views/task_list/index.html.erb new file mode 100644 index 000000000..b07620403 --- /dev/null +++ b/app/views/task_list/index.html.erb @@ -0,0 +1,48 @@ + + + + +
+ +
+ +
+ +

Your Tasks:

+
    + <% @tasks.each do |task| %> +
  1. + + <%if task.status%> +
    +
    + <%=task.name%> +
    +
    completed on: <%= task.completion_date%>
    +
    + + <%else%> +
    + <%=task.name%> +
    + <%end%> +
  2. +
    + <%=link_to (task.status ? "unmark complete" : "mark complete"), mark_complete_path(task.id), method: :patch, alt: "mark complete", class: "mark-complete" %> | <%=link_to "details", task_path(task.id)%> | <%=link_to "edit", edit_task_path(task.id)%> | <%=link_to "delete", destroy_task_path(task.id), method: :delete %> +
    + <%end%> + + +
+ +
+ diff --git a/app/views/task_list/new.html.erb b/app/views/task_list/new.html.erb new file mode 100644 index 000000000..25f457473 --- /dev/null +++ b/app/views/task_list/new.html.erb @@ -0,0 +1,14 @@ + +
+ +<%= render partial: "main-page-menu" %> + +

add a task!

+ +<%= render partial: "form" %> + +
+ + + + diff --git a/app/views/task_list/show.html.erb b/app/views/task_list/show.html.erb new file mode 100644 index 000000000..6c3391cf9 --- /dev/null +++ b/app/views/task_list/show.html.erb @@ -0,0 +1,30 @@ + + + + + +<%= render partial: "main-page-menu" %> + +
+ +<% if @task %> + +<%=link_to (@task.status ? "unmark complete" : "mark complete"), mark_complete_path(@task.id), method: :patch, alt: "mark complete", class: "mark-complete" %> | <%=link_to "edit", edit_task_path(@task.id) %> | <%= link_to "delete", destroy_task_path(@task.id), method: :delete %> +
    +
  • task: <%=@task[:name]%>

  • +
  • details: <%= @task[:action]%>

  • +
  • status: + <%= @task.status ? "completed on #{@task.completion_date}" : "not yet complete" %>

  • +
+ <%else%> +

404: Not Found

+ +<% end %> + +
+ + + + diff --git a/app/views/task_list/update.html.erb b/app/views/task_list/update.html.erb new file mode 100644 index 000000000..834ea8077 --- /dev/null +++ b/app/views/task_list/update.html.erb @@ -0,0 +1,5 @@ +

TaskList#update

+ +<%= params %> + +

Find me in app/views/task_list/update.html.erb

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..40243c8b5 --- /dev/null +++ b/config/database.yml @@ -0,0 +1,85 @@ +# PostgreSQL. Versions 9.1 and up are supported. +# +# Install the pg driver: +# gem install pg +# On OS X with Homebrew: +# gem install pg -- --with-pg-config=/usr/local/bin/pg_config +# On OS X with MacPorts: +# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config +# On Windows: +# gem install pg +# Choose the win32 build. +# Install PostgreSQL and put its /bin directory on your path. +# +# Configure Using Gemfile +# gem 'pg' +# +default: &default + adapter: postgresql + encoding: unicode + # For details on connection pooling, see Rails configuration guide + # http://guides.rubyonrails.org/configuring.html#database-pooling + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + +development: + <<: *default + database: TaskList_development + + # The specified database role being used to connect to postgres. + # To create additional roles in postgres see `$ createuser --help`. + # When left blank, postgres will use the default role. This is + # the same name as the operating system user that initialized the database. + #username: TaskList + + # The password associated with the postgres role (username). + #password: + + # Connect on a TCP socket. Omitted by default since the client uses a + # domain socket that doesn't need configuration. Windows does not have + # domain sockets, so uncomment these lines. + #host: localhost + + # The TCP port the server listens on. Defaults to 5432. + # If your server runs on a different port number, change accordingly. + #port: 5432 + + # Schema search path. The server defaults to $user,public + #schema_search_path: myapp,sharedapp,public + + # Minimum log levels, in increasing order: + # debug5, debug4, debug3, debug2, debug1, + # log, notice, warning, error, fatal, and panic + # Defaults to warning. + #min_messages: notice + +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: + <<: *default + database: TaskList_test + +# As with config/secrets.yml, you never want to store sensitive information, +# like your database password, in your source code. If your source code is +# ever seen by anyone, they now have access to your database. +# +# Instead, provide the password as a unix environment variable when you boot +# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database +# for a full rundown on how to provide these environment variables in a +# production deployment. +# +# On Heroku and other platform providers, you may have a full connection URL +# available as an environment variable. For example: +# +# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase" +# +# You can use this database configuration with: +# +# production: +# url: <%= ENV['DATABASE_URL'] %> +# +production: + <<: *default + database: TaskList_production + username: TaskList + password: <%= ENV['TASKLIST_DATABASE_PASSWORD'] %> diff --git a/config/environment.rb b/config/environment.rb new file mode 100644 index 000000000..426333bb4 --- /dev/null +++ b/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require_relative 'application' + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb new file mode 100644 index 000000000..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..f0e9b78a7 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,22 @@ +Rails.application.routes.draw do + + root to: 'task_list#index' #WHAT DOES THIS DO? + + get '/task_list', to: 'task_list#index', as: 'tasks' #tasks_path + + get '/task_list/:id/edit', to: 'task_list#edit', as: 'edit_task' #edit_task_path + + get '/task_list/new', to: 'task_list#new', as: 'new_task' #new_task_path + + get '/task_list/:id', to: 'task_list#show', as: 'task' #task_path + + patch '/task_list/:id/mark_complete', to: 'task_list#mark_complete', as: 'mark_complete' # mark_complete_path + + patch '/task_list/:id', to: 'task_list#update', as: 'update_task' #update_task_path + + post '/task_list', to: 'task_list#create', as: 'create_task' #create_task_path + + delete '/task_list/:id', to: 'task_list#destroy', as: "destroy_task" #destroy_task_path + + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html +end diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 000000000..a2dafe8c5 --- /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: d2d0989bc33cced4b0ebf3c4ccdf37cde2d6a82cded682c26bd3e15c4a41cb27b5e3023d1be9d1c8488342b365492bb2c481622d5554df2396b32fb4f9026025 + +test: + secret_key_base: 91a1d9e07537bc635ccc29d2e270ef615761e50af69f599135bbc0c8b913a5967b81633539b6398dfd2c501cb2a03132914e64e0f664d45189f0edf4b145b191 + +# 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/migrate/20170919220018_create_tasks.rb b/db/migrate/20170919220018_create_tasks.rb new file mode 100644 index 000000000..b59e002ef --- /dev/null +++ b/db/migrate/20170919220018_create_tasks.rb @@ -0,0 +1,10 @@ +class CreateTasks < ActiveRecord::Migration[5.1] + def change + create_table :tasks do |t| + t.boolean :status + t.string :action + + t.timestamps + end + end +end diff --git a/db/migrate/20170919220634_add_completion_date_to_task_list.rb b/db/migrate/20170919220634_add_completion_date_to_task_list.rb new file mode 100644 index 000000000..cac4cd3bb --- /dev/null +++ b/db/migrate/20170919220634_add_completion_date_to_task_list.rb @@ -0,0 +1,5 @@ +class AddCompletionDateToTaskList < ActiveRecord::Migration[5.1] + def change + add_column(:tasks, :completion_date, :string) + end +end diff --git a/db/migrate/20170920221354_add_name_to_tasklist.rb b/db/migrate/20170920221354_add_name_to_tasklist.rb new file mode 100644 index 000000000..9adf47df6 --- /dev/null +++ b/db/migrate/20170920221354_add_name_to_tasklist.rb @@ -0,0 +1,5 @@ +class AddNameToTasklist < ActiveRecord::Migration[5.1] + def change + add_column(:tasks, :name, :string) + end +end diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 000000000..3abdc014f --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,27 @@ +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# Note that this schema.rb definition is the authoritative source for your +# database schema. If you need to create the application database on another +# system, you should be using db:schema:load, not running all the migrations +# from scratch. The latter is a flawed and unsustainable approach (the more migrations +# you'll amass, the slower it'll run and the greater likelihood for issues). +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 20170920221354) do + + # These are extensions that must be enabled in order to support this database + enable_extension "plpgsql" + + create_table "tasks", force: :cascade do |t| + t.boolean "status" + t.string "action" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.string "completion_date" + t.string "name" + 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..5bf8bcf38 --- /dev/null +++ b/log/development.log @@ -0,0 +1,19678 @@ +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:14:30 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 449ms (Views: 271.7ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:14:37 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (110.4ms) +Completed 500 Internal Server Error in 115ms + + + +ActionView::Template::Error (undefined method `delete_task_path' for #<#:0x007ff65a849420> +Did you mean? edit_task_path): + 3: <% if @task %> + 4: <%= link_to "Full Task List", task_list_path(@task) %> + 5: <%= link_to "Edit", edit_task_path(@task[:id]) %> + 6: <%= link_to "Delete", delete_task_path(@task[:id]), method: :delete %> + 7: + 8:

+ 9: <%= @task[:id]%> + +app/views/task_list/show.html.erb:6:in `_app_views_task_list_show_html_erb__1996608392203067417_70348028661500' +Started GET "/task_list/edit" for 127.0.0.1 at 2017-09-18 16:14:42 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"edit"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (145.7ms) +Completed 500 Internal Server Error in 150ms + + + +ActionView::Template::Error (undefined local variable or method `books_path' for #<#:0x007ff65900a580>): + 20: + 21: <% end %> + 22: + 23: <%=link_to "Home", books_path %> + 24: + 25: + +app/views/task_list/show.html.erb:23:in `_app_views_task_list_show_html_erb__1996608392203067417_70348015949740' +Started GET "/task_list/show" for 127.0.0.1 at 2017-09-18 16:14:48 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"show"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (156.9ms) +Completed 500 Internal Server Error in 161ms + + + +ActionView::Template::Error (undefined local variable or method `books_path' for #<#:0x007ff65bacd6c8>): + 20: + 21: <% end %> + 22: + 23: <%=link_to "Home", books_path %> + 24: + 25: + +app/views/task_list/show.html.erb:23:in `_app_views_task_list_show_html_erb__1996608392203067417_70348038369380' +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:17:37 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.2ms) +Completed 200 OK in 20ms (Views: 18.5ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:22:39 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 14ms (Views: 12.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:23:00 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 13ms (Views: 11.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:23:27 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 15ms (Views: 13.1ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:24:13 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (83.4ms) +Completed 500 Internal Server Error in 87ms + + + +ActionView::Template::Error (undefined method `delete_task_path' for #<#:0x007ff658e3b880> +Did you mean? edit_task_path): + 7: <% if @task %> + 8: <%= link_to "Full Task List", task_list_path(@task) %> + 9: <%= link_to "Edit", edit_task_path(@task[:id]) %> + 10: <%= link_to "Delete", delete_task_path(@task[:id]), method: :delete %> + 11: + 12:

+ 13: <%= @task[:id]%> + +app/views/task_list/show.html.erb:10:in `_app_views_task_list_show_html_erb__1996608392203067417_70348015011800' +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:24:43 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (2.4ms) +Completed 500 Internal Server Error in 6ms + + + +ActionView::Template::Error (undefined method `[]' for nil:NilClass): + 13: <%= @task[:id]%> + 14:

+ 15:

+ 16: <%= @book[:status]%> + 17:

+ 18:

+ 19: <%= @book[:action]%> + +app/views/task_list/show.html.erb:16:in `_app_views_task_list_show_html_erb__1996608392203067417_70347977746320' +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:24:57 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (3.3ms) +Completed 500 Internal Server Error in 8ms + + + +ActionView::Template::Error (undefined method `[]' for nil:NilClass): + 16: <%= @task[:status]%> + 17:

+ 18:

+ 19: <%= @book[:action]%> + 20:

+ 21: + 22: <%else%> + +app/views/task_list/show.html.erb:19:in `_app_views_task_list_show_html_erb__1996608392203067417_70348011831660' +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:25:08 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (149.3ms) +Completed 500 Internal Server Error in 154ms + + + +ActionView::Template::Error (undefined local variable or method `books_path' for #<#:0x007ff6547d7a38>): + 24: + 25: <% end %> + 26: + 27: <%=link_to "Home", books_path %> + 28: + 29: + +app/views/task_list/show.html.erb:27:in `_app_views_task_list_show_html_erb__1996608392203067417_70348011750380' +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:25:18 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 14ms (Views: 12.1ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:27:13 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 17ms (Views: 15.3ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:28:08 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 15ms (Views: 13.2ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:28:19 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (1.1ms) +Completed 200 OK in 15ms (Views: 13.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:28:28 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 16ms (Views: 14.5ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:28:32 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 17ms (Views: 15.6ms) + + +Started GET "/task_list/1/edit" for 127.0.0.1 at 2017-09-18 16:28:35 -0700 +Processing by TaskListController#edit as HTML + Parameters: {"id"=>"1"} + Rendering task_list/edit.html.erb within layouts/application + Rendered task_list/edit.html.erb within layouts/application (0.3ms) +Completed 200 OK in 21ms (Views: 18.8ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 16:33:05 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 14ms (Views: 12.7ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:33:06 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.6ms) +Completed 200 OK in 16ms (Views: 14.1ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:36:19 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 15ms (Views: 13.0ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:42:38 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 14ms (Views: 12.0ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:43:49 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 14ms (Views: 12.0ms) + + +Started GET "/task_list?id=1&status=incomplete" for 127.0.0.1 at 2017-09-18 16:45:26 -0700 +Processing by TaskListController#index as HTML + Parameters: {"id"=>"1", "status"=>"incomplete"} + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +pend=( link_to(new_task_path), alt: 'link to', class:"id")); + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +ew_task_path), alt: 'link to', class:"id"));@output_buffer.s + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +, alt: 'link to', class:"id"));@output_buffer.safe_append=' + ^): + +app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:45:46 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.6ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +pend=( link_to(new_task_path), alt: 'link to'));@output_buff + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +w_task_path), alt: 'link to'));@output_buffer.safe_append=' + ^): + +app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:46:42 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +_to(task[:id], new_task_path), alt: 'link to'));@output_buff + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +w_task_path), alt: 'link to'));@output_buffer.safe_append=' + ^): + +app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-18 16:47:45 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 14ms (Views: 12.0ms) + + +Started GET "/books/1" for 127.0.0.1 at 2017-09-18 16:48:32 -0700 + +ActionController::RoutingError (No route matches [GET] "/books/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 "/books?author=Sandy+Metz&description=Learn+to+code+in+Ruby+with+this+handy+dandy+manual.&id=1&price=34.99&title=Object+Oriented+Design+in+Ruby" for 127.0.0.1 at 2017-09-18 16:48:35 -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_list/new" for 127.0.0.1 at 2017-09-18 16:51:06 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 13ms (Views: 11.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:51:14 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +to(new_task_path(@task_list)), alt: 'link to'));@output_buff + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +@task_list)), alt: 'link to'));@output_buffer.safe_append=' + ^): + +app/views/task_list/index.html.erb:5: syntax error, unexpected ',', expecting ')' +app/views/task_list/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:53:49 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 5ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:15: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG): + +app/views/task_list/index.html.erb:15: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:54:08 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 14ms (Views: 12.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 16:54:13 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 15ms (Views: 13.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 17:05:12 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 14ms (Views: 12.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 17:25:43 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 285ms (Views: 131.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:12:53 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 65ms (Views: 53.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:15:10 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 18ms (Views: 15.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:16:11 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.9ms) +Completed 200 OK in 93ms (Views: 91.5ms) + + +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-18 21:16:13 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (0.4ms) +Completed 200 OK in 17ms (Views: 14.8ms) + + +Started GET "/task_list/1" for 127.0.0.1 at 2017-09-18 21:16:18 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"1"} + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (3.1ms) +Completed 200 OK in 23ms (Views: 20.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:35:03 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 20ms (Views: 18.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:36:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 500 Internal Server Error in 6ms + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:15: syntax error, unexpected [, expecting keyword_do or '{' or '(' +tus] ? complete : incomplete [:status] );@output_buffer.safe + ^): + +app/views/task_list/index.html.erb:15: syntax error, unexpected [, expecting keyword_do or '{' or '(' +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:36:45 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (152.3ms) +Completed 500 Internal Server Error in 157ms + + + +ActionView::Template::Error (undefined local variable or method `incomplete' for #<#:0x007fc37beff7b8>): + 12: <%= task[:action] %> + 13: Status: + 14: + 15: <%=task[:status] ? complete : incomplete%> + 16: + 17: + 18:
  • + +app/views/task_list/index.html.erb:15:in `block in _app_views_task_list_index_html_erb__4494951309908251088_70238787348320' +app/views/task_list/index.html.erb:7:in `each' +app/views/task_list/index.html.erb:7:in `_app_views_task_list_index_html_erb__4494951309908251088_70238787348320' +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:37:25 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (146.7ms) +Completed 500 Internal Server Error in 151ms + + + +ActionView::Template::Error (undefined local variable or method `incomplete' for #<#:0x007fc3841aee20>): + 12: <%= task[:action] %> + 13: Status: + 14: + 15: <%=puts task[:status] ? complete : incomplete%> + 16: + 17:
  • + 18:
  • + +app/views/task_list/index.html.erb:15:in `block in _app_views_task_list_index_html_erb__4494951309908251088_70238855855100' +app/views/task_list/index.html.erb:7:in `each' +app/views/task_list/index.html.erb:7:in `_app_views_task_list_index_html_erb__4494951309908251088_70238855855100' +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:37:40 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 15ms (Views: 13.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:38:05 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 14ms (Views: 12.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:38:19 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 15ms (Views: 13.5ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:38:39 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 13ms (Views: 11.8ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:39:22 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 15ms (Views: 13.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:39:58 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.8ms) +Completed 200 OK in 15ms (Views: 13.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:41:27 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.9ms) +Completed 200 OK in 21ms (Views: 19.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:58:33 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 15ms (Views: 13.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 21:58:50 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 15ms (Views: 13.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:02:19 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 200 OK in 31ms (Views: 29.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:05:45 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 7ms + + + +ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"task_list"}, missing required keys: [:id]): + 15: + 16:
  • + 17:
  • + 18: <%= task[:status] ? "Unmark Complete" : "Mark Complete" %> | <%=link_to "Edit", edit_task_path%> | <%=link_to "Delete", destroy_task_path%> + 19:
  • + 20: <%end%> + 21: + +app/views/task_list/index.html.erb:18:in `block in _app_views_task_list_index_html_erb__4494951309908251088_70238829962520' +app/views/task_list/index.html.erb:7:in `each' +app/views/task_list/index.html.erb:7:in `_app_views_task_list_index_html_erb__4494951309908251088_70238829962520' +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:06:28 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 29ms (Views: 27.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:06:57 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 14ms (Views: 12.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:12:20 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 28ms (Views: 26.2ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/imgs/tropical-leaves.jpg"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:12:55 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 31ms (Views: 29.3ms) + + +Started GET "/imgs/tropical-leaves.jpg" for 127.0.0.1 at 2017-09-18 22:12:56 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/tropical-leaves.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:13:04 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 25ms (Views: 22.7ms) + + +Started GET "/imgs/bananas.jpg" for 127.0.0.1 at 2017-09-18 22:13:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/bananas.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:13:49 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (5.5ms) +Completed 200 OK in 29ms (Views: 27.3ms) + + +Started GET "/imgs/bananas.jpg" for 127.0.0.1 at 2017-09-18 22:13:49 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/bananas.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:14:13 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 25ms (Views: 23.1ms) + + +Started GET "/imgs/bananas.jpg" for 127.0.0.1 at 2017-09-18 22:14:13 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/bananas.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:14:28 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 24ms (Views: 22.8ms) + + +Started GET "/imgs/bananas.jpg" for 127.0.0.1 at 2017-09-18 22:14:28 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/bananas.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:14:43 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 25ms (Views: 23.5ms) + + +Started GET "/imgs/bananas.jpg" for 127.0.0.1 at 2017-09-18 22:14:43 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/bananas.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:15:31 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 26ms (Views: 24.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:15:58 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 26ms (Views: 24.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:18:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 26ms (Views: 24.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:20:24 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 33ms (Views: 31.3ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/images/banana-slices"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:20:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 25ms (Views: 23.0ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/images/banana-slices.jpg"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:20:57 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 27ms (Views: 25.2ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/imgs/banana-slices.jpg"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:21:10 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 25ms (Views: 23.9ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/banana-slices.jpg"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:21:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 14ms (Views: 12.7ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/banana-slices.jpg"): + +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:11:in `block in call' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.1.4) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.1.4) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11: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_list" for 127.0.0.1 at 2017-09-18 22:23:26 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 33ms (Views: 31.8ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:25:39 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 18ms (Views: 16.1ms) + + +Started GET "/books/" for 127.0.0.1 at 2017-09-18 22:27:39 -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_list" for 127.0.0.1 at 2017-09-18 22:27:46 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 28ms (Views: 26.3ms) + + +Started GET "/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:27:46 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:27:52 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 15ms (Views: 13.8ms) + + +Started GET "/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:27:52 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:28:17 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 14ms (Views: 12.9ms) + + +Started GET "/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:28:17 -0700 + +ActionController::RoutingError (No route matches [GET] "/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:29:04 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 22ms (Views: 14.4ms) + + +Started GET "/TaskList/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:29:04 -0700 + +ActionController::RoutingError (No route matches [GET] "/TaskList/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:30:21 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 16ms (Views: 14.6ms) + + +Started GET "/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:30:21 -0700 + +ActionController::RoutingError (No route matches [GET] "/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:31:23 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 24ms (Views: 21.7ms) + + +Started GET "/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:31:23 -0700 + +ActionController::RoutingError (No route matches [GET] "/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:31:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 15ms (Views: 13.6ms) + + +Started GET "/~/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:31:38 -0700 + +ActionController::RoutingError (No route matches [GET] "/~/Users/Julia/ada/Rails/TaskList/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:31:47 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 22ms (Views: 20.5ms) + + +Started GET "/ada/Rails/TaskList/imgs/banana-slices.jpg" for 127.0.0.1 at 2017-09-18 22:31:47 -0700 + +ActionController::RoutingError (No route matches [GET] "/ada/Rails/TaskList/imgs/banana-slices.jpg"): + +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_list" for 127.0.0.1 at 2017-09-18 22:32:02 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 24ms (Views: 21.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:36:12 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 65ms (Views: 62.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:39:17 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 27ms (Views: 25.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:39:31 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 26.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:39:44 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 14ms (Views: 12.5ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:40:02 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 26ms (Views: 24.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:40:23 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 26.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:41:27 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 27ms (Views: 25.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:41:33 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 25ms (Views: 23.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:42:16 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 14ms (Views: 12.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:43:53 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 35ms (Views: 33.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:44:04 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 32ms (Views: 30.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:44:36 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 26.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:45:06 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 29ms (Views: 27.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:45:11 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 18ms (Views: 16.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:45:45 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 25.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:47:54 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 31ms (Views: 29.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:50:45 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 27ms (Views: 25.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:50:51 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 29ms (Views: 27.5ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:51:44 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 22ms (Views: 20.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:52:02 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 15ms (Views: 13.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:52:32 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 16ms (Views: 13.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:55:43 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 29ms (Views: 27.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:56:26 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 32ms (Views: 29.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:56:46 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 30ms (Views: 28.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:56:57 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 31ms (Views: 28.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:57:02 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 29ms (Views: 27.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:57:08 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 29ms (Views: 27.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:57:27 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 35ms (Views: 33.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:57:42 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 26.8ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:58:45 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 28ms (Views: 26.7ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:59:06 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 31ms (Views: 29.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 22:59:25 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 500 Internal Server Error in 15ms + + + +ActionView::Template::Error (Invalid CSS after " background-color": expected ";", was ": rgba(255,255,..."): + 7: TaskList + 8: <%= csrf_meta_tags %> + 9: + 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 11: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + 12: + 13:
    + +app/assets/stylesheets/task_list.scss:40 +app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__1393912849147761288_70238832047440' +Started GET "/books/" for 127.0.0.1 at 2017-09-18 23:00:08 -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 "/books/" for 127.0.0.1 at 2017-09-18 23:00:19 -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_list" for 127.0.0.1 at 2017-09-18 23:00:26 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.0ms) +Completed 200 OK in 28ms (Views: 26.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:02:32 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 28ms (Views: 26.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:02:49 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 16ms (Views: 14.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:04:32 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 53ms (Views: 51.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:06:10 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 29ms (Views: 27.1ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:06:15 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 33ms (Views: 30.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:06:20 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 31ms (Views: 29.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:10:53 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 30ms (Views: 28.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:11:17 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 30ms (Views: 27.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:11:46 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 32ms (Views: 30.9ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:12:46 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 36ms (Views: 34.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:13:00 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 31ms (Views: 30.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:13:14 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 30ms (Views: 28.8ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-18 23:13:44 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 30ms (Views: 29.0ms) + + +Started GET "/books/" for 127.0.0.1 at 2017-09-19 09:16:20 -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_list" for 127.0.0.1 at 2017-09-19 09:16:25 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 445ms (Views: 263.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 09:16:38 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 34ms (Views: 31.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 09:16:47 -0700 +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 18ms (Views: 16.3ms) + + +  (0.1ms) DROP DATABASE IF EXISTS "TaskList_development" +  (0.1ms) DROP DATABASE IF EXISTS "TaskList_test" +  (323.7ms) CREATE DATABASE "TaskList_development" ENCODING = 'unicode' +  (255.8ms) CREATE DATABASE "TaskList_test" ENCODING = 'unicode' +  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) +  (20.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (0.2ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateTasks (20170919220018) +  (0.2ms) BEGIN +  (15.3ms) CREATE TABLE "tasks" ("id" bigserial primary key, "status" boolean, "action" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170919220018"]] +  (5.3ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-09-19 22:01:28.431632"], ["updated_at", "2017-09-19 22:01:28.431632"]] +  (0.3ms) COMMIT +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] +  (0.1ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to AddCompletionDateToTaskList (20170919220634) +  (0.1ms) BEGIN +  (0.6ms) ALTER TABLE "tasks" ADD "completion_date" character varying + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170919220634"]] +  (1.1ms) COMMIT + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (1.7ms) SELECT "tasks".* FROM "tasks" +  (0.1ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("status", "action", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "f"], ["action", "call your ma"], ["created_at", "2017-09-19 22:14:19.817186"], ["updated_at", "2017-09-19 22:14:19.817186"], ["completion_date", "9/21/17"]] +  (0.9ms) COMMIT + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" +  (0.2ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("status", "action", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "f"], ["action", "do laundry"], ["created_at", "2017-09-19 22:15:41.296463"], ["updated_at", "2017-09-19 22:15:41.296463"], ["completion_date", "9/22/17"]] +  (0.8ms) COMMIT + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] +  (0.5ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("status", "action", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "f"], ["action", "buy rice maker"], ["created_at", "2017-09-19 22:17:23.858539"], ["updated_at", "2017-09-19 22:17:23.858539"], ["completion_date", "9/25/17"]] +  (0.9ms) COMMIT +  (0.2ms) BEGIN + SQL (0.4ms) INSERT INTO "tasks" ("status", "action", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "f"], ["action", "buy earthquake preparedness supplies"], ["created_at", "2017-09-19 22:19:04.216272"], ["updated_at", "2017-09-19 22:19:04.216272"], ["completion_date", "10/15/17"]] +  (0.8ms) COMMIT + Task Load (2.2ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Exists (0.3ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 15:23:02 -0700 +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 201ms (Views: 192.7ms | ActiveRecord: 0.0ms) + + + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Exists (0.5ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 15:55:05 -0700 +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML +Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) + + + +TypeError (no implicit conversion of Symbol into String): + +app/controllers/task_list_controller.rb:12:in `strptime' +app/controllers/task_list_controller.rb:12:in `index' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 15:55:29 -0700 +Processing by TaskListController#index as HTML +Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) + + + +TypeError (no implicit conversion of Symbol into String): + +app/controllers/task_list_controller.rb:12:in `strptime' +app/controllers/task_list_controller.rb:12:in `index' + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC LIMIT $1 [["LIMIT", 11]] + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:10:34 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.2ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.2ms) + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 6: + 7:

    Your Tasks:

    + 8:
      + 9: <% @task_list.each do |task| %> + 10:
    • + 11: + 12: <%= link_to(task[:id], task_path(task[:id]), alt: 'link to', class:"id")%>. + +app/views/task_list/index.html.erb:9:in `_app_views_task_list_index_html_erb__3037287489212202094_70120778951320' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:11:01 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.3ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 2.9ms) + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 6: + 7:

      Your Tasks:

      + 8:
        + 9: <% @task_list.each do |task| %> + 10:
      • + 11: + 12: <%= link_to(task[:id], task_path(task[:id]), alt: 'link to', class:"id")%>. + +app/views/task_list/index.html.erb:9:in `_app_views_task_list_index_html_erb__3037287489212202094_70120777851420' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:11:44 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (143.4ms) +Completed 500 Internal Server Error in 150ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined local variable or method `task' for #<#:0x007f8c82ae9e10> +Did you mean? @tasks): + 6: + 7:

        Your Tasks:

        + 8:
          + 9: <% task.each do |task| %> + 10:
        • + 11: + 12: <%= link_to(task[:id], task_path(task[:id]), alt: 'link to', class:"id")%>. + +app/views/task_list/index.html.erb:9:in `_app_views_task_list_index_html_erb__3037287489212202094_70120732316840' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:11:54 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.5ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.4ms) + + + +ActionView::Template::Error (undefined method `each' for nil:NilClass): + 6: + 7:

          Your Tasks:

          + 8:
            + 9: <% @task.each do |task| %> + 10:
          • + 11: + 12: <%= link_to(task[:id], task_path(task[:id]), alt: 'link to', class:"id")%>. + +app/views/task_list/index.html.erb:9:in `_app_views_task_list_index_html_erb__3037287489212202094_70120736031880' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:12:21 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 130ms (Views: 126.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:19:57 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (186.3ms) +Completed 500 Internal Server Error in 192ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined local variable or method `count' for #<#:0x007f8c822edc48> +Did you mean? concat): + 10: <% @tasks.each do |task| %> + 11:
          • + 12: + 13: <%count + 1 %>. + 14: + 15: <%= task[:action] %> + 16: + +app/views/task_list/index.html.erb:13:in `block in _app_views_task_list_index_html_erb__3037287489212202094_70120728130320' +app/views/task_list/index.html.erb:10:in `_app_views_task_list_index_html_erb__3037287489212202094_70120728130320' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:20:09 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (3.4ms) +Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:20:23 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:20:31 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:21:13 -0700 +Processing by TaskListController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:21:23 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 19ms (Views: 15.4ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:21:46 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:25:56 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 53ms (Views: 50.1ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:34:43 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.7ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:37: syntax error, unexpected keyword_ensure, expecting keyword_end + ensure + ^): + +app/views/task_list/index.html.erb:37: syntax error, unexpected keyword_ensure, expecting keyword_end +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:36:10 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:37:38 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:37:58 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.3ms) + + +  (0.1ms) BEGIN + SQL (0.5ms) INSERT INTO "tasks" ("status", "action", "created_at", "updated_at", "completion_date") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "t"], ["action", "buy cat food"], ["created_at", "2017-09-19 23:42:47.388479"], ["updated_at", "2017-09-19 23:42:47.388479"], ["completion_date", "9/29/17"]] +  (0.9ms) COMMIT + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Exists (0.4ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:43:02 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 16ms (Views: 13.0ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:44:03 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:44:31 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:44:40 -0700 +Processing by TaskListController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:45:02 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:45:26 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 15ms (Views: 12.3ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:46:01 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:46:25 -0700 +Processing by TaskListController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.2ms) + + +Started GET "/task_list/id/edit" for 127.0.0.1 at 2017-09-19 16:46:29 -0700 +Processing by TaskListController#edit as HTML + Parameters: {"id"=>"id"} + Rendering task_list/edit.html.erb within layouts/application + Rendered task_list/edit.html.erb within layouts/application (0.7ms) +Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.0ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:47:32 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:48:36 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 16ms (Views: 13.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:49:36 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:51:18 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:51:52 -0700 +Processing by TaskListController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.2ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:52:18 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:52:26 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:52:32 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 15ms (Views: 12.3ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 16:53:04 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:01:21 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.8ms) +Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:01:55 -0700 +Processing by TaskListController#index as HTML + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (10.5ms) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.2ms) + + + +ActionView::Template::Error (undefined method `completion' for # +Did you mean? completion_date): + 18: + 19: <%else%> + 20:
            + 21: <%= count + 1 %>. <%= task.action %> --> Due: <% task.completion.date %> + 22:
            + 23:
            + +app/views/task_list/index.html.erb:21:in `block in _app_views_task_list_index_html_erb__3037287489212202094_70120732456200' +app/views/task_list/index.html.erb:10:in `_app_views_task_list_index_html_erb__3037287489212202094_70120732456200' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:02:10 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:02:30 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:04:23 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:05:52 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (Invalid CSS after " width = 100%": expected "{", was ";"): + 7: TaskList + 8: <%= csrf_meta_tags %> + 9: + 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 11: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + 12: + 13: + +app/assets/stylesheets/task_list.scss:27 +app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__758176694074569140_70120799032140' +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:06:01 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 35ms (Views: 32.0ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 17:07:39 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-19 20:36:00 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:10:19 -0700 +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML + Task Load (1.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (3.1ms) +Completed 200 OK in 273ms (Views: 251.2ms | ActiveRecord: 5.0ms) + + +  (0.2ms) SELECT pg_try_advisory_lock(4169262226251541860) +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to AddNameToTasklist (20170920221354) +  (0.1ms) BEGIN +  (0.6ms) ALTER TABLE "tasks" ADD "name" character varying + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170920221354"]] +  (6.4ms) COMMIT + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) SELECT pg_advisory_unlock(4169262226251541860) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" LIMIT $1 [["LIMIT", 11]] + Task Exists (0.4ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:32:11 -0700 +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.3ms) +Completed 200 OK in 24ms (Views: 12.3ms | ActiveRecord: 2.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:34:38 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:36:20 -0700 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML + Task Load (0.9ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (4.0ms) +Completed 200 OK in 194ms (Views: 170.4ms | ActiveRecord: 5.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:36:25 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (17.6ms) +Completed 200 OK in 32ms (Views: 29.1ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:36:31 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.2ms) +Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:37:19 -0700 +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by TaskListController#index as HTML + Task Load (0.6ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (3.2ms) +Completed 200 OK in 196ms (Views: 171.5ms | ActiveRecord: 3.6ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:38:38 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (11.1ms) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined method `description' for #): + 19: + 20: <%else%> + 21:
            + 22: <%= count + 1 %>. <%= task.description %> --> Due: <%= task.completion_date %> + 23:
            + 24:
            + +app/views/task_list/index.html.erb:22:in `block in _app_views_task_list_index_html_erb___3958856131281550566_70193480260100' +app/views/task_list/index.html.erb:11:in `_app_views_task_list_index_html_erb___3958856131281550566_70193480260100' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:39:15 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (21.1ms) +Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.3ms) + + + +ActionView::Template::Error (undefined method `description' for #): + 19: + 20: <%else%> + 21:
            + 22: <%= count + 1 %>. <%= task.description %> --> Due: <%= task.completion_date %> + 23:
            + 24:
            + +app/views/task_list/index.html.erb:22:in `block in _app_views_task_list_index_html_erb___3958856131281550566_70193460615320' +app/views/task_list/index.html.erb:11:in `_app_views_task_list_index_html_erb___3958856131281550566_70193460615320' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:39:58 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.5ms) +Completed 200 OK in 17ms (Views: 13.6ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:40:21 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 11]] + Task Load (3.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 11]] + Task Load (3.8ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 11]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] +  (0.3ms) BEGIN + SQL (6.5ms) UPDATE "tasks" SET "updated_at" = $1, "name" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-20 22:52:34.232012"], ["name", "go to pet store"], ["id", 5]] +  (7.3ms) COMMIT + Task Exists (3.9ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 15:53:22 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 17ms (Views: 13.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:11:33 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.1ms) +Completed 500 Internal Server Error in 19ms (ActiveRecord: 2.8ms) + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:22: syntax error, unexpected '>' +_append='", task_path(task) %> + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting '(' +output_buffer.safe_append='. '.freeze;@output_buffer.append= + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: formal argument cannot be a constant +_buffer.safe_append=' --> Due: '.freeze;@output_buffer.appen + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: dynamic constant assignment +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:27: unknown regexp options - dv +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:32: unknown regexp option - l +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:36: unknown regexp options - dv +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:38: syntax error, unexpected '<' +
            + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unknown regexp options - vw +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')'): + +app/views/task_list/index.html.erb:22: syntax error, unexpected '>' +app/views/task_list/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting '(' +app/views/task_list/index.html.erb:23: formal argument cannot be a constant +app/views/task_list/index.html.erb:23: dynamic constant assignment +app/views/task_list/index.html.erb:23: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG +app/views/task_list/index.html.erb:27: unknown regexp options - dv +app/views/task_list/index.html.erb:32: unknown regexp option - l +app/views/task_list/index.html.erb:36: unknown regexp options - dv +app/views/task_list/index.html.erb:38: syntax error, unexpected '<' +app/views/task_list/index.html.erb:39: unknown regexp options - vw +app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:12:05 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.2ms) +Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:33: syntax error, unexpected keyword_end, expecting ')' +'.freeze; end + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:42: syntax error, unexpected keyword_ensure, expecting ')' + ensure + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:44: syntax error, unexpected keyword_end, expecting ')' + end + ^): + +app/views/task_list/index.html.erb:28: syntax error, unexpected keyword_end, expecting ')' +app/views/task_list/index.html.erb:33: syntax error, unexpected keyword_end, expecting ')' +app/views/task_list/index.html.erb:42: syntax error, unexpected keyword_ensure, expecting ')' +app/views/task_list/index.html.erb:44: syntax error, unexpected keyword_end, expecting ')' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:12:43 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.4ms) + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:22: syntax error, unexpected '>' +_append='", task_path(task) %> + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting '(' +output_buffer.safe_append='. '.freeze;@output_buffer.append= + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: formal argument cannot be a constant +_buffer.safe_append=' --> Due: '.freeze;@output_buffer.appen + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: dynamic constant assignment +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:23: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:27: unknown regexp options - dv +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:32: unknown regexp option - l +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:36: unknown regexp options - dv +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:38: syntax error, unexpected '<' +
            + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unknown regexp options - vw +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')'): + +app/views/task_list/index.html.erb:22: syntax error, unexpected '>' +app/views/task_list/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting '(' +app/views/task_list/index.html.erb:23: formal argument cannot be a constant +app/views/task_list/index.html.erb:23: dynamic constant assignment +app/views/task_list/index.html.erb:23: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG +app/views/task_list/index.html.erb:27: unknown regexp options - dv +app/views/task_list/index.html.erb:32: unknown regexp option - l +app/views/task_list/index.html.erb:36: unknown regexp options - dv +app/views/task_list/index.html.erb:38: syntax error, unexpected '<' +app/views/task_list/index.html.erb:39: unknown regexp options - vw +app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:15:38 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:16:21 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 18ms (Views: 14.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list/4" for 127.0.0.1 at 2017-09-20 16:16:27 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"4"} + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (1.2ms) +Completed 200 OK in 21ms (Views: 15.2ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:19:53 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.1ms) +Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.3ms) + + + +SyntaxError (/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:24: syntax error, unexpected '<', expecting ')' +
            + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:27: unknown regexp options - dv +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:27: unmatched close parenthesis: /div> +
            + ^ +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unknown regexp options - vw +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +/Users/Julia/ada/Rails/TaskList/app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')'): + +app/views/task_list/index.html.erb:24: syntax error, unexpected '<', expecting ')' +app/views/task_list/index.html.erb:27: unknown regexp options - dv +app/views/task_list/index.html.erb:27: unmatched close parenthesis: /div> +app/views/task_list/index.html.erb:32: unknown regexp option - l +app/views/task_list/index.html.erb:36: unknown regexp options - dv +app/views/task_list/index.html.erb:38: syntax error, unexpected '<' +app/views/task_list/index.html.erb:39: unknown regexp options - vw +app/views/task_list/index.html.erb:39: unterminated regexp meets end of file +app/views/task_list/index.html.erb:39: syntax error, unexpected end-of-input, expecting ')' +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:21:32 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.9ms) +Completed 200 OK in 16ms (Views: 13.6ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:22:04 -0700 +Processing by TaskListController#index as HTML + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.7ms) +Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.4ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:22:50 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.6ms) +Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:23:09 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 18ms (Views: 14.9ms | ActiveRecord: 0.3ms) + + +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:23:18 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (2.2ms) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.3ms) + + + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] +  (0.2ms) BEGIN + SQL (0.5ms) UPDATE "tasks" SET "updated_at" = $1, "name" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-20 23:24:51.260588"], ["name", "call your mother"], ["id", 1]] +  (0.4ms) COMMIT + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] +  (0.2ms) BEGIN + SQL (0.5ms) UPDATE "tasks" SET "updated_at" = $1, "name" = $2 WHERE "tasks"."id" = $3 [["updated_at", "2017-09-20 23:25:31.081813"], ["name", "change the sheets"], ["id", 2]] +  (0.4ms) COMMIT + Task Exists (1.5ms) SELECT 1 AS one FROM "tasks" LIMIT $1 [["LIMIT", 1]] + Task Load (0.4ms) SELECT "tasks".* FROM "tasks" +Started GET "/task_list" for 127.0.0.1 at 2017-09-20 16:34:35 -0700 +Processing by TaskListController#index as HTML + Task Load (0.3ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."completion_date" ASC + Rendering task_list/index.html.erb within layouts/application + Rendered task_list/index.html.erb within layouts/application (1.4ms) +Completed 200 OK in 25ms (Views: 12.8ms | ActiveRecord: 2.6ms) + + +Started GET "/task_list/2" for 127.0.0.1 at 2017-09-20 16:34:47 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"2"} + Task Load (0.5ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.5ms) + + +Started GET "/task_list/5" for 127.0.0.1 at 2017-09-20 16:35:03 -0700 +Processing by TaskListController#show as HTML + Parameters: {"id"=>"5"} + Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] + Rendering task_list/show.html.erb within layouts/application + Rendered task_list/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 16ms (Views: 12.8ms | ActiveRecord: 0.2ms) + + +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-20 16:36:33 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms) + + +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-20 16:36:37 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (0.3ms) +Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms) + + +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-20 16:46:57 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (81.2ms) +Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae639712d8> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @task do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193485942360' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-20 16:49:00 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (71.2ms) +Completed 500 Internal Server Error in 87ms (ActiveRecord: 2.6ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae62239f48> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @task do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193473782320' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-21 08:10:26 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (3.6ms) +Completed 500 Internal Server Error in 72ms (ActiveRecord: 46.8ms) + + + +ActionView::Template::Error (First argument in form cannot contain nil or be empty): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @tasks do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193490220320' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-21 08:11:06 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (104.0ms) +Completed 500 Internal Server Error in 109ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae5bd5f3c0> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @task do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193421214760' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-21 08:12:16 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (72.9ms) +Completed 500 Internal Server Error in 88ms (ActiveRecord: 2.8ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae62d6e0d0> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @task do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193479648040' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-21 08:13:12 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (79.8ms) +Completed 500 Internal Server Error in 98ms (ActiveRecord: 2.8ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae62911e10> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: <%= form_for @task do |f| %> + 6: <%= f.name :name%> + 7: <%= f.text_field :name %> + 8: + +app/views/task_list/new.html.erb:5:in `_app_views_task_list_new_html_erb___3654592850861539507_70193477393900' +Started GET "/task_list/new" for 127.0.0.1 at 2017-09-21 08:14:33 -0700 +Processing by TaskListController#new as HTML + Rendering task_list/new.html.erb within layouts/application + Rendered task_list/new.html.erb within layouts/application (89.7ms) +Completed 500 Internal Server Error in 105ms (ActiveRecord: 3.2ms) + + + +ActionView::Template::Error (undefined method `tasks_path' for #<#:0x007fae6231bbc8> +Did you mean? task_path): + 2: + 3:

            add a task!

            + 4: + 5: +
            +
            +

            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/task_list_controller_test.rb b/test/controllers/task_list_controller_test.rb new file mode 100644 index 000000000..be02ecbe0 --- /dev/null +++ b/test/controllers/task_list_controller_test.rb @@ -0,0 +1,39 @@ +require 'test_helper' + +class TaskListControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get task_list_index_url + assert_response :success + end + + test "should get show" do + get task_list_show_url + assert_response :success + end + + test "should get edit" do + get task_list_edit_url + assert_response :success + end + + test "should get update" do + get task_list_update_url + assert_response :success + end + + test "should get new" do + get task_list_new_url + assert_response :success + end + + test "should get create" do + get task_list_create_url + assert_response :success + end + + test "should get destroy" do + get task_list_destroy_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..5abb587c3 --- /dev/null +++ b/test/fixtures/tasks.yml @@ -0,0 +1,9 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + status: false + action: MyString + +two: + status: false + action: 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