+
+<%= link_to "Upvote", rank_movie_path(@movie.id), class: "btn btn-primary", method: :put %>
+<%= link_to "Edit #{@movie.title}", edit_movie_path(@movie.id), class: "btn btn-default" %>
+<%= link_to "Delete", movie_path(@movie.id), class: "btn btn-danger", method: :delete %>
+<%= link_to "View All Movies", movies_path, class: "btn btn-default" %>
+<%= link_to "View All Media", root_path, class: "btn btn-default" %>
\ No newline at end of file
diff --git a/bin/bundle b/bin/bundle
new file mode 100755
index 0000000000..66e9889e8b
--- /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 0000000000..5badb2fde0
--- /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 0000000000..d87d5f5781
--- /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 0000000000..e620b4dadb
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,34 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a starting point to setup your application.
+ # Add necessary setup steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ # puts "\n== Copying sample files =="
+ # unless File.exist?('config/database.yml')
+ # cp 'config/database.yml.sample', 'config/database.yml'
+ # end
+
+ puts "\n== Preparing database =="
+ system! 'bin/rails db:setup'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/bin/spring b/bin/spring
new file mode 100755
index 0000000000..7fe232c3aa
--- /dev/null
+++ b/bin/spring
@@ -0,0 +1,15 @@
+#!/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'
+
+ if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m))
+ Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) }
+ gem 'spring', match[1]
+ require 'spring/binstub'
+ end
+end
diff --git a/bin/update b/bin/update
new file mode 100755
index 0000000000..a8e4462f20
--- /dev/null
+++ b/bin/update
@@ -0,0 +1,29 @@
+#!/usr/bin/env ruby
+require 'pathname'
+require 'fileutils'
+include FileUtils
+
+# path to your application root.
+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
+
+def system!(*args)
+ system(*args) || abort("\n== Command #{args} failed ==")
+end
+
+chdir APP_ROOT do
+ # This script is a way to update your development environment automatically.
+ # Add necessary update steps to this file.
+
+ puts '== Installing dependencies =='
+ system! 'gem install bundler --conservative'
+ system('bundle check') || system!('bundle install')
+
+ puts "\n== Updating database =="
+ system! 'bin/rails db:migrate'
+
+ puts "\n== Removing old logs and tempfiles =="
+ system! 'bin/rails log:clear tmp:clear'
+
+ puts "\n== Restarting application server =="
+ system! 'bin/rails restart'
+end
diff --git a/config.ru b/config.ru
new file mode 100644
index 0000000000..f7ba0b527b
--- /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 0000000000..7e42acd4d5
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,15 @@
+require_relative 'boot'
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(*Rails.groups)
+
+module App
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ end
+end
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 0000000000..30f5120df6
--- /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 0000000000..0bbde6f74f
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+ adapter: async
+
+test:
+ adapter: async
+
+production:
+ adapter: redis
+ url: redis://localhost:6379/1
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 0000000000..1c1a37ca8d
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,25 @@
+# SQLite version 3.x
+# gem install sqlite3
+#
+# Ensure the SQLite 3 gem is defined in your Gemfile
+# gem 'sqlite3'
+#
+default: &default
+ adapter: sqlite3
+ pool: 5
+ timeout: 5000
+
+development:
+ <<: *default
+ database: db/development.sqlite3
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ <<: *default
+ database: db/test.sqlite3
+
+production:
+ <<: *default
+ database: db/production.sqlite3
diff --git a/config/environment.rb b/config/environment.rb
new file mode 100644
index 0000000000..426333bb46
--- /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 0000000000..6f7197045a
--- /dev/null
+++ b/config/environments/development.rb
@@ -0,0 +1,54 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports.
+ config.consider_all_requests_local = true
+
+ # Enable/disable caching. By default caching is disabled.
+ if Rails.root.join('tmp/caching-dev.txt').exist?
+ config.action_controller.perform_caching = true
+
+ config.cache_store = :memory_store
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=172800'
+ }
+ else
+ config.action_controller.perform_caching = false
+
+ config.cache_store = :null_store
+ end
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ config.action_mailer.perform_caching = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+
+ # Suppress logger output for asset requests.
+ config.assets.quiet = true
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+
+ # Use an evented file watcher to asynchronously detect changes in source code,
+ # routes, locales, etc. This feature depends on the listen gem.
+ config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+end
diff --git a/config/environments/production.rb b/config/environments/production.rb
new file mode 100644
index 0000000000..37b0cc0521
--- /dev/null
+++ b/config/environments/production.rb
@@ -0,0 +1,86 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both threaded web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Disable serving static files from the `/public` folder by default since
+ # Apache or NGINX already handles this.
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = 'http://assets.example.com'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
+
+ # Mount Action Cable outside main process or domain
+ # config.action_cable.mount_path = nil
+ # config.action_cable.url = 'wss://example.com/cable'
+ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Use the lowest log level to ensure availability of diagnostic information
+ # when problems arise.
+ config.log_level = :debug
+
+ # Prepend all log lines with the following tags.
+ config.log_tags = [ :request_id ]
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Use a real queuing backend for Active Job (and separate queues per environment)
+ # config.active_job.queue_adapter = :resque
+ # config.active_job.queue_name_prefix = "app_#{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 0000000000..30587ef6d5
--- /dev/null
+++ b/config/environments/test.rb
@@ -0,0 +1,42 @@
+Rails.application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure public file server for tests with Cache-Control for performance.
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {
+ 'Cache-Control' => 'public, max-age=3600'
+ }
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+ config.action_mailer.perform_caching = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
+end
diff --git a/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb
new file mode 100644
index 0000000000..51639b67a0
--- /dev/null
+++ b/config/initializers/application_controller_renderer.rb
@@ -0,0 +1,6 @@
+# Be sure to restart your server when you modify this file.
+
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
new file mode 100644
index 0000000000..01ef3e6630
--- /dev/null
+++ b/config/initializers/assets.rb
@@ -0,0 +1,11 @@
+# Be sure to restart your server when you modify this file.
+
+# Version of your assets, change this if you want to expire all your assets.
+Rails.application.config.assets.version = '1.0'
+
+# Add additional assets to the asset load path
+# Rails.application.config.assets.paths << Emoji.images_path
+
+# Precompile additional assets.
+# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
+# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
new file mode 100644
index 0000000000..59385cdf37
--- /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 0000000000..5a6a32d371
--- /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 0000000000..4a994e1e7b
--- /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 0000000000..ac033bf9dc
--- /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 0000000000..dc1899682b
--- /dev/null
+++ b/config/initializers/mime_types.rb
@@ -0,0 +1,4 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb
new file mode 100644
index 0000000000..0706cafd4e
--- /dev/null
+++ b/config/initializers/new_framework_defaults.rb
@@ -0,0 +1,24 @@
+# Be sure to restart your server when you modify this file.
+#
+# This file contains migration options to ease your Rails 5.0 upgrade.
+#
+# Read the Rails 5.0 release notes for more info on each option.
+
+# Enable per-form CSRF tokens. Previous versions had false.
+Rails.application.config.action_controller.per_form_csrf_tokens = true
+
+# Enable origin-checking CSRF mitigation. Previous versions had false.
+Rails.application.config.action_controller.forgery_protection_origin_check = true
+
+# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
+# Previous versions had false.
+ActiveSupport.to_time_preserves_timezone = true
+
+# Require `belongs_to` associations by default. Previous versions had false.
+Rails.application.config.active_record.belongs_to_required_by_default = true
+
+# Do not halt callback chains when a callback returns false. Previous versions had true.
+ActiveSupport.halt_callback_chains_on_return_false = false
+
+# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
+Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
new file mode 100644
index 0000000000..878cce2bee
--- /dev/null
+++ b/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rails.application.config.session_store :cookie_store, key: '_app_session'
diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000000..bbfc3961bf
--- /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 0000000000..0653957166
--- /dev/null
+++ b/config/locales/en.yml
@@ -0,0 +1,23 @@
+# Files in the config/locales directory are used for internationalization
+# and are automatically loaded by Rails. If you want to use locales other
+# than English, add the necessary files in this directory.
+#
+# To use the locales, use `I18n.t`:
+#
+# I18n.t 'hello'
+#
+# In views, this is aliased to just `t`:
+#
+# <%= t('hello') %>
+#
+# To use a different locale, set it with `I18n.locale`:
+#
+# I18n.locale = :es
+#
+# This would use the information in config/locales/es.yml.
+#
+# To learn more, please read the Rails Internationalization guide
+# available at http://guides.rubyonrails.org/i18n.html.
+
+en:
+ hello: "Hello world"
diff --git a/config/puma.rb b/config/puma.rb
new file mode 100644
index 0000000000..c7f311f811
--- /dev/null
+++ b/config/puma.rb
@@ -0,0 +1,47 @@
+# Puma can serve each request in a thread from an internal thread pool.
+# The `threads` method setting takes two numbers a minimum and maximum.
+# Any libraries that use thread pools should be configured to match
+# the maximum value specified for Puma. Default is set to 5 threads for minimum
+# and maximum, this matches the default thread size of Active Record.
+#
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads threads_count, threads_count
+
+# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
+#
+port ENV.fetch("PORT") { 3000 }
+
+# Specifies the `environment` that Puma will run in.
+#
+environment ENV.fetch("RAILS_ENV") { "development" }
+
+# Specifies the number of `workers` to boot in clustered mode.
+# Workers are forked webserver processes. If using threads and workers together
+# the concurrency of the application would be max `threads` * `workers`.
+# Workers do not work on JRuby or Windows (both of which do not support
+# processes).
+#
+# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+
+# Use the `preload_app!` method when specifying a `workers` number.
+# This directive tells Puma to first boot the application and load code
+# before forking the application. This takes advantage of Copy On Write
+# process behavior so workers use less memory. If you use this option
+# you need to make sure to reconnect any threads in the `on_worker_boot`
+# block.
+#
+# preload_app!
+
+# The code in the `on_worker_boot` will be called if you are using
+# clustered mode by specifying a number of `workers`. After each worker
+# process is booted this block will be run, if you are using `preload_app!`
+# option you will want to use this block to reconnect to any threads
+# or connections that may have been created at application boot, Ruby
+# cannot share connections between processes.
+#
+# on_worker_boot do
+# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
+# end
+
+# Allow puma to be restarted by `rails restart` command.
+plugin :tmp_restart
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 0000000000..c5709b5915
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,23 @@
+Rails.application.routes.draw do
+ root "home#index"
+
+ resources :books do
+ member do
+ put 'rank'
+ end
+ end
+
+ resources :movies do
+ member do
+ put 'rank'
+ end
+ end
+
+ resources :albums do
+ member do
+ put 'rank'
+ end
+ end
+
+end
+
diff --git a/config/secrets.yml b/config/secrets.yml
new file mode 100644
index 0000000000..9aa0483e2e
--- /dev/null
+++ b/config/secrets.yml
@@ -0,0 +1,22 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rails secret` to generate a secure secret key.
+
+# Make sure the secrets in this file are kept private
+# if you're sharing your code publicly.
+
+development:
+ secret_key_base: 077f50ecdcd0651157f0d2b6ac36c998f2d980e9519e6544c8f9a0bf2ab3b35748aeefe7448d15c0c44656408a7618bc612eaa2559a2f296e2003958da496bc8
+
+test:
+ secret_key_base: ef48a12bf004a722e6e7be2f552bb716330063d7e7f14affb8265b52c545901f3e70524eac0176efdd23440b3f961469861474077b3c4319c16a98418411e7f3
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/config/spring.rb b/config/spring.rb
new file mode 100644
index 0000000000..c9119b40c0
--- /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/coverage/.last_run.json b/coverage/.last_run.json
new file mode 100644
index 0000000000..3cb5e70c96
--- /dev/null
+++ b/coverage/.last_run.json
@@ -0,0 +1,5 @@
+{
+ "result": {
+ "covered_percent": 100.0
+ }
+}
diff --git a/coverage/.resultset.json b/coverage/.resultset.json
new file mode 100644
index 0000000000..d3c743cae7
--- /dev/null
+++ b/coverage/.resultset.json
@@ -0,0 +1,209 @@
+{
+ "MiniTest": {
+ "coverage": {
+ "/Users/jadevance/C5/projects/MediaRanker/app/models/album.rb": [
+ 1,
+ 1,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/models/application_record.rb": [
+ 1,
+ 1,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/models/book.rb": [
+ 1,
+ 1,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/models/movie.rb": [
+ 1,
+ 1,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/controllers/home_controller.rb": [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/controllers/application_controller.rb": [
+ 1,
+ 1,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/controllers/albums_controller.rb": [
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ null,
+ 1,
+ 4,
+ null,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/controllers/movies_controller.rb": [
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ null,
+ 1,
+ 4,
+ null,
+ null
+ ],
+ "/Users/jadevance/C5/projects/MediaRanker/app/controllers/books_controller.rb": [
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 2,
+ 2,
+ 1,
+ null,
+ 1,
+ null,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ null,
+ null,
+ 1,
+ null,
+ 1,
+ 4,
+ null,
+ null
+ ]
+ },
+ "timestamp": 1469236303
+ }
+}
diff --git a/coverage/.resultset.json.lock b/coverage/.resultset.json.lock
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/coverage/assets/0.10.0/application.css b/coverage/assets/0.10.0/application.css
new file mode 100644
index 0000000000..d86560434d
--- /dev/null
+++ b/coverage/assets/0.10.0/application.css
@@ -0,0 +1,799 @@
+/* -----------------------------------------------------------------------
+
+
+ Blueprint CSS Framework 0.9
+ http://blueprintcss.org
+
+ * Copyright (c) 2007-Present. See LICENSE for more info.
+ * See README for instructions on how to use Blueprint.
+ * For credits and origins, see AUTHORS.
+ * This is a compressed file. See the sources in the 'src' directory.
+
+----------------------------------------------------------------------- */
+
+/* reset.css */
+
+html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
+article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;}
+body {line-height:1.5;}
+table {border-collapse:separate;border-spacing:0;}
+caption, th, td {text-align:left;font-weight:normal;}
+table, td, th {vertical-align:middle;}
+blockquote:before, blockquote:after, q:before, q:after {content:"";}
+blockquote, q {quotes:"" "";}
+a img {border:none;}
+
+/* typography.css */
+html {font-size:100.01%;}
+body {font-size:82%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
+h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
+h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
+h2 {font-size:2em;margin-bottom:0.75em;}
+h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
+h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
+h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
+h6 {font-size:1em;font-weight:bold;}
+h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
+p {margin:0 0 1.5em;}
+p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
+p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
+a:focus, a:hover {color:#000;}
+a {color:#009;text-decoration:underline;}
+blockquote {margin:1.5em;color:#666;font-style:italic;}
+strong {font-weight:bold;}
+em, dfn {font-style:italic;}
+dfn {font-weight:bold;}
+sup, sub {line-height:0;}
+abbr, acronym {border-bottom:1px dotted #666;}
+address {margin:0 0 1.5em;font-style:italic;}
+del {color:#666;}
+pre {margin:1.5em 0;white-space:pre;}
+pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
+li ul, li ol {margin:0;}
+ul, ol {margin:0 1.5em 1.5em 0;padding-left:3.333em;}
+ul {list-style-type:disc;}
+ol {list-style-type:decimal;}
+dl {margin:0 0 1.5em 0;}
+dl dt {font-weight:bold;}
+dd {margin-left:1.5em;}
+table {margin-bottom:1.4em;width:100%;}
+th {font-weight:bold;}
+thead th {background:#c3d9ff;}
+th, td, caption {padding:4px 10px 4px 5px;}
+tr.even td {background:#efefef;}
+tfoot {font-style:italic;}
+caption {background:#eee;}
+.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
+.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
+.hide {display:none;}
+.quiet {color:#666;}
+.loud {color:#000;}
+.highlight {background:#ff0;}
+.added {background:#060;color:#fff;}
+.removed {background:#900;color:#fff;}
+.first {margin-left:0;padding-left:0;}
+.last {margin-right:0;padding-right:0;}
+.top {margin-top:0;padding-top:0;}
+.bottom {margin-bottom:0;padding-bottom:0;}
+
+/* forms.css */
+label {font-weight:bold;}
+fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
+legend {font-weight:bold;font-size:1.2em;}
+input[type=text], input[type=password], input.text, input.title, textarea, select {background-color:#fff;border:1px solid #bbb;}
+input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {border-color:#666;}
+input[type=text], input[type=password], input.text, input.title, textarea, select {margin:0.5em 0;}
+input.text, input.title {width:300px;padding:5px;}
+input.title {font-size:1.5em;}
+textarea {width:390px;height:250px;padding:5px;}
+input[type=checkbox], input[type=radio], input.checkbox, input.radio {position:relative;top:.25em;}
+form.inline {line-height:3;}
+form.inline p {margin-bottom:0;}
+.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
+.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
+.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
+.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
+.error a {color:#8a1f11;}
+.notice a {color:#514721;}
+.success a {color:#264409;}
+.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
+hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
+hr.space {background:#fff;color:#fff;visibility:hidden;}
+.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
+.clearfix, .container {display:block;}
+.clear {clear:both;}
+/*
+github.com style (c) Vasily Polovnyov
+*/
+
+
+pre code {
+}
+
+pre .comment,
+pre .template_comment,
+pre .diff .header,
+pre .javadoc {
+ color: #998;
+ font-style: italic
+}
+
+pre .keyword,
+pre .css .rule .keyword,
+pre .winutils,
+pre .javascript .title,
+pre .lisp .title {
+ color: #000;
+ font-weight: bold
+}
+
+pre .number,
+pre .hexcolor {
+ color: #458
+}
+
+
+pre .string,
+pre .tag .value,
+pre .phpdoc,
+pre .tex .formula {
+ color: #d14
+}
+
+pre .subst {
+ color: #712;
+}
+
+pre .constant,
+pre .title,
+pre .id {
+ color: #900;
+ font-weight: bold
+}
+
+pre .javascript .title,
+pre .lisp .title,
+pre .subst {
+ font-weight: normal
+}
+
+pre .class .title,
+pre .haskell .label,
+pre .tex .command {
+ color: #458;
+ font-weight: bold
+}
+
+pre .tag,
+pre .tag .title,
+pre .rules .property,
+pre .django .tag .keyword {
+ color: #000080;
+ font-weight: normal
+}
+
+pre .attribute,
+pre .variable,
+pre .instancevar,
+pre .lisp .body {
+ color: #008080
+}
+
+pre .regexp {
+ color: #009926
+}
+
+pre .class {
+ color: #458;
+ font-weight: bold
+}
+
+pre .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .lisp .keyword,
+pre .tex .special,
+pre .input_number {
+ color: #990073
+}
+
+pre .builtin,
+pre .built_in,
+pre .lisp .title {
+ color: #0086b3
+}
+
+pre .preprocessor,
+pre .pi,
+pre .doctype,
+pre .shebang,
+pre .cdata {
+ color: #999;
+ font-weight: bold
+}
+
+pre .deletion {
+ background: #fdd
+}
+
+pre .addition {
+ background: #dfd
+}
+
+pre .diff .change {
+ background: #0086b3
+}
+
+pre .chunk {
+ color: #aaa
+}
+
+pre .tex .formula {
+ opacity: 0.5;
+}
+/*
+ * jQuery UI CSS Framework @VERSION
+ *
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ */
+
+/* Layout helpers
+----------------------------------*/
+
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
+.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
+.ui-helper-clearfix { display: inline-block; }
+/* required comment for clearfix to work in Opera \*/
+* html .ui-helper-clearfix { height:1%; }
+.ui-helper-clearfix { display:block; }
+/* end clearfix */
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+
+
+/*
+ * jQuery UI CSS Framework @VERSION
+ *
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ *
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
+ */
+
+
+/* Component containers
+----------------------------------*/
+.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
+.ui-widget .ui-widget { font-size: 1em; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
+.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
+.ui-widget-content a { color: #222222; }
+.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
+.ui-widget-header a { color: #222222; }
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
+.ui-widget :active { outline: none; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
+
+/* positioning */
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-close { background-position: -80px -128px; }
+.ui-icon-closethick { background-position: -96px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-off { background-position: -96px -144px; }
+.ui-icon-radio-on { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-squaresmall-close { background-position: -80px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
+.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
+.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
+.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
+.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
+.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
+.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
+.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
+.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
+
+/* Overlays */
+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
+/*
+ ColorBox Core Style:
+ The following CSS is consistent between example themes and should not be altered.
+*/
+#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
+#cboxOverlay{position:fixed; width:100%; height:100%;}
+#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
+#cboxContent{position:relative;}
+#cboxLoadedContent{overflow:auto;}
+#cboxTitle{margin:0;}
+#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
+#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
+.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
+.cboxIframe{width:100%; height:100%; display:block; border:0;}
+#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;}
+
+/*
+ User Style:
+ Change the following styles to modify the appearance of ColorBox. They are
+ ordered & tabbed in a way that represents the nesting of the generated HTML.
+*/
+#cboxOverlay{background:#000;}
+#colorbox{}
+ #cboxTopLeft{width:14px; height:14px; background:url(colorbox/controls.png) no-repeat 0 0;}
+ #cboxTopCenter{height:14px; background:url(colorbox/border.png) repeat-x top left;}
+ #cboxTopRight{width:14px; height:14px; background:url(colorbox/controls.png) no-repeat -36px 0;}
+ #cboxBottomLeft{width:14px; height:43px; background:url(colorbox/controls.png) no-repeat 0 -32px;}
+ #cboxBottomCenter{height:43px; background:url(colorbox/border.png) repeat-x bottom left;}
+ #cboxBottomRight{width:14px; height:43px; background:url(colorbox/controls.png) no-repeat -36px -32px;}
+ #cboxMiddleLeft{width:14px; background:url(colorbox/controls.png) repeat-y -175px 0;}
+ #cboxMiddleRight{width:14px; background:url(colorbox/controls.png) repeat-y -211px 0;}
+ #cboxContent{background:#fff; overflow:visible;}
+ .cboxIframe{background:#fff;}
+ #cboxError{padding:50px; border:1px solid #ccc;}
+ #cboxLoadedContent{margin-bottom:5px;}
+ #cboxLoadingOverlay{background:url(colorbox/loading_background.png) no-repeat center center;}
+ #cboxLoadingGraphic{background:url(colorbox/loading.gif) no-repeat center center;}
+ #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
+ #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
+
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
+ #cboxPrevious{left:0px; background-position: -51px -25px;}
+ #cboxPrevious:hover{background-position:-51px 0px;}
+ #cboxNext{left:27px; background-position:-75px -25px;}
+ #cboxNext:hover{background-position:-75px 0px;}
+ #cboxClose{right:0; background-position:-100px -25px;}
+ #cboxClose:hover{background-position:-100px 0px;}
+
+ .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
+ .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
+ .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
+ .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
+#loading {
+ position: fixed;
+ left: 40%;
+ top: 50%; }
+
+a {
+ color: #333333;
+ text-decoration: none; }
+ a:hover {
+ color: black;
+ text-decoration: underline; }
+
+body {
+ font-family: "Lucida Grande", Helvetica, "Helvetica Neue", Arial, sans-serif;
+ padding: 12px;
+ background-color: #333333; }
+
+h1, h2, h3, h4 {
+ color: #1c2324;
+ margin: 0;
+ padding: 0;
+ margin-bottom: 12px; }
+
+table {
+ width: 100%; }
+
+#content {
+ clear: left;
+ background-color: white;
+ border: 2px solid #dddddd;
+ border-top: 8px solid #dddddd;
+ padding: 18px;
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-bottom-right-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ -moz-border-radius-bottomleft: 5px;
+ -moz-border-radius-bottomright: 5px;
+ -moz-border-radius-topright: 5px;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+ border-top-right-radius: 5px; }
+
+.dataTables_filter, .dataTables_info {
+ padding: 2px 6px; }
+
+abbr.timeago {
+ text-decoration: none;
+ border: none;
+ font-weight: bold; }
+
+.timestamp {
+ float: right;
+ color: #dddddd; }
+
+.group_tabs {
+ list-style: none;
+ float: left;
+ margin: 0;
+ padding: 0; }
+ .group_tabs li {
+ display: inline;
+ float: left; }
+ .group_tabs li a {
+ font-family: Helvetica, Arial, sans-serif;
+ display: block;
+ float: left;
+ text-decoration: none;
+ padding: 4px 8px;
+ background-color: #aaaaaa;
+ background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dddddd), to(#aaaaaa));
+ background: -moz-linear-gradient(#dddddd, #aaaaaa);
+ background: linear-gradient(#dddddd, #aaaaaa);
+ text-shadow: #e5e5e5 1px 1px 0px;
+ border-bottom: none;
+ color: #333333;
+ font-weight: bold;
+ margin-right: 8px;
+ border-top: 1px solid #efefef;
+ -webkit-border-top-left-radius: 2px;
+ -webkit-border-top-right-radius: 2px;
+ -moz-border-radius-topleft: 2px;
+ -moz-border-radius-topright: 2px;
+ border-top-left-radius: 2px;
+ border-top-right-radius: 2px; }
+ .group_tabs li a:hover {
+ background-color: #cccccc;
+ background: -webkit-gradient(linear, 0 0, 0 bottom, from(#eeeeee), to(#aaaaaa));
+ background: -moz-linear-gradient(#eeeeee, #aaaaaa);
+ background: linear-gradient(#eeeeee, #aaaaaa); }
+ .group_tabs li a:active {
+ padding-top: 5px;
+ padding-bottom: 3px; }
+ .group_tabs li.active a {
+ color: black;
+ text-shadow: white 1px 1px 0px;
+ background-color: #dddddd;
+ background: -webkit-gradient(linear, 0 0, 0 bottom, from(white), to(#dddddd));
+ background: -moz-linear-gradient(white, #dddddd);
+ background: linear-gradient(white, #dddddd); }
+
+.file_list {
+ margin-bottom: 18px; }
+
+a.src_link {
+ background: url("./magnify.png") no-repeat left 50%;
+ padding-left: 18px; }
+
+tr, td {
+ margin: 0;
+ padding: 0; }
+
+th {
+ white-space: nowrap; }
+ th.ui-state-default {
+ cursor: pointer; }
+ th span.ui-icon {
+ float: left; }
+
+td {
+ padding: 4px 8px; }
+ td.strong {
+ font-weight: bold; }
+
+.source_table h3, .source_table h4 {
+ padding: 0;
+ margin: 0;
+ margin-bottom: 4px; }
+.source_table .header {
+ padding: 10px; }
+.source_table pre {
+ margin: 0;
+ padding: 0;
+ white-space: normal;
+ color: black;
+ font-family: "Monaco", "Inconsolata", "Consolas", monospace; }
+.source_table code {
+ color: black;
+ font-family: "Monaco", "Inconsolata", "Consolas", monospace; }
+.source_table pre {
+ background-color: #333333; }
+ .source_table pre ol {
+ margin: 0px;
+ padding: 0px;
+ margin-left: 45px;
+ font-size: 12px;
+ color: white; }
+ .source_table pre li {
+ margin: 0px;
+ padding: 2px 6px;
+ border-left: 5px solid white; }
+ .source_table pre li code {
+ white-space: pre;
+ white-space: pre-wrap; }
+ .source_table pre .hits {
+ float: right;
+ margin-left: 10px;
+ padding: 2px 4px;
+ background-color: #444444;
+ background: -webkit-gradient(linear, 0 0, 0 bottom, from(#222222), to(#666666));
+ background: -moz-linear-gradient(#222222, #666666);
+ background: linear-gradient(#222222, #666666);
+ color: white;
+ font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
+ font-size: 10px;
+ font-weight: bold;
+ text-align: center;
+ border-radius: 6px; }
+
+#footer {
+ color: #dddddd;
+ font-size: 12px;
+ font-weight: bold;
+ margin-top: 12px;
+ text-align: right; }
+ #footer a {
+ color: #eeeeee;
+ text-decoration: underline; }
+ #footer a:hover {
+ color: white;
+ text-decoration: none; }
+
+.green {
+ color: #009900; }
+
+.red {
+ color: #990000; }
+
+.yellow {
+ color: #ddaa00; }
+
+.source_table .covered {
+ border-color: #009900; }
+.source_table .missed {
+ border-color: #990000; }
+.source_table .never {
+ border-color: black; }
+.source_table .skipped {
+ border-color: #ffcc00; }
+.source_table .covered:nth-child(odd) {
+ background-color: #cdf2cd; }
+.source_table .covered:nth-child(even) {
+ background-color: #dbf2db; }
+.source_table .missed:nth-child(odd) {
+ background-color: #f7c0c0; }
+.source_table .missed:nth-child(even) {
+ background-color: #f7cfcf; }
+.source_table .never:nth-child(odd) {
+ background-color: #efefef; }
+.source_table .never:nth-child(even) {
+ background-color: #f4f4f4; }
+.source_table .skipped:nth-child(odd) {
+ background-color: #fbf0c0; }
+.source_table .skipped:nth-child(even) {
+ background-color: #fbffcf; }
+
+
+
diff --git a/coverage/assets/0.10.0/application.js b/coverage/assets/0.10.0/application.js
new file mode 100644
index 0000000000..fe65d88219
--- /dev/null
+++ b/coverage/assets/0.10.0/application.js
@@ -0,0 +1,1707 @@
+/*!
+ * jQuery JavaScript Library v1.6.2
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Thu Jun 30 14:16:56 2011 -0400
+ */
+
+(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
+
+
diff --git a/db/albums.csv b/db/albums.csv
new file mode 100644
index 0000000000..5f139420f8
--- /dev/null
+++ b/db/albums.csv
@@ -0,0 +1,11 @@
+title,artist,rank
+test,test,10
+test,test,20
+test,test,30
+test,test,40
+test,test,50
+test,test,60
+test,test,70
+test,test,80
+test,test,90
+test,test,100
\ No newline at end of file
diff --git a/db/books.csv b/db/books.csv
new file mode 100644
index 0000000000..6c90e2af1c
--- /dev/null
+++ b/db/books.csv
@@ -0,0 +1,11 @@
+title,author,rank
+the color of magic,terry pratchett,10
+the light fantastic,terry pratchett,20
+the wyrd sisters,terry pratchett,30
+guards! guards!,terry pratchett,40
+i shall wear midnight,terry pratchett,50
+the wee free men,terry pratchett,60
+wintersmith,terry pratchett,70
+the night watch,terry pratchett,80
+small gods,terry pratchett,90
+interesting times,terry pratchett,100
\ No newline at end of file
diff --git a/db/development.sqlite3 b/db/development.sqlite3
new file mode 100644
index 0000000000..47b19f7e65
Binary files /dev/null and b/db/development.sqlite3 differ
diff --git a/db/migrate/20160713164247_create_albums.rb b/db/migrate/20160713164247_create_albums.rb
new file mode 100644
index 0000000000..2eb365988c
--- /dev/null
+++ b/db/migrate/20160713164247_create_albums.rb
@@ -0,0 +1,10 @@
+class CreateAlbums < ActiveRecord::Migration[5.0]
+ def change
+ create_table :albums do |t|
+ t.text :title, null: false
+ t.text :artist, null: false
+ t.integer :rank, null: false
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20160713164253_create_books.rb b/db/migrate/20160713164253_create_books.rb
new file mode 100644
index 0000000000..4858b0eb72
--- /dev/null
+++ b/db/migrate/20160713164253_create_books.rb
@@ -0,0 +1,10 @@
+class CreateBooks < ActiveRecord::Migration[5.0]
+ def change
+ change_table :books do |t|
+ t.text :title, null: false
+ t.text :author, null: false
+ t.integer :rank, null: false
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20160713164303_create_movies.rb b/db/migrate/20160713164303_create_movies.rb
new file mode 100644
index 0000000000..40b0f97ebe
--- /dev/null
+++ b/db/migrate/20160713164303_create_movies.rb
@@ -0,0 +1,10 @@
+class CreateMovies < ActiveRecord::Migration[5.0]
+ def change
+ change_table :movies do |t|
+ t.text :title, null: false
+ t.text :director, null: false
+ t.integer :rank, null: false
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20160713171916_initial_models.rb b/db/migrate/20160713171916_initial_models.rb
new file mode 100644
index 0000000000..e24545590e
--- /dev/null
+++ b/db/migrate/20160713171916_initial_models.rb
@@ -0,0 +1,21 @@
+class InitialModels < ActiveRecord::Migration[5.0]
+ def change
+ change_table :albums do |t|
+ t.text :title
+ t.text :artist
+ t.integer :rank
+ end
+
+ change_table :books do |t|
+ t.text :title
+ t.text :author
+ t.integer :rank
+ end
+
+ change_table :movies do |t|
+ t.text :title
+ t.text :director
+ t.integer :rank
+ end
+ end
+end
diff --git a/db/migrate/20160714193003_add_columns_to_all_tables_again.rb b/db/migrate/20160714193003_add_columns_to_all_tables_again.rb
new file mode 100644
index 0000000000..be2afce0ad
--- /dev/null
+++ b/db/migrate/20160714193003_add_columns_to_all_tables_again.rb
@@ -0,0 +1,21 @@
+class AddColumnsToAllTablesAgain < ActiveRecord::Migration[5.0]
+ def change
+ change_table :albums do |t|
+ t.text :title
+ t.text :artist
+ t.integer :rank
+ end
+
+ change_table :books do |t|
+ t.text :title
+ t.text :author
+ t.integer :rank
+ end
+
+ change_table :movies do |t|
+ t.text :title
+ t.text :director
+ t.integer :rank
+ end
+ end
+end
diff --git a/db/migrate/20160721062336_add_descriptions_to_tables.rb b/db/migrate/20160721062336_add_descriptions_to_tables.rb
new file mode 100644
index 0000000000..c4d197ec13
--- /dev/null
+++ b/db/migrate/20160721062336_add_descriptions_to_tables.rb
@@ -0,0 +1,13 @@
+class AddDescriptionsToTables < ActiveRecord::Migration[5.0]
+ change_table :albums do |t|
+ t.text :description
+ end
+
+ change_table :books do |t|
+ t.text :description
+ end
+
+ change_table :movies do |t|
+ t.text :description
+ end
+end
diff --git a/db/migrate/20160721065929_add_default_value_to_rank.rb b/db/migrate/20160721065929_add_default_value_to_rank.rb
new file mode 100644
index 0000000000..f881b7fde0
--- /dev/null
+++ b/db/migrate/20160721065929_add_default_value_to_rank.rb
@@ -0,0 +1,7 @@
+class AddDefaultValueToRank < ActiveRecord::Migration[5.0]
+ def change
+ change_column :albums, :rank, :integer, :default => 0
+ change_column :books, :rank, :integer, :default => 0
+ change_column :movies, :rank, :integer, :default => 0
+ end
+end
\ No newline at end of file
diff --git a/db/migrate/20160721070517_add_null_false_to_titles.rb b/db/migrate/20160721070517_add_null_false_to_titles.rb
new file mode 100644
index 0000000000..9218c36c7c
--- /dev/null
+++ b/db/migrate/20160721070517_add_null_false_to_titles.rb
@@ -0,0 +1,7 @@
+class AddNullFalseToTitles < ActiveRecord::Migration[5.0]
+ def change
+ change_column_null :albums, :title, false
+ change_column_null :books, :title, false
+ change_column_null :movies, :title, false
+ end
+end
diff --git a/db/movies.csv b/db/movies.csv
new file mode 100644
index 0000000000..cd366e4f70
--- /dev/null
+++ b/db/movies.csv
@@ -0,0 +1,11 @@
+title,director,rank
+test,test,10
+test,test,20
+test,test,30
+test,test,40
+test,test,50
+test,test,60
+test,test,70
+test,test,80
+test,test,90
+test,test,100
\ No newline at end of file
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 0000000000..59d471b092
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,42 @@
+# 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: 20160721070517) do
+
+ create_table "albums", force: :cascade do |t|
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.text "title", null: false
+ t.text "artist"
+ t.integer "rank", default: 0
+ t.text "description"
+ end
+
+ create_table "books", force: :cascade do |t|
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.text "title", null: false
+ t.text "author"
+ t.integer "rank", default: 0
+ t.text "description"
+ end
+
+ create_table "movies", force: :cascade do |t|
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.text "title", null: false
+ t.text "director"
+ t.integer "rank", default: 0
+ t.text "description"
+ end
+
+end
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000000..99b5f1d2c7
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,26 @@
+# 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)
+require 'csv'
+
+ALBUMS = './db/albums.csv'
+
+CSV.foreach(ALBUMS, headers: true) do |row|
+ Album.create(row.to_h)
+end
+
+BOOKS = './db/books.csv'
+
+CSV.foreach(BOOKS, headers: true) do |row|
+ Book.create(row.to_h)
+end
+
+MOVIES = './db/movies.csv'
+
+CSV.foreach(MOVIES, headers: true) do |row|
+ Movie.create(row.to_h)
+end
\ No newline at end of file
diff --git a/lib/assets/.keep b/lib/assets/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/lib/tasks/.keep b/lib/tasks/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/log/.keep b/log/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 0000000000..f51baa1186
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,8190 @@
+Started GET "/" for ::1 at 2016-07-13 10:18:30 -0700
+
+ActiveRecord::PendingMigrationError -
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+:
+ activerecord (5.0.0) lib/active_record/migration.rb:572:in `check_pending!'
+ activerecord (5.0.0) lib/active_record/migration.rb:548:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/1122c8a1f6845a81/variables" for ::1 at 2016-07-13 10:18:30 -0700
+Started GET "/" for ::1 at 2016-07-13 10:19:21 -0700
+
+ActiveRecord::PendingMigrationError -
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+:
+ activerecord (5.0.0) lib/active_record/migration.rb:572:in `check_pending!'
+ activerecord (5.0.0) lib/active_record/migration.rb:548:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/2324a5eaa7eae2e1/variables" for ::1 at 2016-07-13 10:19:21 -0700
+Started GET "/" for ::1 at 2016-07-13 10:19:36 -0700
+
+ActiveRecord::PendingMigrationError -
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+:
+ activerecord (5.0.0) lib/active_record/migration.rb:572:in `check_pending!'
+ activerecord (5.0.0) lib/active_record/migration.rb:548:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/3955d67a128ddc27/variables" for ::1 at 2016-07-13 10:19:36 -0700
+ [1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateAlbums (20160713164247)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "albums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160713164247"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateBooks (20160713164253)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160713164253"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreateMovies (20160713164303)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "movies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160713164303"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Migrating to InitialModels (20160713171916)
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160713171916"]]
+ [1m[35m (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-07-13 17:30:43 UTC], ["updated_at", 2016-07-13 17:30:43 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/" for ::1 at 2016-07-13 10:31:01 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+
+ActionController::RoutingError - uninitialized constant HomeController:
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:46:in `rescue in controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:44:in `controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:30:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/780f339ab00a169a/variables" for ::1 at 2016-07-13 10:31:01 -0700
+Started GET "/" for ::1 at 2016-07-13 10:31:36 -0700
+
+ActionController::RoutingError - uninitialized constant HomeController:
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:46:in `rescue in controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:44:in `controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:30:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/ef6b46586e9a515a/variables" for ::1 at 2016-07-13 10:31:36 -0700
+Started GET "/" for ::1 at 2016-07-13 10:35:50 -0700
+Processing by ApplicationController#index as HTML
+Completed 406 Not Acceptable in 24ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - ApplicationController#index is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.:
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/947db2878da764c7/variables" for ::1 at 2016-07-13 10:35:50 -0700
+Started GET "/" for ::1 at 2016-07-13 10:37:16 -0700
+Processing by ApplicationController#index as HTML
+Completed 406 Not Acceptable in 19ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - ApplicationController#index is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.:
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/314fd47fbfc3ed68/variables" for ::1 at 2016-07-13 10:37:16 -0700
+Started GET "/" for ::1 at 2016-07-13 10:38:04 -0700
+Processing by ApplicationController#index as HTML
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
+
+
+
+ActionView::MissingTemplate - Missing template application/application with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:
+ * "/Users/jadevance/C5/projects/MediaRanker/app/views"
+:
+ actionview (5.0.0) lib/action_view/path_set.rb:46:in `find'
+ actionview (5.0.0) lib/action_view/lookup_context.rb:122:in `find'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:8:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ app/controllers/application_controller.rb:4:in `index'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/2f2167b5dd7581f3/variables" for ::1 at 2016-07-13 10:38:04 -0700
+Started GET "/" for ::1 at 2016-07-13 10:38:16 -0700
+
+SyntaxError - syntax error, unexpected ':', expecting keyword_end
+ render: 'application'
+ ^:
+ app/controllers/application_controller.rb:4:in `'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:477:in `block in load_file'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:662:in `new_constants_in'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:476:in `load_file'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:375:in `block in require_or_load'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:37:in `block in load_interlock'
+ activesupport (5.0.0) lib/active_support/dependencies/interlock.rb:12:in `block in loading'
+ activesupport (5.0.0) lib/active_support/concurrency/share_lock.rb:117:in `exclusive'
+ activesupport (5.0.0) lib/active_support/dependencies/interlock.rb:11:in `loading'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:37:in `load_interlock'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:358:in `require_or_load'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:511:in `load_missing_constant'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:203:in `const_missing'
+ activesupport (5.0.0) lib/active_support/inflector/methods.rb:268:in `block in constantize'
+ activesupport (5.0.0) lib/active_support/inflector/methods.rb:266:in `constantize'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:583:in `get'
+ activesupport (5.0.0) lib/active_support/dependencies.rb:614:in `constantize'
+ actionpack (5.0.0) lib/action_dispatch/http/request.rb:93:in `controller_class'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:44:in `controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:30:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/d8892387309ccb5e/variables" for ::1 at 2016-07-13 10:38:16 -0700
+Started GET "/" for ::1 at 2016-07-13 10:38:30 -0700
+Processing by ApplicationController#index as HTML
+Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `application' for #:
+ app/controllers/application_controller.rb:4:in `index'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/ac87851ed03bc5da/variables" for ::1 at 2016-07-13 10:38:30 -0700
+Started GET "/" for ::1 at 2016-07-13 13:17:12 -0700
+Processing by ApplicationController#index as HTML
+Completed 406 Not Acceptable in 16ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - ApplicationController#index is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.:
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/5063013536f2b0b4/variables" for ::1 at 2016-07-13 13:17:12 -0700
+Started GET "/" for ::1 at 2016-07-13 13:17:43 -0700
+
+ActionController::RoutingError - uninitialized constant LayoutController:
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:46:in `rescue in controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:44:in `controller'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:30:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/e5093b8ba2d03371/variables" for ::1 at 2016-07-13 13:17:43 -0700
+Started GET "/" for ::1 at 2016-07-13 13:19:16 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 716ms (Views: 714.6ms | ActiveRecord: 0.0ms)
+
+
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddColumnsToAllTables (20160714192702)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160714192702"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddColumnsToAllTablesAgain (20160714193003)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "albums" ADD "title" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "albums" ADD "artist" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "albums" ADD "rank" integer[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "books" ADD "title" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "books" ADD "author" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "books" ADD "rank" integer[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "movies" ADD "title" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "movies" ADD "director" text[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "movies" ADD "rank" integer[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160714193003"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 10]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 20]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 30]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 40]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 50]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 60]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 70]]
+ [1m[35m (0.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 80]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 90]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["artist", "test"], ["rank", 100]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "the color of magic"], ["author", "terry pratchett"], ["rank", 10]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "the light fantastic"], ["author", "terry pratchett"], ["rank", 20]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "the wyrd sisters"], ["author", "terry pratchett"], ["rank", 30]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "guards! guards!"], ["author", "terry pratchett"], ["rank", 40]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "i shall wear midnight"], ["author", "terry pratchett"], ["rank", 50]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "the wee free men"], ["author", "terry pratchett"], ["rank", 60]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "wintersmith"], ["author", "terry pratchett"], ["rank", 70]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "the night watch"], ["author", "terry pratchett"], ["rank", 80]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "small gods"], ["author", "terry pratchett"], ["rank", 90]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "interesting times"], ["author", "terry pratchett"], ["rank", 100]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 10]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 20]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 30]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 40]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 50]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 60]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 70]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 80]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 90]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "rank") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-14 19:30:46 UTC], ["updated_at", 2016-07-14 19:30:46 UTC], ["title", "test"], ["director", "test"], ["rank", 100]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mBook Load (2.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+Started GET "/" for ::1 at 2016-07-14 13:42:03 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 256ms (Views: 246.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:43:29 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:44:02 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:44:45 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:45:26 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:52:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:52:29 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:52:43 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:53:34 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:55:19 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:55:37 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:56:42 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:57:03 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:57:25 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:57:58 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:59:13 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 13:59:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 15:44:42 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 15:47:58 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-14 15:48:56 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:18:57 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 164ms (Views: 154.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:20:44 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:20:52 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 58ms (Views: 55.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:28:28 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:33:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 27ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+
+
+ [1m[36mBook Load (2.4ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+Started GET "/" for ::1 at 2016-07-18 08:37:27 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (7.8ms)
+Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+ActionView::MissingTemplate - Missing partial home/_top, application/_top with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:
+ * "/Users/jadevance/C5/projects/MediaRanker/app/views"
+:
+ actionview (5.0.0) lib/action_view/path_set.rb:46:in `find'
+ actionview (5.0.0) lib/action_view/lookup_context.rb:122:in `find'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:420:in `find_template'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:415:in `find_partial'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:297:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ app/views/home/index.html.erb:11:in `_app_views_home_index_html_erb__474688732215276773_70144429910080'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/c03f56ad8940697d/variables" for ::1 at 2016-07-18 08:37:28 -0700
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.4ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.4ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+Started POST "/__better_errors/c03f56ad8940697d/variables" for ::1 at 2016-07-18 08:38:12 -0700
+Started GET "/" for ::1 at 2016-07-18 08:38:15 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/_top.html.erb (0.3ms)
+ Rendered home/_top.html.erb (0.0ms)
+ Rendered home/_top.html.erb (0.0ms)
+ Rendered home/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:38:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/_top.html.erb (0.3ms)
+ Rendered home/_top.html.erb (0.0ms)
+ Rendered home/_top.html.erb (0.0ms)
+ Rendered home/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:41:53 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/_top.html.erb (145.0ms)
+ Rendered home/index.html.erb within layouts/application (146.5ms)
+Completed 500 Internal Server Error in 150ms (ActiveRecord: 1.0ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NameError - undefined local variable or method `books' for #<#:0x007f9789fd65b0>
+Did you mean? @books:
+ app/views/home/_top.html.erb:2:in `_app_views_home__top_html_erb___4609232049768816121_70144415972980'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ app/views/home/index.html.erb:11:in `_app_views_home_index_html_erb__474688732215276773_70144415938580'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/672d0565819cf2a7/variables" for ::1 at 2016-07-18 08:41:53 -0700
+Started POST "/__better_errors/672d0565819cf2a7/variables" for ::1 at 2016-07-18 08:41:59 -0700
+Started GET "/" for ::1 at 2016-07-18 08:49:34 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/_top.html.erb (15.1ms)
+ Rendered home/_top.html.erb (0.9ms)
+ Rendered home/_top.html.erb (0.8ms)
+ Rendered home/index.html.erb within layouts/application (20.4ms)
+Completed 200 OK in 54ms (Views: 47.9ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:50:56 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (261.3ms)
+Completed 500 Internal Server Error in 266ms (ActiveRecord: 0.4ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NameError - undefined local variable or method `book' for #<#:0x007f978f5b8c80>
+Did you mean? book_url
+ books_url
+ book_path
+ @books:
+ app/views/home/index.html.erb:12:in `_app_views_home_index_html_erb__474688732215276773_70144460969860'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/c94793096dd72c2a/variables" for ::1 at 2016-07-18 08:50:57 -0700
+Started GET "/" for ::1 at 2016-07-18 08:51:35 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/_top.html.erb (2.6ms)
+ Rendered home/_top.html.erb (0.9ms)
+ Rendered home/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:53:40 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:54:09 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:55:54 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:56:05 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:56:27 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 33ms (Views: 31.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:57:06 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:59:16 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 40ms (Views: 37.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 08:59:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.4ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 37ms (Views: 34.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:01:03 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:01:31 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:01:54 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:02:04 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:03:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:04:05 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:52:00 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:52:08 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 28ms (Views: 26.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:52:35 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 29ms (Views: 27.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:52:50 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:53:25 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 09:53:45 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/1" for ::1 at 2016-07-18 21:34:30 -0700
+
+AbstractController::ActionNotFound - The action 'show' could not be found for BooksController:
+ actionpack (5.0.0) lib/abstract_controller/base.rb:121:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/219c647256d1595f/variables" for ::1 at 2016-07-18 21:34:30 -0700
+Started GET "/" for ::1 at 2016-07-18 21:34:34 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:36:27 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (1.6ms)
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_ensure, expecting end-of-input:
+ app/views/home/index.html.erb:47:in `'
+ actionview (5.0.0) lib/action_view/template.rb:309:in `compile'
+ actionview (5.0.0) lib/action_view/template.rb:258:in `block (2 levels) in compile!'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:350:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:257:in `block in compile!'
+ actionview (5.0.0) lib/action_view/template.rb:245:in `compile!'
+ actionview (5.0.0) lib/action_view/template.rb:157:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/1d9db42d996e4544/variables" for ::1 at 2016-07-18 21:36:27 -0700
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+Started GET "/" for ::1 at 2016-07-18 21:36:40 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/_top.html.erb (3.4ms)
+ Rendered home/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 29ms (Views: 27.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:37:06 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered home/_top.html.erb (1.7ms)
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:39:47 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ Rendered home/index.html.erb within layouts/application (1.2ms)
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
+
+
+
+SyntaxError - syntax error, unexpected keyword_ensure, expecting end-of-input:
+ app/views/home/index.html.erb:42:in `'
+ actionview (5.0.0) lib/action_view/template.rb:309:in `compile'
+ actionview (5.0.0) lib/action_view/template.rb:258:in `block (2 levels) in compile!'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:350:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:257:in `block in compile!'
+ actionview (5.0.0) lib/action_view/template.rb:245:in `compile!'
+ actionview (5.0.0) lib/action_view/template.rb:157:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/e6fb48fb1bc84211/variables" for ::1 at 2016-07-18 21:39:47 -0700
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+Started GET "/" for ::1 at 2016-07-18 21:40:02 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered home/_top.html.erb (1.7ms)
+ Rendered home/_top.html.erb (0.3ms)
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:40:34 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered home/_top.html.erb (1.6ms)
+ Rendered home/_top.html.erb (0.3ms)
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:40:59 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered home/_top.html.erb (1.8ms)
+ Rendered home/_top.html.erb (0.4ms)
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:41:18 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered home/_top.html.erb (1.6ms)
+ Rendered home/_top.html.erb (0.4ms)
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:42:30 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:44:15 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:44:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:45:59 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:46:22 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:46:24 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:46:34 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-18 21:46:37 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:28:29 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank ASC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (20.2ms)
+Completed 200 OK in 60ms (Views: 52.1ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:28:50 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (1.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.9ms)
+Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.3ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+ActiveRecord::StatementInvalid - SQLite3::SQLException: near "DSC": syntax error: SELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?:
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:555:in `translate_exception_class'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:568:in `rescue in log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
+ activerecord (5.0.0) lib/active_record/querying.rb:39:in `find_by_sql'
+ activerecord (5.0.0) lib/active_record/relation.rb:699:in `exec_queries'
+ activerecord (5.0.0) lib/active_record/relation.rb:580:in `load'
+ activerecord (5.0.0) lib/active_record/relation.rb:260:in `records'
+ activerecord (5.0.0) lib/active_record/relation/delegation.rb:38:in `each'
+ app/views/home/index.html.erb:14:in `_app_views_home_index_html_erb__474688732215276773_70144419722880'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/cd1f3ce21a9379fa/variables" for ::1 at 2016-07-19 16:28:51 -0700
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ [1m[36mBook Load (0.7ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DSC LIMIT ?[0m [["LIMIT", 10]]
+Started GET "/" for ::1 at 2016-07-19 16:28:55 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.7ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (3.4ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.7ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+ActiveRecord::StatementInvalid - SQLite3::SQLException: near "DEC": syntax error: SELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?:
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:555:in `translate_exception_class'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:568:in `rescue in log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
+ activerecord (5.0.0) lib/active_record/querying.rb:39:in `find_by_sql'
+ activerecord (5.0.0) lib/active_record/relation.rb:699:in `exec_queries'
+ activerecord (5.0.0) lib/active_record/relation.rb:580:in `load'
+ activerecord (5.0.0) lib/active_record/relation.rb:260:in `records'
+ activerecord (5.0.0) lib/active_record/relation/delegation.rb:38:in `each'
+ app/views/home/index.html.erb:14:in `_app_views_home_index_html_erb__474688732215276773_70144501467560'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/26b15c9adfc3a097/variables" for ::1 at 2016-07-19 16:28:55 -0700
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DEC LIMIT ?[0m [["LIMIT", 10]]
+Started GET "/" for ::1 at 2016-07-19 16:28:59 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.7ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (3.3ms)
+Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.7ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+ActiveRecord::StatementInvalid - SQLite3::SQLException: near "DES": syntax error: SELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?:
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:555:in `translate_exception_class'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:568:in `rescue in log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
+ activerecord (5.0.0) lib/active_record/querying.rb:39:in `find_by_sql'
+ activerecord (5.0.0) lib/active_record/relation.rb:699:in `exec_queries'
+ activerecord (5.0.0) lib/active_record/relation.rb:580:in `load'
+ activerecord (5.0.0) lib/active_record/relation.rb:260:in `records'
+ activerecord (5.0.0) lib/active_record/relation/delegation.rb:38:in `each'
+ app/views/home/index.html.erb:14:in `_app_views_home_index_html_erb__474688732215276773_70144502315080'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/2ad078faa58185de/variables" for ::1 at 2016-07-19 16:28:59 -0700
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank DES LIMIT ?[0m [["LIMIT", 10]]
+Started GET "/" for ::1 at 2016-07-19 16:29:04 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY rank ASC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (12.1ms)
+Completed 200 OK in 31ms (Views: 25.8ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:30:33 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 33ms (Views: 27.4ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:30:45 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 9]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (13.9ms)
+Completed 200 OK in 37ms (Views: 30.6ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:30:50 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ Rendered home/index.html.erb within layouts/application (16.7ms)
+Completed 200 OK in 37ms (Views: 31.7ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-19 16:31:03 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (12.7ms)
+Completed 200 OK in 33ms (Views: 26.8ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 21:39:09 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.4ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (17.8ms)
+Completed 200 OK in 59ms (Views: 50.0ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 21:39:22 -0700
+Processing by BooksController#index as HTML
+Completed 406 Not Acceptable in 45ms (ActiveRecord: 0.0ms)
+
+
+
+ActionController::UnknownFormat - BooksController#index is missing a template for this request format and variant.
+
+request.formats: ["text/html"]
+request.variant: []
+
+NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.:
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:56:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/f8e7b6efcfdd3703/variables" for ::1 at 2016-07-20 21:39:22 -0700
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+Started GET "/books" for ::1 at 2016-07-20 21:40:11 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ Rendered books/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 21:40:13 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.5ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (6.9ms)
+Completed 200 OK in 36ms (Views: 32.8ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-20 21:40:15 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ Rendered albums/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-20 21:40:18 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ Rendered movies/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 21:46:55 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 21:47:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 21:55:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 21:55:54 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ Rendered books/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 22:05:12 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:05:15 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:05:53 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:06:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:07:01 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:07:36 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:08:54 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ Rendered books/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:09:51 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (6.8ms)
+Completed 200 OK in 30ms (Views: 25.9ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:09:58 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 22:14:01 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (6.0ms)
+Completed 200 OK in 29ms (Views: 24.9ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 22:14:02 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (12.4ms)
+Completed 200 OK in 36ms (Views: 29.1ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 22:14:03 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-20 22:14:05 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.4ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-20 22:14:10 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 26ms (Views: 23.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 22:19:29 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 33ms (Views: 28.7ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 22:46:50 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (13.9ms)
+Completed 200 OK in 38ms (Views: 31.7ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 22:46:52 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 26ms (Views: 20.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 22:48:02 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 22:49:33 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 22:49:51 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 22:50:02 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:02:32 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (14.8ms)
+Completed 200 OK in 52ms (Views: 42.2ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:02:33 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:02:39 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/1" for ::1 at 2016-07-20 23:03:32 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.5ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/1" for ::1 at 2016-07-20 23:11:28 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 30ms (Views: 21.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:11:30 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (14.1ms)
+Completed 200 OK in 36ms (Views: 30.2ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:11:31 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:11:38 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 26ms (Views: 22.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:18:29 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:18:31 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (12.6ms)
+Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:18:32 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (9.3ms)
+Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.4ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NoMethodError - undefined method `description' for #
+Did you mean? description_metadata:
+ activemodel (5.0.0) lib/active_model/attribute_methods.rb:433:in `method_missing'
+ app/views/books/show.html.erb:25:in `_app_views_books_show_html_erb___3252457241165280910_70144502727580'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/78caea3dd4176941/variables" for ::1 at 2016-07-20 23:18:32 -0700
+Started GET "/books/10" for ::1 at 2016-07-20 23:18:56 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"JGBRUnK0170dtgPeYzX3GoQaAJ68m4Vk8p9paRuFLwqYA5dW8RIGuIO8tOO9buvAnwjFA7HdfYF8ZxdQ9Gkxng==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:16 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"NhPb09cOE2YAAWeXD5O6sguDXZXX/1hHlIerBXHtekqKcB3XVKjCY54L0KrRyKZoEJGYCNq5oKIaf9U8ngFk3g==", "id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:16 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:16 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"jhFQDwBsoixc1s56kEN+Nf3ZnaThfzpLjUIPgzWr4cAycpYLg8pzKcLceUdOGGLv5stYOew5wq4DunG62kf/VA==", "id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:16 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:19:17 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:19:54 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 27ms (Views: 19.4ms | ActiveRecord: 0.6ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:56 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"BC99qtRI2S5r/Ygl1N7zejskp6G3ZjFe14YaW4JAM9K4TLuuV+4IK/X3PxgKhe+gIDZiPLogybtZfmRibawtRg==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:56 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:58 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"zmLJprjBavITKx/bC7vtDb3MGzA4dtQpFT5nJsldE9tyAQ+iO2e7940hqObV4PHXpt7erTUwLMybxhkfJrENTw==", "id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:58 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:58 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"44Wnw+TPMdBK066W7/3RvriUaM6y0qQsLrvVtPR9Ke1f5mHHZ2ng1dTZGasxps1ko4atU7+UXMmgQ6uNG5E3eQ==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:58 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"uJoCa+YHtW4IPxFeABt7Lq3oqCkp6k8VCPYdBkbtvGQE+cRvZaFka5Y1pmPeQGf0tvpttCSst/CGDmM/qQGi8A==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"oJwxgNedZJ3m21FJ9nLB0MoC79irPpHKwkDk5Ty0NZQc//eEVDu1mHjR5nQoKd0K0RAqRaZ4aS9MuJrc01grAA==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"FJheeLBf2MApGNUFQURRWvgnDB5p4o4XJ7xMd8y6cbao+5h8M/kJxbcSYjifH02A4zXJg2SkdvKpRDJOI1ZvIg==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"XCmZ2UkUamx1ykHgE7UomDv8i8TkbClhUaDNVcRWsmngSl/dyrK7aevA9t3N7jRCIO5OWekq0YTfWLNsK7qs/Q==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"+uwcKfzac6+k6TxqgiBmTanhG3+BZXoZ39EGVOr4sWVGj9otf3yiqjrji1dce3qXsvPe4owjgvxRKXhtBRSv8Q==", "id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+Redirected to http://localhost:3000/books
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:19:59 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:20:01 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:21:53 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 27ms (Views: 18.4ms | ActiveRecord: 0.7ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:21:54 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"1Uh2+Lgif7HEpYZ9QoWMlzorgmHv76EryeOOXI/M6JRpK7D8O4SutFqvMUCc3pBNITlH/OKpWc5HG/BlYCD2AA==", "id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 101], ["updated_at", 2016-07-21 06:21:54 UTC], ["id", 10]]
+ [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:21:54 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.4ms)
+
+
+Started PUT "/books/9/rank" for ::1 at 2016-07-20 23:22:24 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"sBFZVg7sPqtbvkQwLezNiIgOT3hqEkM9Sxiunqfz4vYMcp9SjUrvrsW08w3zt9FSkxyK5WdUu9jF4NCnSB/8Yg==", "id"=>"9"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 91], ["updated_at", 2016-07-21 06:22:24 UTC], ["id", 9]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 10ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:24 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:25 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"IGs0VVyQcPdBbpiFRqSEJZvBxJfBbw+9+GkUqCV0IjmcCPJR3zah8t9kL7iY/5j/gNMBCswp91h2kWqRypg8rQ==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 71], ["updated_at", 2016-07-21 06:22:25 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:25 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:26 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"s8M/Y3tTxU/+w6HhoyIv1w1QMOXB4+YM7qmj/hoUQXkPoPln+PUUSmDJFtx9eTMNFkL1eMylHulgUd3H9fhf7Q==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 72], ["updated_at", 2016-07-21 06:22:26 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:26 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:26 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"raY7xc4wC+7kVyGGmAIdDIGnJDlf6BhkQ85didp/A6cRxf3BTZba63pdlrtGWQHWmrXhpFKu4IHNNiOwNZMdMw==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 73], ["updated_at", 2016-07-21 06:22:26 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:26 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"tBxmnxSaqJSl/aRlovsfQAbOnYVtdcSsSVYYXxpt4lcIf6Cblzx5kTv3E1h8oAOaHdxYGGAzPEnHrmZm9YH8ww==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 74], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"H2YgdruYJEtle7ymktfdBV+zrnujD2pkWFr1pGnWoP6jBeZyOD71TvtxC5tMjMHfRKFr5q5JkoHWooudhjq+ag==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 75], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"vfn5gzAw+2KlexbzJbTUKx3/UiJ5NppX0zkcHo7tuiUBmj+Hs5YqZztxoc7778jxBu2Xv3RwYrJdwWInYQGksQ==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 76], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"hhnUTOdTUA3igbfmdd7F22SwyeYakiYc07MdfcLHTOI6ehJIZPWBCHyLANurhdkBf6IMexfU3vldS2NELStSdg==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 77], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 26ms (Views: 24.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"QERu52Wfr2cnOvbEmkwrBphuLC5VriOhWLOQe7hjTNf8J6jj5jl+YrkwQflEFzfcg3zps1jo20TWS+5CV49SQw==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 78], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (1.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 1.1ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"ey1B3f+EkkPUBDtN2J8Jn6XJKAk1wPR5hSWjJs1BLL/HTofZfCJDRkoOjHAGxBVFvtvtlDiGDJwL3d0fIq0yKw==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 79], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/7/rank" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"O9uZ0WA5BRfpimAaLnhZIOMyKfk3i0Um3LsDdJYKN72HuF/V45/UEneA1yfwI0X6+CDsZDrNvcNSQ31NeeYpKQ==", "id"=>"7"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 80], ["updated_at", 2016-07-21 06:22:27 UTC], ["id", 7]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/8/rank" for ::1 at 2016-07-20 23:22:28 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"VqT6kzsKBJ21B/9UQyRllhVYsyG7IUhZKjyfN8OXu/PqxzyXuKzVmCsNSGmdf3lMDkp2vLZnsLykxOEOLHulZw==", "id"=>"8"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 81], ["updated_at", 2016-07-21 06:22:28 UTC], ["id", 8]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:28 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 25.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:22:29 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-20 23:22:31 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"/rNg0NbwRDeOAx7cuIrM3X/0OwiNZwXkIshAmTV9GJJC0KbUVVaVMhAJqeFm0dAHZOb+lYAh/QGsMD6g2pEGBg==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 102], ["updated_at", 2016-07-21 06:22:31 UTC], ["id", 10]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:31 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:22:55 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:23:08 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 23ms (Views: 19.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10/edit" for ::1 at 2016-07-20 23:23:10 -0700
+Processing by BooksController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/edit.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (25.9ms)
+ Rendered books/edit.html.erb within layouts/application (27.9ms)
+Completed 500 Internal Server Error in 34ms (ActiveRecord: 0.2ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NoMethodError - undefined method `description' for #
+Did you mean? description_metadata:
+ activemodel (5.0.0) lib/active_model/attribute_methods.rb:433:in `method_missing'
+ actionview (5.0.0) lib/action_view/helpers/tags/base.rb:28:in `value'
+ actionview (5.0.0) lib/action_view/helpers/tags/base.rb:38:in `value_before_type_cast'
+ actionview (5.0.0) lib/action_view/helpers/tags/text_area.rb:17:in `block in render'
+ actionview (5.0.0) lib/action_view/helpers/tags/text_area.rb:17:in `render'
+ actionview (5.0.0) lib/action_view/helpers/form_helper.rb:892:in `text_area'
+ actionview (5.0.0) lib/action_view/helpers/form_helper.rb:1302:in `text_area'
+ app/views/books/_entryform.html.erb:15:in `block in _app_views_books__entryform_html_erb___1436978623073884843_70144500023880'
+ actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `block in capture'
+ actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer'
+ actionview (5.0.0) lib/action_view/helpers/capture_helper.rb:39:in `capture'
+ actionview (5.0.0) lib/action_view/helpers/form_helper.rb:450:in `form_for'
+ app/views/books/_entryform.html.erb:2:in `_app_views_books__entryform_html_erb___1436978623073884843_70144500023880'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:311:in `block in render'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/partial_renderer.rb:310:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (5.0.0) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ app/views/books/edit.html.erb:5:in `_app_views_books_edit_html_erb___2893712826861929132_70144509479000'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/7fc18f81c64dddeb/variables" for ::1 at 2016-07-20 23:23:10 -0700
+ [1m[36mBook Load (2.8ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums"[0m
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddDescriptionsToTables (20160721062336)
+ [1m[35m (1.1ms)[0m [1m[35mALTER TABLE "albums" ADD "description" text[0m
+ [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "books" ADD "description" text[0m
+ [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "movies" ADD "description" text[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160721062336"]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/books/10/edit" for ::1 at 2016-07-20 23:28:24 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by BooksController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/edit.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.4ms)
+ Rendered books/edit.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 29ms (Views: 21.1ms | ActiveRecord: 0.5ms)
+
+
+Started PATCH "/books/10" for ::1 at 2016-07-20 23:28:31 -0700
+Processing by BooksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BVIZPz5tnwrOoqNJzuxX9VDjsj3M7oUB1lGe7pG5p365Md87vctOD1CoFHQQt0svS/F3oMGofeRYqeDXflW56g==", "book"=>{"title"=>"interesting times", "author"=>"terry pratchett", "description"=>"Yay for books"}, "commit"=>"Submit", "id"=>"10"}
+Completed 500 Internal Server Error in 127ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `books_params' for #
+Did you mean? books_path:
+ app/controllers/books_controller.rb:30:in `update'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/a301f8eba8c18368/variables" for ::1 at 2016-07-20 23:28:31 -0700
+Started PATCH "/books/10" for ::1 at 2016-07-20 23:29:34 -0700
+Processing by BooksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BVIZPz5tnwrOoqNJzuxX9VDjsj3M7oUB1lGe7pG5p365Md87vctOD1CoFHQQt0svS/F3oMGofeRYqeDXflW56g==", "book"=>{"title"=>"interesting times", "author"=>"terry pratchett", "description"=>"Yay for books"}, "commit"=>"Submit", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.7ms)
+
+
+
+ActiveModel::ForbiddenAttributesError - ActiveModel::ForbiddenAttributesError:
+ activemodel (5.0.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
+ activemodel (5.0.0) lib/active_model/attribute_assignment.rb:33:in `assign_attributes'
+ activerecord (5.0.0) lib/active_record/persistence.rb:265:in `block in update'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/persistence.rb:264:in `update'
+ activerecord (5.0.0) lib/active_record/relation.rb:435:in `update'
+ activerecord (5.0.0) lib/active_record/querying.rb:8:in `update'
+ app/controllers/books_controller.rb:30:in `update'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/88605a13f5e82eb3/variables" for ::1 at 2016-07-20 23:29:34 -0700
+Started PATCH "/books/10" for ::1 at 2016-07-20 23:29:48 -0700
+Processing by BooksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BVIZPz5tnwrOoqNJzuxX9VDjsj3M7oUB1lGe7pG5p365Md87vctOD1CoFHQQt0svS/F3oMGofeRYqeDXflW56g==", "book"=>{"title"=>"interesting times", "author"=>"terry pratchett", "description"=>"Yay for books"}, "commit"=>"Submit", "id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books"[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.7ms)
+
+
+
+ArgumentError - When assigning attributes, you must pass a hash as an argument.:
+ activemodel (5.0.0) lib/active_model/attribute_assignment.rb:28:in `assign_attributes'
+ activerecord (5.0.0) lib/active_record/persistence.rb:265:in `block in update'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/persistence.rb:264:in `update'
+ activerecord (5.0.0) lib/active_record/relation.rb:425:in `block in update'
+ activerecord (5.0.0) lib/active_record/relation.rb:425:in `update'
+ activerecord (5.0.0) lib/active_record/querying.rb:8:in `update'
+ app/controllers/books_controller.rb:30:in `update'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/37c74e735ec59a92/variables" for ::1 at 2016-07-20 23:29:48 -0700
+Started PATCH "/books/10" for ::1 at 2016-07-20 23:30:44 -0700
+Processing by BooksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BVIZPz5tnwrOoqNJzuxX9VDjsj3M7oUB1lGe7pG5p365Md87vctOD1CoFHQQt0svS/F3oMGofeRYqeDXflW56g==", "book"=>{"title"=>"interesting times", "author"=>"terry pratchett", "description"=>"Yay for books"}, "commit"=>"Submit", "id"=>"10"}
+Unpermitted parameters: utf8, _method, authenticity_token, commit, id
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "description" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["description", "Yay for books"], ["updated_at", 2016-07-21 06:30:44 UTC], ["id", 10]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 12ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:30:44 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:30:47 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 32ms (Views: 28.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:31:25 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 30ms (Views: 20.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:31:54 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:32:19 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:33:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (15.3ms)
+Completed 200 OK in 55ms (Views: 49.4ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:33:56 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 33ms (Views: 29.8ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:33:58 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 33ms (Views: 29.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:34:01 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:34:05 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 35ms (Views: 31.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:51:03 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.4ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 38ms (Views: 34.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:51:06 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/books/9" for ::1 at 2016-07-20 23:51:08 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:51:12 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-20 23:51:21 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 35ms (Views: 32.4ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:51:25 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:53:00 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-20 23:53:02 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 32ms (Views: 29.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-20 23:53:06 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.5ms)
+ Rendered books/new.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-20 23:53:32 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zdbd6mEf8IDZTkvDQRHdLzBbaTDgGGlDhAeW6zKC/j/UZurXuYXoLZ3mhpadjNoJjzVy7JnSNzcLbzKqtz7qkA==", "book"=>{"title"=>"A brief history of everything", "author"=>"stephen hawking", "description"=>"idk but it looks cool"}, "commit"=>"Submit"}
+Completed 500 Internal Server Error in 159ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `books_params' for #
+Did you mean? book_params:
+ app/controllers/books_controller.rb:15:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/71de61dee7111c79/variables" for ::1 at 2016-07-20 23:53:33 -0700
+Started POST "/books" for ::1 at 2016-07-20 23:53:56 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fyImdXC/M6sn8Q9X3lxdqfs3jlA7NlNC6DyPJdps9i/DQeBx8xnirrn7uGoAB0Fz4CVLzTZwq6dmxPEcNYDouw==", "book"=>{"title"=>"A brief history of everything", "author"=>"stephen hawking", "description"=>"idk but it looks cool"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 06:53:56 UTC], ["updated_at", 2016-07-21 06:53:56 UTC], ["title", "A brief history of everything"], ["author", "stephen hawking"], ["description", "idk but it looks cool"]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 14ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:53:56 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:54:58 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+
+ActiveRecord::PendingMigrationError -
+
+Migrations are pending. To resolve this issue, run:
+
+ bin/rails db:migrate RAILS_ENV=development
+
+:
+ activerecord (5.0.0) lib/active_record/migration.rb:572:in `check_pending!'
+ activerecord (5.0.0) lib/active_record/migration.rb:548:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/a4e2ac31a4f489f0/variables" for ::1 at 2016-07-20 23:54:58 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddDefaultValueToRank (20160721065419)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160721065419"]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/books" for ::1 at 2016-07-20 23:55:14 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/books/11" for ::1 at 2016-07-20 23:55:17 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/books/11" for ::1 at 2016-07-20 23:55:19 -0700
+Processing by BooksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"0BDoAwXge4Y+i7ZZPXRc0N7ltiureDYksUjbTgQEwu1scy4Hhkaqg6CBAWTjL0AKxfdztqY+zsE/sKV36+jceQ==", "id"=>"11"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 11]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:55:19 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-20 23:55:21 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.5ms)
+ Rendered books/new.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-20 23:55:27 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"+BWuQA8b3jZbum+OKRrS5XsqtWq8TaWBBK8EM0LbEcjhpZl914HGmx8Sotv1h9XDxESutsWH+/WLx6Byx2cFZw==", "book"=>{"title"=>"a", "author"=>"a", "description"=>"a"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 06:55:27 UTC], ["updated_at", 2016-07-21 06:55:27 UTC], ["title", "a"], ["author", "a"], ["description", "a"]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:55:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/12" for ::1 at 2016-07-20 23:55:30 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/books/12" for ::1 at 2016-07-20 23:55:31 -0700
+Processing by BooksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"uRkIgSAylK6RF6Xqao1fACLaehwVOSKpOgYTW2DhpGoFes6Fo5RFqw8dEte01kPaOci/gRh/2ky0/m1ijw26/g==", "id"=>"12"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 12]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-20 23:55:31 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.3ms)
+
+
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddDefaultValueToRank (20160721065929)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "albums" ADD "description" text[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "albums" ADD "description" text[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddDefaultValueToRank (20160721065929)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.5ms)[0m [1m[35mCREATE TEMPORARY TABLE "aalbums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "artist" text, "rank" integer, "description" text)[0m
+ [1m[35m (0.2ms)[0m [1m[32mINSERT INTO "aalbums" ("id","created_at","updated_at","title","artist","rank","description")
+ SELECT "id","created_at","updated_at","title","artist","rank","description" FROM "albums"[0m
+ [1m[35m (0.3ms)[0m [1m[35mDROP TABLE "albums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "albums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "artist" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.3ms)[0m [1m[32mINSERT INTO "albums" ("id","created_at","updated_at","title","artist","rank","description")
+ SELECT "id","created_at","updated_at","title","artist","rank","description" FROM "aalbums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "aalbums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "abooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "author" text, "rank" integer, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "abooks" ("id","created_at","updated_at","title","author","rank","description")
+ SELECT "id","created_at","updated_at","title","author","rank","description" FROM "books"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "books"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "author" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "books" ("id","created_at","updated_at","title","author","rank","description")
+ SELECT "id","created_at","updated_at","title","author","rank","description" FROM "abooks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "abooks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "amovies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "director" text, "rank" integer, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "amovies" ("id","created_at","updated_at","title","director","rank","description")
+ SELECT "id","created_at","updated_at","title","director","rank","description" FROM "movies"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "movies"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "movies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "director" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "movies" ("id","created_at","updated_at","title","director","rank","description")
+ SELECT "id","created_at","updated_at","title","director","rank","description" FROM "amovies"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "amovies"[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160721065929"]]
+ [1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/books/9" for ::1 at 2016-07-21 00:01:42 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 25ms (Views: 17.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:01:46 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.9ms)
+ Rendered books/new.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:01:55 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"nKkBbXUkQFlzjElPH01tVoPy308/RIqCwrj7GjHq6pyFGTZQrb5Y9DckhBrD0GpwPJzEk0aO1PZN0F9btFb+Mw==", "book"=>{"title"=>"Title", "author"=>"Hey", "description"=>"Hi"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:01:55 UTC], ["updated_at", 2016-07-21 07:01:55 UTC], ["title", "Title"], ["author", "Hey"], ["description", "Hi"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:01:55 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.1ms)
+
+
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/books/8" for ::1 at 2016-07-21 00:03:39 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 26ms (Views: 16.5ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/books/8/edit" for ::1 at 2016-07-21 00:03:40 -0700
+Processing by BooksController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ Rendering books/edit.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.8ms)
+ Rendered books/edit.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 0.1ms)
+
+
+Started PATCH "/books/8" for ::1 at 2016-07-21 00:03:46 -0700
+Processing by BooksController#update as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1PQ3nidwoZeNoi352IjoCGSFEFH5B7QJkLTZvUXu9yZ/c77MBnJqhVmetIdAUIEttLLzhJ5vX/n6tE/yuIAKwA==", "book"=>{"title"=>"the night watch", "author"=>"terry pratchett", "description"=>"test"}, "commit"=>"Submit", "id"=>"8"}
+Unpermitted parameters: utf8, _method, authenticity_token, commit, id
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "description" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["description", "test"], ["updated_at", 2016-07-21 07:03:46 UTC], ["id", 8]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 7ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:03:46 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 32ms (Views: 30.0ms | ActiveRecord: 0.2ms)
+
+
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddNullFalseToTitles (20160721070517)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TEMPORARY TABLE "aalbums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "artist" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.2ms)[0m [1m[32mINSERT INTO "aalbums" ("id","created_at","updated_at","title","artist","rank","description")
+ SELECT "id","created_at","updated_at","title","artist","rank","description" FROM "albums"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "albums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "albums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text NOT NULL, "artist" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.2ms)[0m [1m[32mINSERT INTO "albums" ("id","created_at","updated_at","title","artist","rank","description")
+ SELECT "id","created_at","updated_at","title","artist","rank","description" FROM "aalbums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "aalbums"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "abooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "author" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "abooks" ("id","created_at","updated_at","title","author","rank","description")
+ SELECT "id","created_at","updated_at","title","author","rank","description" FROM "books"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "books"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text NOT NULL, "author" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "books" ("id","created_at","updated_at","title","author","rank","description")
+ SELECT "id","created_at","updated_at","title","author","rank","description" FROM "abooks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "abooks"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "amovies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text, "director" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "amovies" ("id","created_at","updated_at","title","director","rank","description")
+ SELECT "id","created_at","updated_at","title","director","rank","description" FROM "movies"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "movies"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "movies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" text NOT NULL, "director" text, "rank" integer DEFAULT 0, "description" text)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "movies" ("id","created_at","updated_at","title","director","rank","description")
+ SELECT "id","created_at","updated_at","title","director","rank","description" FROM "amovies"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "amovies"[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160721070517"]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Started GET "/books" for ::1 at 2016-07-21 00:09:03 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:09:05 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.1ms)
+ Rendered books/new.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:09:07 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ldXtbxAtjA/ZT9+8RJpGLzeZYyApYzGSCf7And2UuGCMZdpSyLeUop3nEumYB0EJiPd4/FCpb+aGlmTcWCiszw==", "book"=>{"title"=>"", "author"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:09:07 UTC], ["updated_at", 2016-07-21 07:09:07 UTC], ["title", ""], ["author", ""], ["description", ""]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:09:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:10:26 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.2ms)
+ Rendered books/new.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:10:27 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xjwcqYv4tvjtJkqU4T1AMVFHD1NinGMxx/f63ZWlDjffjCuUU2KuVamOh8E9oEcX7ikUjxtWPUVIn16cEBkamA==", "book"=>{"title"=>"", "author"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:10:27 UTC], ["updated_at", 2016-07-21 07:10:27 UTC], ["title", ""], ["author", ""], ["description", ""]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:10:27 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:10:30 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.1ms)
+ Rendered books/new.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:11:11 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zHvchuKPupMULuc1yQpMBBNYFxLrgWfSysvpTYGHxojVy+u7OhWiPlCGKmAVl0sirDYMzpJLOaZFo00MBDvSJw==", "book"=>{"title"=>"", "author"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:11:11 UTC], ["updated_at", 2016-07-21 07:11:11 UTC], ["title", ""], ["author", ""], ["description", ""]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:11:11 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/11" for ::1 at 2016-07-21 00:11:18 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.2ms)
+
+
+Started DELETE "/books/11" for ::1 at 2016-07-21 00:11:19 -0700
+Processing by BooksController#destroy as HTML
+ Parameters: {"authenticity_token"=>"n5YEErsJY7xhiUX2IzVXQ2Kn8QxiiqJcxNe4FOYs0AAj9cIWOK+yuf+D8sv9bkuZebU0kW/MWrlKL8YtCcDOlA==", "id"=>"11"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[31mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 11]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:11:19 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:12:55 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.2ms)
+ Rendered books/new.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 32ms (Views: 24.3ms | ActiveRecord: 0.6ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:12:56 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TMMz+V2hpHlu4vi/nR/5mep57dOmlpR/s4OQjo3ic5BVcwTEhTu81CpKNepBgv6/VRf2D99cygs86zTPCF5nPw==", "book"=>{"title"=>"", "author"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:12:56 UTC], ["updated_at", 2016-07-21 07:12:56 UTC], ["title", ""], ["author", ""], ["description", ""]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:12:56 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/12/rank" for ::1 at 2016-07-21 00:13:00 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"N8S+Vxl6sRcYzzjPhL5rZUPox1dWq+OpsnhmViABo1qLp3hTmtxgEobFj/Ja5Xe/WPoCylvtG0w8gBhvz+29zg==", "id"=>"12"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 1], ["updated_at", 2016-07-21 07:13:00 UTC], ["id", 12]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:13:00 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/1" for ::1 at 2016-07-21 00:13:05 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books/5" for ::1 at 2016-07-21 00:13:09 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:13:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (11.2ms)
+Completed 200 OK in 35ms (Views: 32.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:24:17 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (15.6ms)
+Completed 200 OK in 37ms (Views: 30.6ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/albums/10" for ::1 at 2016-07-21 00:24:18 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (0.4ms)
+Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums/10" for ::1 at 2016-07-21 00:25:06 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (6.0ms)
+Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.1ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NoMethodError - undefined method `author' for #:
+ activemodel (5.0.0) lib/active_model/attribute_methods.rb:433:in `method_missing'
+ app/views/albums/show.html.erb:4:in `_app_views_albums_show_html_erb__3963232546543105004_70144499046320'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/40ea1ed75e2c654a/variables" for ::1 at 2016-07-21 00:25:07 -0700
+Started GET "/albums/10" for ::1 at 2016-07-21 00:25:19 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:25:24 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/albums/10" for ::1 at 2016-07-21 00:25:26 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mAlbum Load (0.6ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/albums/" for ::1 at 2016-07-21 00:26:11 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:26:14 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:26:17 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/1/rank" for ::1 at 2016-07-21 00:26:22 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"TCJ0GQAeSPATAHCR/lR4B7OS1VWhYF8ClxTH905lonjwQbIdg7iZ9Y0Kx6wgD2TdqIAQyKwmp+cZ7LnOoYm87A==", "id"=>"1"}
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 11], ["updated_at", 2016-07-21 07:26:22 UTC], ["id", 1]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:26:22 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-21 00:26:24 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (2.3ms)
+ Rendered albums/new.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-21 00:26:25 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uAlYA09cgl+hNDxgCOcQQnaF4qgNdd/6yvOyGdFo6M2GJxaXOGWnCsdK0DZzyz3xhtMCNbGFzBQTBIeMx/Osag==", "album"=>{"title"=>"", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.0ms)
+
+
+
+NameError - undefined local variable or method `book_params' for #
+Did you mean? book_path:
+ app/controllers/albums_controller.rb:15:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/262f85df2913883e/variables" for ::1 at 2016-07-21 00:26:25 -0700
+Started POST "/albums" for ::1 at 2016-07-21 00:26:48 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9Gru6AMuTYPHd8L+acP0cNZVELlgSGxZ+OG7JY1mdidICSjsgIichll9dcO3mOiqzUfVJG0OlLx2GcUcYoposw==", "album"=>{"title"=>"", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:26:48 UTC], ["updated_at", 2016-07-21 07:26:48 UTC]]
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.2ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/c4af5174b3c93fe1/variables" for ::1 at 2016-07-21 00:26:48 -0700
+Started POST "/albums" for ::1 at 2016-07-21 00:26:58 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9Gru6AMuTYPHd8L+acP0cNZVELlgSGxZ+OG7JY1mdidICSjsgIichll9dcO3mOiqzUfVJG0OlLx2GcUcYoposw==", "album"=>{"title"=>"apple", "artist"=>"bloom", "description"=>"taco"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:26:58 UTC], ["updated_at", 2016-07-21 07:26:58 UTC]]
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.6ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/6d0cd19a99a8df34/variables" for ::1 at 2016-07-21 00:26:58 -0700
+Started GET "/albums" for ::1 at 2016-07-21 00:27:06 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:27:07 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:27:23 -0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (19.5ms)
+Completed 200 OK in 444ms (Views: 432.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-21 00:27:26 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (17.6ms)
+ Rendered albums/new.html.erb within layouts/application (19.9ms)
+Completed 200 OK in 58ms (Views: 55.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-21 00:27:27 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"l2UbgtO/9fOduh3E3ljOqc196C0Erw3vrc7vv6/BljepS1UWpIbQpvvE8ZKldOMaPSsIsLhfHgF0OdoquVrSkA==", "album"=>{"title"=>"", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:27:27 UTC], ["updated_at", 2016-07-21 07:27:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.9ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/9bdcf5e910605e4e/variables" for ::1 at 2016-07-21 00:27:27 -0700
+Started POST "/albums" for ::1 at 2016-07-21 00:27:38 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mg5AQ/G22Kq1yuRUheleAdihtGX9QpuaDdISMWE5TdqObYZHchAJryvAU2lbskLbw7Nx+PAEY3+DKmwIjtVTTg==", "album"=>{"title"=>"Not null", "artist"=>"test", "description"=>"test\r\n"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:27:38 UTC], ["updated_at", 2016-07-21 07:27:38 UTC]]
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.8ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/f7ceae3d28d623d8/variables" for ::1 at 2016-07-21 00:27:38 -0700
+Started POST "/__better_errors/f7ceae3d28d623d8/eval" for ::1 at 2016-07-21 00:27:46 -0700
+Started POST "/albums" for ::1 at 2016-07-21 00:28:23 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mg5AQ/G22Kq1yuRUheleAdihtGX9QpuaDdISMWE5TdqObYZHchAJryvAU2lbskLbw7Nx+PAEY3+DKmwIjtVTTg==", "album"=>{"title"=>"Not null", "artist"=>"test", "description"=>"test\r\n"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:28:23 UTC], ["updated_at", 2016-07-21 07:28:23 UTC]]
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.2ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/bf4631e81b3be229/variables" for ::1 at 2016-07-21 00:28:23 -0700
+Started POST "/albums" for ::1 at 2016-07-21 00:28:28 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mg5AQ/G22Kq1yuRUheleAdihtGX9QpuaDdISMWE5TdqObYZHchAJryvAU2lbskLbw7Nx+PAEY3+DKmwIjtVTTg==", "album"=>{"title"=>"Not null", "artist"=>"test", "description"=>"test\r\n"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:28:28 UTC], ["updated_at", 2016-07-21 07:28:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.1ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/eab471a9ad3a2fdb/variables" for ::1 at 2016-07-21 00:28:28 -0700
+Started GET "/" for ::1 at 2016-07-21 00:28:35 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (13.8ms)
+Completed 200 OK in 41ms (Views: 36.8ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-21 00:28:37 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 39ms (Views: 34.9ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-21 00:28:39 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"AS7LicReDlpgxJ3qCRS27wvq4ty2VhJ5QgqWU7qGNsu9TQ2NR/jfX/7OKtfXT6o1EPgnQbsQ6pzM8uhqVWooXw==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 103], ["updated_at", 2016-07-21 07:28:39 UTC], ["id", 10]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:28:39 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 39ms (Views: 37.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-21 00:28:41 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (3.7ms)
+ Rendered books/new.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/books" for ::1 at 2016-07-21 00:28:42 -0700
+Processing by BooksController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DG63f+YCNxutp+jGQh6BN+7ciSxEJAjGthzrUNcrrjYV3oBCPpgvtukPJZOeg4YRUbKS8D3uVrI5dE8RUpe6mQ==", "book"=>{"title"=>"", "author"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" ("created_at", "updated_at", "title", "author", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:28:42 UTC], ["updated_at", 2016-07-21 07:28:42 UTC], ["title", ""], ["author", ""], ["description", ""]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:28:42 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 34ms (Views: 31.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:30:27 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/albums/9" for ::1 at 2016-07-21 00:30:29 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:30:31 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/albums/10" for ::1 at 2016-07-21 00:30:33 -0700
+Processing by AlbumsController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering albums/show.html.erb within layouts/application
+ Rendered albums/show.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:35 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:37 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"xYamWYGzxJUtYGEq1jkFAmDEsqJSvsJgYxqYqpTXKgp55WBdAhUVkLNq1hcIYhnYe9Z3P1/4OoXt4uaTezs0ng==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 101], ["updated_at", 2016-07-21 07:30:37 UTC], ["id", 10]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:37 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"NXsOlqggSZ1RISQ6Ew7Lalgl1Hv9kP2WON/nINcDW9SJGMiSK4aYmM8rkwfNVdewQzcR5vDWBXO2J5kZOO9FQA==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 102], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"OtEjtxQRqCbfdBZ5SvLhTW+JrBICC3UqgYbslmTSsRyGsuWzl7d5I0F+oUSUqf2XdJtpjw9Njc8PfpKviz6viA==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 103], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"lKnz9piw9k6tTEwdCQrzPaZiaAs5nclTNLu4rU1HOqgoyjXyGxYnSzNG+yDXUe/nvXCtljTbMba6Q8aUoqskPA==", "id"=>"10"}
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 104], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"trxMj8mHc9WP4bMmAI5HbYSzhhSMz7qdg5ASLaBAxQQK34qLSiGi0BHrBBve1Vu3n6FDiYGJQngNaGwUT6zbkA==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 105], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"U/m2MEuPziNWUL7hpRS4NhjDYmVGkoq6GyubuAu0VtHvmnA0yCkfJshaCdx7T6TsA9Gn+EvUcl+V0+WB5FhIRQ==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 106], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"RA/ps/bN56pxKyqwcNO5AY6Z6R+ZCV7t4BezP9hf2374bC+3dWs2r+8hnY2uiKXblYssgpRPpghu780GN7PF6g==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 107], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"yrOUcoxM5qvwMDFQqEpbkw4UQophl2WI6rh+DxIi/UB20FJ2D+o3rm46hm12EUdJFQaHF2zRnW1kQAA2/c7j1A==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 108], ["updated_at", 2016-07-21 07:30:39 UTC], ["id", 10]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:39 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (5.2ms)
+Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/albums/10/rank" for ::1 at 2016-07-21 00:30:40 -0700
+Processing by AlbumsController#rank as HTML
+ Parameters: {"authenticity_token"=>"can2vvMqB0HhAwimbayHQT2E+YsdbljoEtLTi3hSWFzNyjC6cIzWRH8Jv5uz95ubJpY8FhAooA2cKq2yl75GyA==", "id"=>"10"}
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" WHERE "albums"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "albums" SET "rank" = ?, "updated_at" = ? WHERE "albums"."id" = ?[0m [["rank", 109], ["updated_at", 2016-07-21 07:30:40 UTC], ["id", 10]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:30:40 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-21 00:30:41 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (1.7ms)
+ Rendered albums/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-21 00:30:49 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZB4zny4sJv39EauWpuGxR0DkukL5lCrwTSxx6dXgIOdaMH0LWRUDqJtvR8DdzZz0sLJa30VkOR6U20R8w3tkQA==", "album"=>{"title"=>"Album", "artist"=>"hey", "description"=>"hah\r\n"}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, album, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2016-07-21 07:30:49 UTC], ["updated_at", 2016-07-21 07:30:49 UTC]]
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+Completed 500 Internal Server Error in 4ms (ActiveRecord: 1.1ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+SQLite3::ConstraintException - NOT NULL constraint failed: albums.title:
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:108:in `block in each'
+ sqlite3 (1.3.11) lib/sqlite3/statement.rb:107:in `each'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:202:in `block in exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log'
+ activerecord (5.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:92:in `exec_insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:124:in `insert'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
+ activerecord (5.0.0) lib/active_record/relation.rb:65:in `insert'
+ activerecord (5.0.0) lib/active_record/persistence.rb:554:in `_create_record'
+ activerecord (5.0.0) lib/active_record/counter_cache.rb:128:in `_create_record'
+ activerecord (5.0.0) lib/active_record/locking/optimistic.rb:75:in `_create_record'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:123:in `_create_record'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `block in _create_record'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_create_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:302:in `_create_record'
+ activerecord (5.0.0) lib/active_record/timestamp.rb:68:in `_create_record'
+ activerecord (5.0.0) lib/active_record/persistence.rb:534:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `block in create_or_update'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
+ activerecord (5.0.0) lib/active_record/callbacks.rb:298:in `create_or_update'
+ activerecord (5.0.0) lib/active_record/persistence.rb:125:in `save'
+ activerecord (5.0.0) lib/active_record/validations.rb:44:in `save'
+ activerecord (5.0.0) lib/active_record/attribute_methods/dirty.rb:22:in `save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block (2 levels) in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:395:in `block in with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
+ activerecord (5.0.0) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:211:in `transaction'
+ activerecord (5.0.0) lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
+ activerecord (5.0.0) lib/active_record/transactions.rb:319:in `block in save'
+ activerecord (5.0.0) lib/active_record/transactions.rb:334:in `rollback_active_record_state!'
+ activerecord (5.0.0) lib/active_record/transactions.rb:318:in `save'
+ activerecord (5.0.0) lib/active_record/suppressor.rb:41:in `save'
+ app/controllers/albums_controller.rb:16:in `create'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/074111241e3a2f4a/variables" for ::1 at 2016-07-21 00:30:49 -0700
+Started GET "/albums" for ::1 at 2016-07-21 00:31:41 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 27ms (Views: 23.0ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-21 00:31:43 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (1.8ms)
+ Rendered albums/new.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-21 00:31:47 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Ft9QqeemUEbwArujBbtUj8p9vaFrI65OS564iGPoxTSdTPW0Ke8FH2+5rj3OsDhz38WazlcnVfg2U93NxTnsw==", "album"=>{"title"=>"Apple", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:31:47 UTC], ["updated_at", 2016-07-21 07:31:47 UTC], ["title", "Apple"], ["artist", ""], ["description", ""]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:31:47 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-21 00:31:53 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (1.9ms)
+ Rendered albums/new.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-21 00:31:54 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"5PqbqJjj9H4W3a+6xtNjlYvexuZ2YXSadWQyDcwXPS3a1NU879rRK3CjQ+y9/04me4gme8qRZ3SskweY2ox5ig==", "album"=>{"title"=>"", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "albums" ("created_at", "updated_at", "title", "artist", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:31:54 UTC], ["updated_at", 2016-07-21 07:31:54 UTC], ["title", ""], ["artist", ""], ["description", ""]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/albums
+Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-21 00:31:54 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 38ms (Views: 36.3ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:40:30 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.1ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (15.6ms)
+Completed 200 OK in 39ms (Views: 32.5ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/movies/10" for ::1 at 2016-07-21 00:40:31 -0700
+Processing by MoviesController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering movies/show.html.erb within layouts/application
+ Rendered movies/show.html.erb within layouts/application (150.6ms)
+Completed 500 Internal Server Error in 157ms (ActiveRecord: 0.2ms)
+
+
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:7)
+DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from initialize at /Users/jadevance/.rvm/gems/ruby-2.3.1/gems/better_errors-2.1.1/lib/better_errors/raised_exception.rb:8)
+
+NameError - undefined local variable or method `moviess_path' for #<#:0x007fd38fac61f0>
+Did you mean? movies_path
+ movie_path:
+ app/views/movies/show.html.erb:17:in `_app_views_movies_show_html_erb___1029501001750459549_70273312637060'
+ actionview (5.0.0) lib/action_view/template.rb:158:in `block in render'
+ activesupport (5.0.0) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:348:in `instrument'
+ actionview (5.0.0) lib/action_view/template.rb:156:in `render'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (5.0.0) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (5.0.0) lib/action_view/rendering.rb:103:in `_render_template'
+ actionpack (5.0.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (5.0.0) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
+ actionpack (5.0.0) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
+ actionpack (5.0.0) lib/abstract_controller/rendering.rb:26:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:36:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/jadevance/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
+ activesupport (5.0.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (5.0.0) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
+ actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:188:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:126:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:455:in `call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/rescue.rb:20:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (5.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
+ activesupport (5.0.0) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (5.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (5.0.0) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
+ activerecord (5.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (5.0.0) lib/abstract_controller/base.rb:126:in `process'
+ actionview (5.0.0) lib/action_view/rendering.rb:30:in `process'
+ actionpack (5.0.0) lib/action_controller/metal.rb:190:in `dispatch'
+ actionpack (5.0.0) lib/action_controller/metal.rb:262:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:32:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:39:in `block in serve'
+ actionpack (5.0.0) lib/action_dispatch/journey/router.rb:26:in `serve'
+ actionpack (5.0.0) lib/action_dispatch/routing/route_set.rb:725:in `call'
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
+ activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
+ activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
+ actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
+ railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
+ railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
+ sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
+ activesupport (5.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
+ actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
+ railties (5.0.0) lib/rails/engine.rb:522:in `call'
+ puma (3.4.0) lib/puma/configuration.rb:224:in `call'
+ puma (3.4.0) lib/puma/server.rb:569:in `handle_request'
+ puma (3.4.0) lib/puma/server.rb:406:in `process_client'
+ puma (3.4.0) lib/puma/server.rb:271:in `block in run'
+ puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'
+
+Started POST "/__better_errors/52f13df60d4670b3/variables" for ::1 at 2016-07-21 00:40:31 -0700
+Started GET "/" for ::1 at 2016-07-21 00:41:04 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/movies/9" for ::1 at 2016-07-21 00:41:14 -0700
+Processing by MoviesController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mMovie Load (0.4ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering movies/show.html.erb within layouts/application
+ Rendered movies/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.4ms)
+
+
+Started PUT "/books/9/rank" for ::1 at 2016-07-21 00:41:16 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"LGw1dLTV3ENrJrOza6con/tKlLVj7433iHsD1m4t7meQD/NwN3MNRvUsBI61/DRF4FhRKG6pdRIGg33vgcHw8w==", "id"=>"9"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 92], ["updated_at", 2016-07-21 07:41:16 UTC], ["id", 9]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:41:16 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-21 00:41:27 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:41:46 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.5ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.5ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 35ms (Views: 30.2ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/movies/10" for ::1 at 2016-07-21 00:41:47 -0700
+Processing by MoviesController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering movies/show.html.erb within layouts/application
+ Rendered movies/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 31ms (Views: 28.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/movies/10/rank" for ::1 at 2016-07-21 00:41:48 -0700
+Processing by MoviesController#rank as HTML
+ Parameters: {"authenticity_token"=>"w57dIkmepN+r9PTXKlDrCj2n+qabLvq3WNgvc7xkhuJ//Rsmyjh12jX+Q+r0C/fQJrU/O5ZoAlLWIFFKU4iYdg==", "id"=>"10"}
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "movies" SET "rank" = ?, "updated_at" = ? WHERE "movies"."id" = ?[0m [["rank", 101], ["updated_at", 2016-07-21 07:41:48 UTC], ["id", 10]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/movies
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-21 00:41:48 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-21 00:42:10 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/movies/10" for ::1 at 2016-07-21 00:42:33 -0700
+Processing by MoviesController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering movies/show.html.erb within layouts/application
+ Rendered movies/show.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms)
+
+
+Started DELETE "/movies/10" for ::1 at 2016-07-21 00:42:34 -0700
+Processing by MoviesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"A5/YpOYj05ILUh8AQg/YDwwvwCyhfc5koXc5bTOt4Ea//B6gZYUCl5VYqD2cVMTVFz0Fsaw7NoEvj0dU3EH+0g==", "id"=>"10"}
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "movies" WHERE "movies"."id" = ?[0m [["id", 10]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/movies
+Completed 302 Found in 3ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-21 00:42:34 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 30ms (Views: 29.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/movies/8/rank" for ::1 at 2016-07-21 00:42:37 -0700
+Processing by MoviesController#rank as HTML
+ Parameters: {"authenticity_token"=>"qJzPGuGbSWQsmn2eDUCBjcHqP6QvUL1z5kZtGbxI+WkU/wkeYj2YYbKQyqPTG51X2vj6OSIWRZZovhMgU6Tn/Q==", "id"=>"8"}
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" WHERE "movies"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "movies" SET "rank" = ?, "updated_at" = ? WHERE "movies"."id" = ?[0m [["rank", 81], ["updated_at", 2016-07-21 07:42:37 UTC], ["id", 8]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/movies
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-21 00:42:37 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/movies/new" for ::1 at 2016-07-21 00:42:39 -0700
+Processing by MoviesController#new as HTML
+ Rendering movies/new.html.erb within layouts/application
+ Rendered movies/_entryform.html.erb (3.1ms)
+ Rendered movies/new.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 32ms (Views: 30.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/movies" for ::1 at 2016-07-21 00:42:40 -0700
+Processing by MoviesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0c+d4yzzmFFjMti5blSk9PhiktwtBYlO/U5Dp2WGqEunt4Il9QqZPh3MyC9ux8KqylLGseRhn/Tqa4zAf+L5g==", "movie"=>{"title"=>"", "director"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "movies" ("created_at", "updated_at", "title", "director", "description") VALUES (?, ?, ?, ?, ?)[0m [["created_at", 2016-07-21 07:42:40 UTC], ["updated_at", 2016-07-21 07:42:40 UTC], ["title", ""], ["director", ""], ["description", ""]]
+ [1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/movies
+Completed 302 Found in 5ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/movies" for ::1 at 2016-07-21 00:42:40 -0700
+Processing by MoviesController#index as HTML
+ Rendering movies/index.html.erb within layouts/application
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC[0m
+ Rendered movies/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:42:43 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.3ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (6.8ms)
+Completed 200 OK in 42ms (Views: 39.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/" for ::1 at 2016-07-21 00:49:51 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.3ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/books/10" for ::1 at 2016-07-21 00:49:53 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/10/rank" for ::1 at 2016-07-21 00:49:55 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"qSZph5mmE5cvVkDwYfuQcClTbzSe6g/c1/tGeRyizS0VRa+DGgDCkrFc982/oIyqMkGqqZOs9zlZAzhA807TuQ==", "id"=>"10"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 104], ["updated_at", 2016-07-21 07:49:55 UTC], ["id", 10]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:49:55 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/books/9" for ::1 at 2016-07-21 00:49:58 -0700
+Processing by BooksController#show as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ Rendering books/show.html.erb within layouts/application
+ Rendered books/show.html.erb within layouts/application (1.1ms)
+Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/9/rank" for ::1 at 2016-07-21 00:50:00 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"hkptcM+5Qc2xYpsfbJtlVYBMcjJHYv2qNrKKScD26Z46Kat0TB+QyC9oLCKywHmPm163r0okBU+4SvRwLxr3Cg==", "id"=>"9"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 93], ["updated_at", 2016-07-21 07:50:00 UTC], ["id", 9]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:00 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 34ms (Views: 32.0ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/16/rank" for ::1 at 2016-07-21 00:50:04 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"+Wkb4BcFV4kHtYKoUVluyRz8rgQiQmN/KL4kF/HDWRxFCt3klKOGjJm/NZWPAnITB+5rmS8Em5qmRlouHi9HiA==", "id"=>"16"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 16], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 1], ["updated_at", 2016-07-21 07:50:04 UTC], ["id", 16]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:04 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 26ms (Views: 24.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"z1y0qbobq0l4hlyginBb205EZQKGpVwc5Ztf3RpMzGpzP3KtOb16TOaM651UK0cBVVagn4vjpPlrYyHk9aDS/g==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 21], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"TkOZ06XIdFwmRahstWyylpntOkWG7bMUfJKqyNibj7/yIF/XJm6lWbhPH1FrN65Mgv//2IurS/HyatTxN3eRKw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 22], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"/Q/MW7wJNDYxTVgpxRWUWPhyXQ8hPbYNUIjssadfxy9BbApfP6/lM69H7xQbToiC42CYkix7TujecJKISLPZuw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 23], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"oeLdZD7HP9+AyDsfzEmPQFunb6Tu3u3BtbbKvBHHJAMdgRtgvWHu2h7CjCISEpOaQLWqOeOYFSQ7TrSF/is6lw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 24], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 32ms (Views: 30.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"AFH5L0ywL+tU+fPj9kSpDTzYWxTVUdr2vF7PUpCZ/FG8Mj8rzxb+7srzRN4oH7XXJ8qeidgXIhMyprFrf3XixQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 25], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 28ms (Views: 26.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"aECv67WZ20OOijb0yYGAZi/A2xFbv1xbYKzgxeDsmpTUI2nvNj8KRhCAgckX2py8NNIejFb5pL7uVJ78DwCEAA==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 26], ["updated_at", 2016-07-21 07:50:05 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:05 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"+L6cLUTbIA+TfZewdFmWkWgR9xx1zhblwPn5NqfNcG1E3Vopx33xCg13II2qAopLcwMygXiI7gBOAYcPSCFu+Q==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 27], ["updated_at", 2016-07-21 07:50:06 UTC], ["id", 2]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"b3Pk5cCiGUdasga/jcILuOx03aKjeMfzojk8sXy0Ep3TECLhQwTIQsS4sYJTmRdi92YYP64+PxYswUKIk1gMCQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 28], ["updated_at", 2016-07-21 07:50:06 UTC], ["id", 2]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"pAXld3+ht+YsW9s1Rc3bCkgBXkTXPV1GBzmIcP6XIGAYZiNz/Adm47JRbAiblsfQUxOb2dp7paOJwfZJEXs+9A==", "id"=>"2"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 29], ["updated_at", 2016-07-21 07:50:06 UTC], ["id", 2]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"1CAnPIxBPKxsxaU0+hOoxh6ilNX4mN6VjPJLgQGy/8FoQ+E4D+ftqfLPEgkkSLQcBbBRSPXeJnACCjW47l7hVQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 30], ["updated_at", 2016-07-21 07:50:06 UTC], ["id", 2]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 32ms (Views: 31.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"zbITJiguZQybEw7dtt7NgAgTGjlP2GLh4rVA+xIQD/Nx0dUiq4i0CQUZueBohdFaEwHfpEKemgRsTT7C/fwRZw==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 31], ["updated_at", 2016-07-21 07:50:06 UTC], ["id", 3]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:06 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 30ms (Views: 28.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"TZzW7n5j6Doy/solnn74Hm7Rfppk6tpxslgc9UdKO27x/xDq/cU5P6z0fRhAJeTEdcO7B2msIpQ8oGLMqKYl+g==", "id"=>"2"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 31], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 2]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 32ms (Views: 31.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"XWcTWdH56/F3LjPhHam5IGXGSoQScu+AZoUn82J2LcnhBNVdUl869OkkhNzD8qX6ftSPGR80F2XofVnKjZozXQ==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 32], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 3]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"WpGeCni6bqn9u4CpVtCbF1BHq2OdZyqzgiup1z9Zobbm8lgO+xy/rGOxN5SIi4fNS1Vu/pAh0lYM09fu0LW/Ig==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 32], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 2]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"KAzb5PkAqABG4SEygDuXut2q4eipvLuNrPWqrKeFJyeUbx3geqZ5Bdjrlg9eYItgxrgkdaT6Q2giDdSVSGk5sw==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 33], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 3]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"xgJ0xoNZZkSHcrbq7uMbhwl0n+O14DaeO+GdsDpnBPN6YbLCAP+3QRl4AdcwuAddEmZafrimznu1GeOJ1YsaZw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 33], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 2]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 28ms (Views: 26.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"5oP7qPnVXydpBYgRh8UNi9H1R5wG6VrfZBD12wHgDwZa4D2senOOIvcPPyxZnhFRyueCAQuvojrq6Ivi7gwRkg==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 34], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 3]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"V+lA5/yG/5iopvedxizTqIqXCLB5BQki/xNb5rSzAN3riobjfyAunTasQKAYd89ykYXNLXRD8cdx6yXfW18eSQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 34], ["updated_at", 2016-07-21 07:50:07 UTC], ["id", 2]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:07 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 30ms (Views: 28.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"ype/pKYsvupchUFIzU4KpbEfjjPdmBdo4KAzfcx1Cct29HmgJYpv78KP9nUTFRZ/qg1LrtDe741uWE1EI5kXXw==", "id"=>"3"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 35], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 3]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"sJAFUj4h1PYs9IDmulfN1cquym/5IGHpbX2bo9GDsQ0M88NWvYcF87L+N9tkDNEP0bwP8vRmmQzjheWaPm+vmQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 35], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 2]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"6oYR/kjs4UhYutVwbylEbPdMVRODUBjQuA/SBGcP3xlW5df6y0owTcawYk2xcli27F6Qjo4W4DU296w9iOPBjQ==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 36], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 3]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"6EHsb5Idwh2GLKwjpdM9Rt87AOeHCpU/dOnxVxp84Z5UIiprEbsTGBgmGx57iCGcxCnFeopMbdr6EY9u9ZD/Cg==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 36], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 2]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"zeUjaRWSCTc9KCOecrw8+qr/Lnh7So5x1PhQSll/KdpxhuVtljTYMqMilKOs5yAgse3r5XYMdpRaAC5ztpM3Tg==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 37], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 3]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 29ms (Views: 28.0ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"cQfu9ArkKopZV6WRi9lhCJNHgkI5Ta2eCEc/1tdyt8vNZCjwiUL7j8ddEqxVgn3SiFVH3zQLVXuGv0HvOJ6pXw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 37], ["updated_at", 2016-07-21 07:50:08 UTC], ["id", 2]]
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:08 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"CRN05YUx9ZPaq53/wQE5OdeZEm/5POEnlTknF3M9/2u1cLLhBpcklkShKsIfWiXjzIvX8vR6GcIbwVkunNHh/w==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 38], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 3]]
+ [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"zPeMWNI7E3olPTBFVriYPTyUDzvUv/G+AGAB8kpVHfRwlEpcUZ3Cf7s3h3iI44TnJ4bKptn5CVuOmH/LpbkDYA==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 38], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"tqg/rZcyShrzi88r6qr3kGzSKM4FqZdjgZ2hlk75cAoKy/mpFJSbH22BeBY08etKd8DtUwjvb4YPZd+voRVung==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 39], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 3]]
+ [1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"6RrN+1YX+lLdh028raM3oIEMe/MnfKmuYpYODWSQ+aVVeQv/1bErV0ON+oFz+Ct6mh6+bio6UUvsbnA0i3znMQ==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 39], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"7C0lhy7RwNemn9kYOKIECVZDZL20fRuyicsnMr8z2A9QTuODrXcR0jiVbiXm+RjTTVGhILk741cHM1kLUN/Gmw==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 40], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 3]]
+ [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"nQccuow4Kj6upEuDLnBWCktapx4dQXI0HruXqNfAekwhZNq+D577OzCu/L7wK0rQUEhigxAHitGQQ+mROCxk2A==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 40], ["updated_at", 2016-07-21 07:50:09 UTC], ["id", 2]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:09 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 29ms (Views: 26.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"ZxWNpGpZeQZdyVtyPMtJFhOk0rbGPxIwHXfeO3PYK1rbdkug6f+oA8PD7E/ikFXMCLYXK8t56tWTj6ACnDQ1zg==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 41], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 4]]
+ [1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"bgktwlnrsGw+QBTP1iZiG8O2JPIynx0y+7+w/CGiDfXSauvG2k1haaBKo/IIfX7B2KThbz/Z5dd1R87Fzk4TYQ==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 41], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 3]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"tVdXcn5x3Avb2iKcde+QSxnGFB7j9YTqZpxgfpcXE+4JNJF2/dcNDkXQlaGrtIyRAtTRg+6zfA/oZB5HePsNeg==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 41], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 2]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"JVFuRgjwn0lf5sNVo9Oou0UYAaBSgy/QRXalouhUN8SZMqhCi1ZOTMHsdGh9iLRhXgrEPV/F1zXLjtubB7gpUA==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 42], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 4]]
+ [1m[35m (66.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 72ms (ActiveRecord: 66.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"7qCdW/d1j6cwpBfqBcRQmfcgsTTGEuFnvhtfR2J1RZtSw1tfdNNeoq6uoNfbn0xD7DJ0qctUGYIw4yF+jZlbDw==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 42], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 3]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.3ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"j1NdwepZGbRL2IfhjNbtf1zNlabmtjr38pyxj40QPcszMJvFaf/IsdXSMNxSjfGlR99QO+vwwhJ8ZM+2YvwjXw==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 42], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 2]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"GNEKIPrzVVyBqRW5KTPJI9HlrgaJ9nnl3FKexOxfWZ+ksswkeVWEWR+jooT3aNX5yvdrm4SwgQBSquD9A7NHCw==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 43], ["updated_at", 2016-07-21 07:50:10 UTC], ["id", 4]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 2.3ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:10 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.8ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 0.8ms)
+
+
+Started PUT "/books/3/rank" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"KXESIZ2NNLUS+m2bJ+g/UkC8qcQPOgi9mUh2H/Pa2EiVEtQlHivlsIzw2qb5syOIW65sWQJ88FgXsAgmHDbG3A==", "id"=>"3"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 43], ["updated_at", 2016-07-21 07:50:11 UTC], ["id", 3]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/2/rank" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"feX1WnZTa7P79dfrtlr+Fc1ozeLxIflBBe2/XmLwh/bBhjNe9fW6tmX/YNZoAeLP1noIf/xnAaSLFcFnjRyZYg==", "id"=>"2"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 43], ["updated_at", 2016-07-21 07:50:11 UTC], ["id", 2]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 30ms (Views: 28.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"QsK5lwApOiGc7zaqeZBFOSsL2KburtY6pYr2/V1WE9v+oX+Tg4/rJALlgZeny1njMBkdO+PoLt8rcojEsroNTw==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 44], ["updated_at", 2016-07-21 07:50:11 UTC], ["id", 4]]
+ [1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:11 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"GQffhWLlAytH7omWhamJNg9VqSXDZ6+8uIjbWYKti9WlZBmB4UPSLtnkPqtb8pXsFEdsuM4hV1k2cKVgbUGVQQ==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 45], ["updated_at", 2016-07-21 07:50:13 UTC], ["id", 4]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"H+g0NB/Ky+Q3tyFIbCzqmEhY8vQhEQRnueI/CnWm2nKji/IwnGwa4am9lnWyd/ZCU0o3aSxX/II3GkEzmkrE5g==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 46], ["updated_at", 2016-07-21 07:50:13 UTC], ["id", 4]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"z+etY3QTgDX0niIMCCmR+7bTeFrJeEh+usU+m3NmaeNzhGtn97VRMGqUlTHWco0hrcG9x8Q+sJs0PUCinIp3dw==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 47], ["updated_at", 2016-07-21 07:50:13 UTC], ["id", 4]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"n2WUQO6SCdUt/PIcqEoVmUbvzvnvlSFezhXo+FQYEKMjBlJEbTTY0LP2RSF2EQlDXf0LZOLT2btA7ZbBu/QONw==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 48], ["updated_at", 2016-07-21 07:50:13 UTC], ["id", 4]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"tDzSkM8dsARtaTa4zAhjGLmOYTpcnqJV4pjbLbTAQJEIXxSUTLthAfNjgYUSU3/Copykp1HYWrBsYKUUWyxeBQ==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 49], ["updated_at", 2016-07-21 07:50:13 UTC], ["id", 4]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:13 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 27ms (Views: 24.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:14 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"5kyMq7bIxnVN7adrX8m4hB1ayHUPzL/LRtq28whFrmJaL0qvNW4XcNPnEFaBkqReBkgN6AKKRy7IIsjK56mw9g==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 50], ["updated_at", 2016-07-21 07:50:14 UTC], ["id", 4]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:14 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/5/rank" for ::1 at 2016-07-21 00:50:14 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"N1koCjO5hJV5hostVXTW2LoGoPtGsD5JcxuVA+yCkZKLOu4OsB9VkOeMPBCLL8oCoRRlZkv2xqz94+s6A26PBg==", "id"=>"5"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 51], ["updated_at", 2016-07-21 07:50:14 UTC], ["id", 5]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:14 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"UK25Yxd6+o5hIiPVGJEXbZaG9yEPmsNWbBWng75mmSDszn9nlNwri/8olOjGygu3jZQyvALcO7Pi7dm6UYqHtA==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 51], ["updated_at", 2016-07-21 07:50:15 UTC], ["id", 4]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 24ms (Views: 22.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/5/rank" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"F4Ops8lVz+EA+oN9R89IwiWlCy2mcPzClFnT/MXs6Emr4G+3SvMe5J7wNECZlFQYPrfOsKs2BCcaoa3FKgD23Q==", "id"=>"5"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 52], ["updated_at", 2016-07-21 07:50:15 UTC], ["id", 5]]
+ [1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"ceGDxXXj8LNUBGx5oizE2c5va12sOO8JJmQNBl4Kbp3NgkXB9kUhtsoO20R8d9gD1X2uwKF+F+yonHM/seZwCQ==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 52], ["updated_at", 2016-07-21 07:50:15 UTC], ["id", 4]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:15 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/5/rank" for ::1 at 2016-07-21 00:50:16 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"ZnEROZetTjXhbtRE0522j+NIh8DEIDOW3HchSl6bB4faEtc9FAufMH9kY3kNxqpV+FpCXclmy3NSj19zsXcZEw==", "id"=>"5"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 53], ["updated_at", 2016-07-21 07:50:16 UTC], ["id", 5]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:16 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/4/rank" for ::1 at 2016-07-21 00:50:16 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"/VQDY0NGWPJX9CHP5ZUn3kK7LAIpD3x7IRm4oF1VptpBN8VnwOCJ98n+lvI7zjsEWanpnyRJhJ6v4caZsrm4Tg==", "id"=>"4"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 53], ["updated_at", 2016-07-21 07:50:16 UTC], ["id", 4]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:16 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (9.0ms)
+Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/6/rank" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"kkfuRjRG9Muq67PoSB1BIyWAtH2Jgh7BqdXmJ1GFvXcuJChCt+AlzjThBNWWRl35PpJx4ITE5iQnLZgevmmj4w==", "id"=>"6"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 61], ["updated_at", 2016-07-21 07:50:17 UTC], ["id", 6]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/6/rank" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"U9U7ssoWBbH9MQzZxWhgOuUhcXi/WK4nFGpwoBPP+mvvtv22SbDUtGM7u+QbM3zg/jO05bIeVsKakg6Z/CPk/w==", "id"=>"6"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 62], ["updated_at", 2016-07-21 07:50:17 UTC], ["id", 6]]
+ [1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 27ms (Views: 25.5ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/6/rank" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"iTE5QonPNf5SHZ27TXKV1Q3hY3+YF615itPWr6yBQ0w1Uv9GCmnk+8wXKoaTKYkPFvOm4pVRVZwEK6iWQ21d2A==", "id"=>"6"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 63], ["updated_at", 2016-07-21 07:50:17 UTC], ["id", 6]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/6/rank" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"HYP3emvU1Co90wT0SRP2yynQWZbg2gcHZuu9zsqdAhah4DF+6HIFL6PZs8mXSOoRMsKcC+2c/+LoE8P3JXEcgg==", "id"=>"6"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 64], ["updated_at", 2016-07-21 07:50:17 UTC], ["id", 6]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/6/rank" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"eIi/yhCH2wxvkDpMrt860NMjDkIx0tP7bVGbqDb+sr/E63nOkyEKCfGajXFwhCYKyDHL3zyUKx7jqeWR2RKsKw==", "id"=>"6"}
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 65], ["updated_at", 2016-07-21 07:50:17 UTC], ["id", 6]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:17 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 28ms (Views: 26.7ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/8/rank" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"DeYu7fBukvlhYi5WIJcP3bbfHKoVj3nWqJ9NxLUmoaKxhejpc8hD/P9omWv+zBMHrc3ZNxjJgTMmZzP9Wsq/Ng==", "id"=>"8"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 82], ["updated_at", 2016-07-21 07:50:18 UTC], ["id", 8]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.2ms)
+
+
+Started PUT "/books/8/rank" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"0dK+zjWGphPUgP140tN0JXAEXu3HqqQxP/Nkhpf5qYxtsXjKtiB3FkqKSkUMiGj/axabcMrsXNSxCxq/eBW3GA==", "id"=>"8"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 83], ["updated_at", 2016-07-21 07:50:18 UTC], ["id", 8]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 4ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.1ms)
+
+
+Started PUT "/books/8/rank" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#rank as HTML
+ Parameters: {"authenticity_token"=>"XIq2E0bGOHmoB43fsnb39YCzMJu3ne5K84RjzEZRL0Xg6XAXxWDpfDYNOuJsLesvm6H1BrrbFq99fB31qb0x0Q==", "id"=>"8"}
+ [1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "books" SET "rank" = ?, "updated_at" = ? WHERE "books"."id" = ?[0m [["rank", 84], ["updated_at", 2016-07-21 07:50:18 UTC], ["id", 8]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Redirected to http://localhost:3000/books
+Completed 302 Found in 3ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/books" for ::1 at 2016-07-21 00:50:18 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-22 16:41:32 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 30ms (Views: 27.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/" for ::1 at 2016-07-22 17:02:11 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.4ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.1ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (15.5ms)
+Completed 200 OK in 42ms (Views: 33.8ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/albums" for ::1 at 2016-07-22 17:02:13 -0700
+Processing by AlbumsController#index as HTML
+ Rendering albums/index.html.erb within layouts/application
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC[0m
+ Rendered albums/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/albums/new" for ::1 at 2016-07-22 17:02:15 -0700
+Processing by AlbumsController#new as HTML
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (2.1ms)
+ Rendered albums/new.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 26ms (Views: 23.0ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/albums" for ::1 at 2016-07-22 17:02:16 -0700
+Processing by AlbumsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Cuie/vCt49di0dBV1sB5QZzSFNKZVf8TIjrWMvZvOQs0xtBqh5TGggSvPAOt7FTybIT0TyWl7P37zeOn4PR9rA==", "album"=>{"title"=>"", "artist"=>"", "description"=>""}, "commit"=>"Submit"}
+Unpermitted parameters: utf8, authenticity_token, commit
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+ Rendering albums/new.html.erb within layouts/application
+ Rendered albums/_entryform.html.erb (1.6ms)
+ Rendered albums/new.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/" for ::1 at 2016-07-22 17:35:48 -0700
+Processing by HomeController#index as HTML
+ Rendering home/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mAlbum Load (0.2ms)[0m [1m[34mSELECT "albums".* FROM "albums" ORDER BY "albums"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ [1m[36mMovie Load (0.2ms)[0m [1m[34mSELECT "movies".* FROM "movies" ORDER BY "movies"."rank" DESC LIMIT ?[0m [["LIMIT", 10]]
+ Rendered home/index.html.erb within layouts/application (17.9ms)
+Completed 200 OK in 165ms (Views: 158.0ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/books" for ::1 at 2016-07-22 17:50:49 -0700
+Processing by BooksController#index as HTML
+ Rendering books/index.html.erb within layouts/application
+ [1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" ORDER BY "books"."rank" DESC[0m
+ Rendered books/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 160ms (Views: 157.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/books/new" for ::1 at 2016-07-22 17:50:50 -0700
+Processing by BooksController#new as HTML
+ Rendering books/new.html.erb within layouts/application
+ Rendered books/_entryform.html.erb (2.1ms)
+ Rendered books/new.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.0ms)
+
+
diff --git a/public/404.html b/public/404.html
new file mode 100644
index 0000000000..b612547fc2
--- /dev/null
+++ b/public/404.html
@@ -0,0 +1,67 @@
+
+
+
+ The page you were looking for doesn't exist (404)
+
+
+
+
+
+
+
+
+
The page you were looking for doesn't exist.
+
You may have mistyped the address or the page may have moved.
+
+
If you are the application owner check the logs for more information.
+
+
+
diff --git a/public/422.html b/public/422.html
new file mode 100644
index 0000000000..a21f82b3bd
--- /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 0000000000..061abc587d
--- /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 0000000000..e69de29bb2
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000000..3c9c7c01f3
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,5 @@
+# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
+#
+# To ban all spiders from the entire site uncomment the next two lines:
+# User-agent: *
+# Disallow: /
diff --git a/test/controllers/.keep b/test/controllers/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/controllers/albums_controller_test.rb b/test/controllers/albums_controller_test.rb
new file mode 100644
index 0000000000..08d6a05f30
--- /dev/null
+++ b/test/controllers/albums_controller_test.rb
@@ -0,0 +1,77 @@
+# assigns is now extracted to a gem and requires gemfile install to use
+# .reload reloads the records from the database. Easy way to check for changes. (http://apidock.com/rails/ActiveRecord/Persistence/reload)
+
+require 'test_helper'
+
+class AlbumsControllerTest < ActionDispatch::IntegrationTest
+ setup do
+ @album = albums(:first_album)
+ end
+
+ teardown do
+ Rails.cache.clear
+ end
+
+ test "get index" do
+ get '/albums'
+ assert_response :success
+ assert_not_nil assigns(:albums)
+ end
+
+ test "get show" do
+ get "/albums/#{@album.id}"
+ assert_response :success
+ assert_not_nil assigns(:album)
+ end
+
+ test "get new" do
+ get "/albums/new"
+ assert_response :success
+ assert_not_nil assigns(:album)
+ end
+
+ test "get edit" do
+ get "/albums/#{@album.id}/edit"
+ assert_response :success
+ assert_not_nil assigns(:album)
+ end
+
+ test "route to rank" do
+ put "/albums/#{@album.id}/rank"
+ assert_response :redirect
+ assert_not_nil assigns(:album)
+ end
+
+ test "destroy the album" do
+ assert_difference('Album.count', -1) do
+ delete "/albums/#{@album.id}"
+ end
+ assert_response :redirect
+ end
+
+ test "should create album if title is given" do
+ assert_difference('Album.count', 1) do
+ post "/albums", params: { album: { title: "Morning Phase" } }
+ end
+ assert_redirected_to '/albums'
+ end
+
+ test "should NOT create album if title is NOT given" do
+ assert_no_difference('Album.count') do
+ post "/albums", params: { album: { title: "" } }
+ end
+ end
+
+ test "update album if title is present" do
+ patch "/albums/#{@album.id}", params: { album: { title: "In Rainbows" } }
+ assert_redirected_to '/albums'
+ @album.reload
+ assert_equal "In Rainbows", @album.title
+ end
+
+ test "should NOT update album if title is removed" do
+ patch "/albums/#{@album.id}", params: { album: { title: "" } }
+ @album.reload
+ assert_equal "The Bends", @album.title
+ end
+end
diff --git a/test/controllers/books_controller_test.rb b/test/controllers/books_controller_test.rb
new file mode 100644
index 0000000000..2f251dd4cf
--- /dev/null
+++ b/test/controllers/books_controller_test.rb
@@ -0,0 +1,76 @@
+# assigns is now extracted to a gem and requires gemfile install to use
+
+require 'test_helper'
+
+class BooksControllerTest < ActionDispatch::IntegrationTest
+ setup do
+ @book = books(:first_book)
+ end
+
+ teardown do
+ Rails.cache.clear
+ end
+
+ test "get index" do
+ get '/books'
+ assert_response :success
+ assert_not_nil assigns(:books)
+ end
+
+ test "get show" do
+ get "/books/#{@book.id}"
+ assert_response :success
+ assert_not_nil assigns(:book)
+ end
+
+ test "get new" do
+ get "/books/new"
+ assert_response :success
+ assert_not_nil assigns(:book)
+ end
+
+ test "get edit" do
+ get "/books/#{@book.id}/edit"
+ assert_response :success
+ assert_not_nil assigns(:book)
+ end
+
+ test "route to rank" do
+ put "/books/#{@book.id}/rank"
+ assert_response :redirect
+ assert_not_nil assigns(:book)
+ end
+
+ test "destroy the book" do
+ assert_difference('Book.count', -1) do
+ delete "/books/#{@book.id}"
+ end
+ assert_redirected_to '/books'
+ end
+
+ test "should create book if title is given" do
+ assert_difference('Book.count', 1) do
+ post "/books", params: { book: { title: "All Tomorrow's Parties" } }
+ end
+ assert_redirected_to '/books'
+ end
+
+ test "should NOT create book if title is NOT given" do
+ assert_no_difference('Book.count') do
+ post "/books", params: { book: { title: "" } }
+ end
+ end
+
+ test "update book if title is present" do
+ patch "/books/#{@book.id}", params: { book: { title: "Idoru" } }
+ assert_redirected_to '/books'
+ @book.reload
+ assert_equal "Idoru", @book.title
+ end
+
+ test "should NOT update book if title is removed" do
+ patch "/books/#{@book.id}", params: { book: { title: "" } }
+ @book.reload
+ assert_equal "Into the Wild", @book.title
+ end
+end
\ No newline at end of file
diff --git a/test/controllers/home_controller_test.rb b/test/controllers/home_controller_test.rb
new file mode 100644
index 0000000000..26267a816a
--- /dev/null
+++ b/test/controllers/home_controller_test.rb
@@ -0,0 +1,11 @@
+require 'test_helper'
+
+class HomeControllerTest < ActionDispatch::IntegrationTest
+ test "get root path" do
+ get '/'
+ assert_response :success
+ assert_not_nil assigns(:books)
+ assert_not_nil assigns(:albums)
+ assert_not_nil assigns(:movies)
+ end
+end
diff --git a/test/controllers/movies_controller_test.rb b/test/controllers/movies_controller_test.rb
new file mode 100644
index 0000000000..b260f9a3e2
--- /dev/null
+++ b/test/controllers/movies_controller_test.rb
@@ -0,0 +1,76 @@
+# assigns is now extracted to a gem and requires gemfile install to use
+
+require 'test_helper'
+
+class MoviessControllerTest < ActionDispatch::IntegrationTest
+ setup do
+ @movie = movies(:first_movie)
+ end
+
+ teardown do
+ Rails.cache.clear
+ end
+
+ test "get index" do
+ get '/movies'
+ assert_response :success
+ assert_not_nil assigns(:movies)
+ end
+
+ test "get show" do
+ get "/movies/#{@movie.id}"
+ assert_response :success
+ assert_not_nil assigns(:movie)
+ end
+
+ test "get new" do
+ get "/movies/new"
+ assert_response :success
+ assert_not_nil assigns(:movie)
+ end
+
+ test "get edit" do
+ get "/movies/#{@movie.id}/edit"
+ assert_response :success
+ assert_not_nil assigns(:movie)
+ end
+
+ test "route to rank" do
+ put "/movies/#{@movie.id}/rank"
+ assert_response :redirect
+ assert_not_nil assigns(:movie)
+ end
+
+ test "destroy the movie" do
+ assert_difference('Movie.count', -1) do
+ delete "/movies/#{@movie.id}"
+ end
+ assert_redirected_to '/movies'
+ end
+
+ test "should create movie if title is given" do
+ assert_difference('Movie.count', 1) do
+ post "/movies", params: { movie: { title: "All Tomorrow's Parties" } }
+ end
+ assert_redirected_to '/movies'
+ end
+
+ test "should NOT create movie if title is NOT given" do
+ assert_no_difference('Movie.count') do
+ post "/movies", params: { movie: { title: "" } }
+ end
+ end
+
+ test "update movie if title is present" do
+ patch "/movies/#{@movie.id}", params: { movie: { title: "Ghostbusters" } }
+ assert_redirected_to '/movies'
+ @movie.reload
+ assert_equal "Ghostbusters", @movie.title
+ end
+
+ test "should NOT update movie if title is removed" do
+ patch "/movies/#{@movie.id}", params: { movie: { title: "" } }
+ @movie.reload
+ assert_equal "Mad Max: Fury Road", @movie.title
+ end
+end
\ No newline at end of file
diff --git a/test/fixtures/.keep b/test/fixtures/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/fixtures/albums.yml b/test/fixtures/albums.yml
new file mode 100644
index 0000000000..b2260cfa68
--- /dev/null
+++ b/test/fixtures/albums.yml
@@ -0,0 +1,16 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# This model initially had no columns defined. If you add columns to the
+# model remove the '{}' from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+first_album:
+ title: "The Bends"
+ artist: "Radiohead"
+ description: "Basically the best thing since sliced bread"
+ rank: 96
+second_album:
+ title: "My Love is Cool"
+ artist: "Wolf Alice"
+ description: "A++ would recommend"
+ rank: 47
\ No newline at end of file
diff --git a/test/fixtures/books.yml b/test/fixtures/books.yml
new file mode 100644
index 0000000000..11f024f955
--- /dev/null
+++ b/test/fixtures/books.yml
@@ -0,0 +1,16 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# This model initially had no columns defined. If you add columns to the
+# model remove the '{}' from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+first_book:
+ title: "Into the Wild"
+ author: "Jon Krakauer"
+ description: "Very good, very sad"
+ rank: 78
+second_book:
+ title: "You Are a Badass: How to Stop Doubting Your Greatness and Start Living an Awesome Life"
+ author: "Jen Sincero"
+ description: "Saw this in a shop in Queen Anne yesterday. Seems relevant to my interests."
+ rank: 1
\ No newline at end of file
diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/fixtures/movies.yml b/test/fixtures/movies.yml
new file mode 100644
index 0000000000..c54208a699
--- /dev/null
+++ b/test/fixtures/movies.yml
@@ -0,0 +1,16 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# This model initially had no columns defined. If you add columns to the
+# model remove the '{}' from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+first_movie:
+ title: "Mad Max: Fury Road"
+ director: "George Miller"
+ description: "SHINY AND CHROME"
+ rank: 120000
+second_movie:
+ title: "SOLARBABIES"
+ director: "Alan Johnson"
+ description: "A gem of bad moviedom"
+ rank: 34
\ No newline at end of file
diff --git a/test/helpers/.keep b/test/helpers/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/integration/.keep b/test/integration/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/mailers/.keep b/test/mailers/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/models/.keep b/test/models/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/test/models/album_test.rb b/test/models/album_test.rb
new file mode 100644
index 0000000000..1efcda03fb
--- /dev/null
+++ b/test/models/album_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class AlbumTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/models/book_test.rb b/test/models/book_test.rb
new file mode 100644
index 0000000000..e48079d4f7
--- /dev/null
+++ b/test/models/book_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class BookTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/models/movie_test.rb b/test/models/movie_test.rb
new file mode 100644
index 0000000000..22d7084689
--- /dev/null
+++ b/test/models/movie_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class MovieTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/test_helper.rb b/test/test_helper.rb
new file mode 100644
index 0000000000..5fab5879bf
--- /dev/null
+++ b/test/test_helper.rb
@@ -0,0 +1,19 @@
+require 'simplecov'
+SimpleCov.start do
+ add_filter "/test/"
+ add_filter "/app/helpers/"
+ add_group "Controllers", "app/controllers/"
+ add_group "Models", "app/models"
+ add_filter "config"
+end
+
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+require 'rails/test_help'
+
+class ActiveSupport::TestCase
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
+ fixtures :all
+
+ # Add more helper methods to be used by all tests here...
+end
\ No newline at end of file
diff --git a/tmp/.keep b/tmp/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tmp/pids/server.pid b/tmp/pids/server.pid
new file mode 100644
index 0000000000..65dc723104
--- /dev/null
+++ b/tmp/pids/server.pid
@@ -0,0 +1 @@
+37282
\ No newline at end of file
diff --git a/tmp/restart.txt b/tmp/restart.txt
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/vendor/assets/javascripts/.keep b/vendor/assets/javascripts/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/vendor/assets/stylesheets/.keep b/vendor/assets/stylesheets/.keep
new file mode 100644
index 0000000000..e69de29bb2