diff --git a/Gemfile b/Gemfile index b5fbf94..5184aae 100644 --- a/Gemfile +++ b/Gemfile @@ -1,53 +1,33 @@ -source 'https://rubygems.org' +source "https://rubygems.org" git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") "https://github.com/#{repo_name}.git" end +gem "rails", "~> 5.0.2" +gem "sqlite3" +gem "puma", "~> 3.0" +gem "sass-rails", "~> 5.0" +gem "uglifier", ">= 1.3.0" +gem "coffee-rails", "~> 4.2" -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 5.0.2' -# Use sqlite3 as the database for Active Record -gem 'sqlite3' -# Use Puma as the app server -gem 'puma', '~> 3.0' -# Use SCSS for stylesheets -gem 'sass-rails', '~> 5.0' -# Use Uglifier as compressor for JavaScript assets -gem 'uglifier', '>= 1.3.0' -# Use CoffeeScript for .coffee assets and views -gem 'coffee-rails', '~> 4.2' -# See https://github.com/rails/execjs#readme for more supported runtimes -# gem 'therubyracer', platforms: :ruby +gem "bootstrap-sass", "3.3.6" +gem "bcrypt", "3.1.11" -# Use jquery as the JavaScript library -gem 'jquery-rails' -# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks -gem 'turbolinks', '~> 5' -# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem 'jbuilder', '~> 2.5' -# Use Redis adapter to run Action Cable in production -# gem 'redis', '~> 3.0' -# Use ActiveModel has_secure_password -# gem 'bcrypt', '~> 3.1.7' - -# Use Capistrano for deployment -# gem 'capistrano-rails', group: :development +gem "jquery-rails" +gem "turbolinks", "~> 5" +gem "jbuilder", "~> 2.5" group :development, :test do - # Call 'byebug' anywhere in the code to stop execution and get a debugger console - gem 'byebug', platform: :mri + gem "byebug", platform: :mri end group :development do - # Access an IRB console on exception pages or by using <%= console %> anywhere in the code. - gem 'web-console', '>= 3.3.0' - gem 'listen', '~> 3.0.5' - # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring - gem 'spring' - gem 'spring-watcher-listen', '~> 2.0.0' + gem "web-console", ">= 3.3.0" + gem "listen", "~> 3.0.5" + gem "spring" + gem "spring-watcher-listen", "~> 2.0.0" end -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] +gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/Gemfile.lock b/Gemfile.lock index 5a8cef1..6624620 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -39,6 +39,12 @@ GEM minitest (~> 5.1) tzinfo (~> 1.1) arel (7.1.4) + autoprefixer-rails (6.7.7) + execjs + bcrypt (3.1.11) + bootstrap-sass (3.3.6) + autoprefixer-rails (>= 5.2.1) + sass (>= 3.3.4) builder (3.2.3) byebug (9.0.6) coffee-rails (4.2.1) @@ -154,6 +160,8 @@ PLATFORMS ruby DEPENDENCIES + bcrypt (= 3.1.11) + bootstrap-sass (= 3.3.6) byebug coffee-rails (~> 4.2) jbuilder (~> 2.5) diff --git a/app/assets/images/rails.png b/app/assets/images/rails.png new file mode 100644 index 0000000..f9fa0a0 Binary files /dev/null and b/app/assets/images/rails.png differ diff --git a/app/assets/stylesheets/custom.scss b/app/assets/stylesheets/custom.scss new file mode 100644 index 0000000..5df53db --- /dev/null +++ b/app/assets/stylesheets/custom.scss @@ -0,0 +1,87 @@ +@import "bootstrap-sprockets"; +@import "bootstrap"; + +$gray-medium-light: #eaeaea; + +body { + padding-top: 60px; +} + +section { + overflow: auto; +} + +textarea { + resize: vertical; +} + +.center { + text-align: center; + h1 { + margin-bottom: 10px; + } +} + +h1, h2, h3, h4, h5, h6 { + line-height: 1; +} + +h1 { + font-size: 3em; + letter-spacing: -2px; + margin-bottom: 30px; + text-align: center; +} + +h2 { + font-size: 1.2em; + letter-spacing: -1px; + margin-bottom: 30px; + text-align: center; + font-weight: normal; + color: $gray-light; +} + +p { + font-size: 1.1em; + line-height: 1.7em; +} + +#logo { + float: left; + margin-right: 10px; + font-size: 1.7em; + color: white; + text-transform: uppercase; + letter-spacing: -1px; + padding-top: 9px; + font-weight: bold; + &:hover { + color: white; + text-decoration: none; + } +} + +footer { + margin-top: 45px; + padding-top: 5px; + border-top: 1px solid $gray-medium-light; + color: $gray-light; + a { + color: $gray; + &:hover { + color: $gray-darker; + } + } + small { + float: left; + } + ul { + float: right; + list-style: none; + li { + float: left; + margin-left: 15px; + } + } +} diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb new file mode 100644 index 0000000..d304760 --- /dev/null +++ b/app/controllers/static_pages_controller.rb @@ -0,0 +1,13 @@ +class StaticPagesController < ApplicationController + def home + end + + def help + end + + def about + end + + def contact + end +end diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index c0f8a5c..2ec9ecc 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,78 +1,4 @@ class UsersController < ApplicationController - before_action :set_user, only: [:show, :edit, :update, :destroy] - - include UsersHelper - # GET /users - # GET /users.json - def index - # byebug la 1 gem cua ruby giup debug - @users = User.all - @p_hust = print_hust - end - - # GET /users/1 - # GET /users/1.json - def show - end - - # GET /users/new def new - @user = User.new - end - - # GET /users/1/edit - def edit - end - - # POST /users - # POST /users.json - def create - @user = User.new(user_params) - - - respond_to do |format| - if @user.save - format.html { redirect_to @user, notice: 'User was successfully created.' } - format.json { render :show, status: :created, location: @user } - else - format.html { render :new } - format.json { render json: @user.errors, status: :unprocessable_entity } - end - end - end - - # PATCH/PUT /users/1 - # PATCH/PUT /users/1.json - def update - respond_to do |format| - if @user.update(user_params) - format.html { redirect_to @user, notice: 'User was successfully updated.' } - format.json { render :show, status: :ok, location: @user } - else - format.html { render :edit } - format.json { render json: @user.errors, status: :unprocessable_entity } - end - end - end - - # DELETE /users/1 - # DELETE /users/1.json - def destroy - @user.destroy - respond_to do |format| - format.html { redirect_to users_url, notice: 'User was successfully destroyed.' } - format.json { head :no_content } - end end - - private - # Use callbacks to share common setup or constraints between actions. - def set_user - @user = User.find(params[:id]) - end - - # Never trust parameters from the scary internet, only allow the white list through. - def user_params - params.require(:user).permit(:name, :email) - end end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index de6be79..6c3b28e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,2 +1,10 @@ module ApplicationHelper -end + def full_title page_title = "" + base_title = "Ruby on Rails Tutorial Sample App" + if page_title.empty? + base_title + else + page_title + " | " + base_title + end + end +end \ No newline at end of file diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 3a4291d..2310a24 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -1,6 +1,2 @@ module UsersHelper - def print_hust - "Hello Lam Beo Bui" - end - end diff --git a/app/models/user.rb b/app/models/user.rb index 379658a..e8d10b3 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,2 +1,10 @@ class User < ApplicationRecord + before_save{email.downcase!} + validates :name, presence: true, length: {maximum: 50} + VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i + validates :email, presence: true, length: {maximum: 255}, + format: {with: VALID_EMAIL_REGEX}, + uniqueness: {case_sensitive: false} + has_secure_password + validates :password, presence: true, length: {minimum: 5} end diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb new file mode 100644 index 0000000..dca4384 --- /dev/null +++ b/app/views/layouts/_footer.html.erb @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb new file mode 100644 index 0000000..5def461 --- /dev/null +++ b/app/views/layouts/_header.html.erb @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/app/views/layouts/_rails_default.html.erb b/app/views/layouts/_rails_default.html.erb new file mode 100644 index 0000000..c511c10 --- /dev/null +++ b/app/views/layouts/_rails_default.html.erb @@ -0,0 +1,3 @@ +<%= csrf_meta_tags %> +<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track": "reload" %> +<%= javascript_include_tag "application", "data-turbolinks-track": "reload" %> \ No newline at end of file diff --git a/app/views/layouts/_shim.html.erb b/app/views/layouts/_shim.html.erb new file mode 100644 index 0000000..79505cc --- /dev/null +++ b/app/views/layouts/_shim.html.erb @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1db7596..4a6681b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,14 +1,15 @@ - Blogs - <%= csrf_meta_tags %> - - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> - <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> + <%= full_title(yield(:title)) %> + <%= render 'layouts/rails_default' %> + <%= render 'layouts/shim' %> - - <%= yield %> + <%= render 'layouts/header' %> +
+ <%= yield %> + <%= render 'layouts/footer' %> +
- + \ No newline at end of file diff --git a/app/views/static_pages/about.html.erb b/app/views/static_pages/about.html.erb new file mode 100644 index 0000000..baadabf --- /dev/null +++ b/app/views/static_pages/about.html.erb @@ -0,0 +1,11 @@ +<% provide(:title, "About") %> +

About

+

+ The Ruby on Rails + Tutorial is a + book and + screencast series + to teach web development with + Ruby on Rails. + This is the sample application for the tutorial. +

diff --git a/app/views/static_pages/contact.html.erb b/app/views/static_pages/contact.html.erb new file mode 100644 index 0000000..8889b9c --- /dev/null +++ b/app/views/static_pages/contact.html.erb @@ -0,0 +1,6 @@ +<% provide(:title, 'Contact') %> +

Contact

+

+ Contact the Ruby on Rails Tutorial about the sample app at the + contact page. +

\ No newline at end of file diff --git a/app/views/static_pages/help.html.erb b/app/views/static_pages/help.html.erb new file mode 100644 index 0000000..f9aa8cf --- /dev/null +++ b/app/views/static_pages/help.html.erb @@ -0,0 +1,9 @@ +<% provide(:title, "Help") %> +

Help

+

+ Get help on the Ruby on Rails Tutorial at the + Rails Tutorial help section. + To get help on this sample app, see the + Ruby on Rails Tutorial + book. +

diff --git a/app/views/static_pages/home.html.erb b/app/views/static_pages/home.html.erb new file mode 100644 index 0000000..11ee66f --- /dev/null +++ b/app/views/static_pages/home.html.erb @@ -0,0 +1,14 @@ +
+

Welcome to the Sample App

+ +

+ This is the home page for the + Ruby on Rails Tutorial + sample application. +

+ + <%= link_to "Sign up now!", signup_path, class: "btn btn-lg btn-primary" %> +
+ +<%= link_to image_tag("rails.png", alt: "Rails logo"), + 'http://rubyonrails.org/' %> \ No newline at end of file diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 844c39b..9b93755 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,5 +1,3 @@ -

New User

- -<%= render 'form', user: @user %> - -<%= link_to 'Back', users_path %> +<% provide(:title, 'Sign up') %> +

Sign up

+

This will be a signup page for new users.

\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index ef522ca..f347f10 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,13 @@ Rails.application.routes.draw do - root "users#index" # chuyen huong den users khi dang nhap vao trang chu + get 'users/new' + + root 'static_pages#home' + resources :users # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html + + get '/help', to: 'static_pages#help', as: 'help' + get '/about', to: 'static_pages#about', as: 'about' + get '/contact', to: 'static_pages#contact', as: 'contact' + get '/signup', to: 'users#new' end diff --git a/db/development.sqlite3 b/db/development.sqlite3 new file mode 100644 index 0000000..32c872d Binary files /dev/null and b/db/development.sqlite3 differ diff --git a/db/migrate/20170313115524_create_users.rb b/db/migrate/20170313115524_create_users.rb index 7ed2370..b7eaee8 100644 --- a/db/migrate/20170313115524_create_users.rb +++ b/db/migrate/20170313115524_create_users.rb @@ -3,7 +3,7 @@ def change create_table :users do |t| t.string :name t.string :email - + t.timestamps end end diff --git a/db/migrate/20170322084603_add_index_to_users_email.rb b/db/migrate/20170322084603_add_index_to_users_email.rb new file mode 100644 index 0000000..dd12a9f --- /dev/null +++ b/db/migrate/20170322084603_add_index_to_users_email.rb @@ -0,0 +1,5 @@ +class AddIndexToUsersEmail < ActiveRecord::Migration[5.0] + def change + add_index :users, :email, unique: true + end +end diff --git a/db/migrate/20170322085005_add_password_digest_to_users.rb b/db/migrate/20170322085005_add_password_digest_to_users.rb new file mode 100644 index 0000000..30a8d13 --- /dev/null +++ b/db/migrate/20170322085005_add_password_digest_to_users.rb @@ -0,0 +1,5 @@ +class AddPasswordDigestToUsers < ActiveRecord::Migration[5.0] + def change + add_column :users, :password_digest, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 93245b5..67d0538 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,13 +10,15 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170313115524) do +ActiveRecord::Schema.define(version: 20170322085005) do create_table "users", force: :cascade do |t| t.string "name" t.string "email" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.string "password_digest" + t.index ["email"], name: "index_users_on_email", unique: true end end diff --git a/db/test.sqlite3 b/db/test.sqlite3 new file mode 100644 index 0000000..30ed3f2 Binary files /dev/null and b/db/test.sqlite3 differ diff --git a/kitten.jpg b/kitten.jpg new file mode 100644 index 0000000..e224540 Binary files /dev/null and b/kitten.jpg differ diff --git a/log/development.log b/log/development.log new file mode 100644 index 0000000..ccf1bdd --- /dev/null +++ b/log/development.log @@ -0,0 +1,2846 @@ +Started GET "/" for 127.0.0.1 at 2017-03-20 19:24:36 +0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!' +activerecord (5.0.2) lib/active_record/migration.rb:549:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' +activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__' +activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' +activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.1ms) +Started GET "/" for 127.0.0.1 at 2017-03-20 19:26:35 +0700 + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!' +activerecord (5.0.2) lib/active_record/migration.rb:549:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' +activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__' +activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' +activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.6ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.8ms) +  (89.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (94.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (0.1ms) begin transaction +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170313115524"]] +  (92.3ms) commit transaction + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-03-20 12:28:00 UTC], ["updated_at", 2017-03-20 12:28:00 UTC]] +  (56.3ms) commit transaction + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2017-03-20 19:28:36 +0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (12.5ms) +Completed 200 OK in 2390ms (Views: 2347.4ms | ActiveRecord: 0.8ms) + + +Started GET "/users/new" for 127.0.0.1 at 2017-03-20 19:28:45 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/_form.html.erb (246.7ms) + Rendered users/new.html.erb within layouts/application (249.2ms) +Completed 200 OK in 315ms (Views: 297.9ms | ActiveRecord: 1.5ms) + + +Started POST "/users" for 127.0.0.1 at 2017-03-20 19:28:48 +0700 +Processing by UsersController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"ix3rz3gUff3dJ18dJ8qZjlwHeUPaYFA0lfcOacVHRhMH2vCoNz6pUUwKKu8xl3I7JHuk2ivp9VmapSftjlKEtQ==", "user"=>{"name"=>"dsadas", "email"=>"asdas"}, "commit"=>"Create User"} +  (0.1ms) begin transaction + SQL (2.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "dsadas"], ["email", "asdas"], ["created_at", 2017-03-20 12:28:48 UTC], ["updated_at", 2017-03-20 12:28:48 UTC]] +  (127.7ms) commit transaction +Redirected to http://localhost:3000/users/1 +Completed 302 Found in 139ms (ActiveRecord: 130.3ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:28:48 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.6ms) +Completed 200 OK in 68ms (Views: 51.2ms | ActiveRecord: 0.4ms) + + +Started GET "/users" for 127.0.0.1 at 2017-03-20 19:28:52 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.3ms) + + +Started GET "/users" for 127.0.0.1 at 2017-03-20 19:31:21 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.4ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (4.6ms) +Completed 200 OK in 60ms (Views: 57.1ms | ActiveRecord: 0.4ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:31:24 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) +Completed 200 OK in 57ms (Views: 52.9ms | ActiveRecord: 0.9ms) + + +Started GET "/users/1/edit" for 127.0.0.1 at 2017-03-20 19:31:26 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (7.3ms) + Rendered users/edit.html.erb within layouts/application (10.6ms) +Completed 200 OK in 66ms (Views: 62.3ms | ActiveRecord: 0.2ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:31:28 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.9ms) +Completed 200 OK in 64ms (Views: 56.1ms | ActiveRecord: 1.0ms) + + +Started GET "/users" for 127.0.0.1 at 2017-03-20 19:31:30 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.7ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (4.1ms) +Completed 200 OK in 74ms (Views: 71.7ms | ActiveRecord: 0.7ms) + + +Started GET "/users/1/edit" for 127.0.0.1 at 2017-03-20 19:31:33 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"1"} + User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (5.6ms) + Rendered users/edit.html.erb within layouts/application (9.1ms) +Completed 200 OK in 73ms (Views: 66.3ms | ActiveRecord: 1.4ms) + + +Started PATCH "/users/1" for 127.0.0.1 at 2017-03-20 19:31:35 +0700 +Processing by UsersController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"DjzEUovgx3AZtV23ZdFxBG+/OCnyuf7nzJB6BAwHArZbKbbILI8ey6DXP1UTsZeT6pNfvgW7szQgTcZPxob0kw==", "user"=>{"name"=>"dsadas", "email"=>"asdas"}, "commit"=>"Update User", "id"=>"1"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.3ms) commit transaction +Redirected to http://localhost:3000/users/1 +Completed 302 Found in 13ms (ActiveRecord: 0.8ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:31:35 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.8ms) +Completed 200 OK in 59ms (Views: 55.4ms | ActiveRecord: 0.2ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:44:47 +0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (9.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 942ms (Views: 884.4ms | ActiveRecord: 2.0ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:05 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.5ms) +Completed 200 OK in 67ms (Views: 63.4ms | ActiveRecord: 0.7ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:06 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 77ms (Views: 73.5ms | ActiveRecord: 0.2ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:07 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (2.7ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 65ms (Views: 60.8ms | ActiveRecord: 0.8ms) + + +Started GET "/users/1/edit" for 127.0.0.1 at 2017-03-20 19:45:08 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"1"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (45.5ms) + Rendered users/edit.html.erb within layouts/application (48.2ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 109ms (Views: 105.6ms | ActiveRecord: 0.3ms) + + +Started PATCH "/users/1" for 127.0.0.1 at 2017-03-20 19:45:23 +0700 +Processing by UsersController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"NNArxrg7AnpxNgE5x2/X7D2vlG68rzsEEASznsMghkxhxVlcH1TbwchUY9uxDzF7uIPz+Uutdtf82Q/VCaFwaQ==", "user"=>{"name"=>"nguyenduong", "email"=>"duong@12gmail.com"}, "commit"=>"Update User", "id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.7ms) UPDATE "users" SET "name" = ?, "email" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "nguyenduong"], ["email", "duong@12gmail.com"], ["updated_at", 2017-03-20 12:45:23 UTC], ["id", 1]] +  (186.3ms) commit transaction +Redirected to http://localhost:3000/users/1 +Completed 302 Found in 201ms (ActiveRecord: 187.4ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:23 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 64ms (Views: 60.0ms | ActiveRecord: 0.4ms) + + +Started GET "/users/1/edit" for 127.0.0.1 at 2017-03-20 19:45:27 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"1"} + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (6.3ms) + Rendered users/edit.html.erb within layouts/application (9.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 92ms (Views: 83.7ms | ActiveRecord: 1.0ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:28 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (2.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 68ms (Views: 64.2ms | ActiveRecord: 0.5ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:31 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (4.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 80ms (Views: 76.1ms | ActiveRecord: 0.2ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:31 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.8ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 61ms (Views: 57.5ms | ActiveRecord: 0.4ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:32 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 61ms (Views: 56.4ms | ActiveRecord: 0.5ms) + + +Started GET "/users/1" for 127.0.0.1 at 2017-03-20 19:45:33 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.8ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.5ms) +Completed 200 OK in 87ms (Views: 82.9ms | ActiveRecord: 0.3ms) + + +Started GET "/users" for 127.0.0.1 at 2017-03-20 19:45:34 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.4ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (4.3ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 65ms (Views: 61.8ms | ActiveRecord: 0.4ms) + + +Started GET "/users/new" for 127.0.0.1 at 2017-03-20 19:45:36 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/_form.html.erb (5.1ms) + Rendered users/new.html.erb within layouts/application (8.2ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.0ms) + + +Started POST "/users" for 127.0.0.1 at 2017-03-20 19:45:51 +0700 +Processing by UsersController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"RUGq5/V4W8rcQM1OUOfC0DGYJ0t8+xbxB2+Al1vzNc7JhrGAulKPZk1tuLxGuillSeT60o1ys5wIPakTEOb3aA==", "user"=>{"name"=>"lam", "email"=>"lam121@gmail.com"}, "commit"=>"Create User"} +  (0.2ms) begin transaction + SQL (0.5ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "lam"], ["email", "lam121@gmail.com"], ["created_at", 2017-03-20 12:45:51 UTC], ["updated_at", 2017-03-20 12:45:51 UTC]] +  (350.6ms) commit transaction +Redirected to http://localhost:3000/users/2 +Completed 302 Found in 361ms (ActiveRecord: 351.3ms) + + +Started GET "/users/2" for 127.0.0.1 at 2017-03-20 19:45:52 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 67ms (Views: 61.6ms | ActiveRecord: 0.5ms) + + +Started GET "/users/2/edit" for 127.0.0.1 at 2017-03-20 19:45:55 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"2"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (6.9ms) + Rendered users/edit.html.erb within layouts/application (10.5ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 89ms (Views: 81.5ms | ActiveRecord: 0.6ms) + + +Started GET "/users/2" for 127.0.0.1 at 2017-03-20 19:45:57 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.7ms) + Rendered layouts/_shim.html.erb (0.9ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 87ms (Views: 83.0ms | ActiveRecord: 0.3ms) + + +Started GET "/users" for 127.0.0.1 at 2017-03-20 19:45:58 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (6.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 67ms (Views: 64.1ms | ActiveRecord: 0.3ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 22:43:10 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (24.7ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 799ms (Views: 744.7ms | ActiveRecord: 1.5ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 22:43:15 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.7ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (5.3ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 90ms (Views: 87.5ms | ActiveRecord: 0.7ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 22:43:30 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 94ms (Views: 68.9ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 22:43:35 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 160ms (Views: 58.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/about" for 127.0.0.1 at 2017-03-21 23:17:39 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (2.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (2.5ms) +Completed 200 OK in 588ms (Views: 566.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:18:19 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.8ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (22.1ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 102ms (Views: 79.3ms | ActiveRecord: 3.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:18:22 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (1.0ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (11.4ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 77ms (Views: 73.4ms | ActiveRecord: 1.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:19:45 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.5ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (5.3ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 0.5ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:19:47 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 67ms (Views: 63.5ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/help" for 127.0.0.1 at 2017-03-21 23:19:49 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (28.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (24.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (123.1ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:19:59 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 64ms (Views: 61.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:20:04 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.5ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (8.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 70ms (Views: 67.6ms | ActiveRecord: 0.5ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:20:07 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.5ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 69ms (Views: 64.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:20:09 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.2ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 70ms (Views: 66.6ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/login" for 127.0.0.1 at 2017-03-21 23:20:20 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (12.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.7ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (70.2ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:20:23 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:20:27 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:20:28 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.7ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (5.1ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 70ms (Views: 67.5ms | ActiveRecord: 0.7ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:20:29 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.0ms) + + +Started GET "/home" for 127.0.0.1 at 2017-03-21 23:22:42 +0700 + +ActionController::RoutingError (No route matches [GET] "/home"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (11.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (68.9ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:22:45 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.8ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (7.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 69ms (Views: 66.0ms | ActiveRecord: 0.8ms) + + +Started GET "/users/new" for 127.0.0.1 at 2017-03-21 23:22:48 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/_form.html.erb (64.3ms) + Rendered users/new.html.erb within layouts/application (66.8ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 128ms (Views: 125.3ms | ActiveRecord: 0.0ms) + + +Started GET "/users/static_pages/help" for 127.0.0.1 at 2017-03-21 23:22:50 +0700 + +ActionController::RoutingError (No route matches [GET] "/users/static_pages/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (12.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (72.1ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:22:56 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (1.5ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (8.3ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 68ms (Views: 64.6ms | ActiveRecord: 1.5ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:22:58 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.8ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/help" for 127.0.0.1 at 2017-03-21 23:23:05 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (11.9ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (69.5ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:40:31 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (23.9ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 644ms (Views: 610.1ms | ActiveRecord: 1.6ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:40:34 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (60.9ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 89ms (Views: 86.4ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:42:55 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 67ms (Views: 62.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:43:37 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 72ms (Views: 69.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/about" for 127.0.0.1 at 2017-03-21 23:43:42 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) +Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:46:01 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 66ms (Views: 63.6ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:46:03 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.8ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 65ms (Views: 60.8ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/help" for 127.0.0.1 at 2017-03-21 23:46:05 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (15.7ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (12.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (14.7ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (94.7ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:46:11 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.6ms) +Completed 200 OK in 67ms (Views: 64.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:46:13 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.3ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 66ms (Views: 64.1ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:46:15 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 68ms (Views: 62.2ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/login" for 127.0.0.1 at 2017-03-21 23:46:17 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (9.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (65.8ms) +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:46:18 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 68ms (Views: 62.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:46:21 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 71ms (Views: 67.2ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/login" for 127.0.0.1 at 2017-03-21 23:46:22 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (11.1ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.3ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (69.9ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:46:24 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 69ms (Views: 63.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:46:26 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 67ms (Views: 63.2ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:46:29 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.8ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) +Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:48:01 +0700 +Processing by Rails::WelcomeController#index as HTML + Parameters: {"internal"=>true} + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.3ms) +Completed 200 OK in 20ms (Views: 7.4ms | ActiveRecord: 0.0ms) + + +Started GET "/home" for 127.0.0.1 at 2017-03-21 23:48:08 +0700 + +ActionController::RoutingError (No route matches [GET] "/home"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [11 times] (9.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.5ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (68.1ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:48:12 +0700 +Processing by Rails::WelcomeController#index as HTML + Parameters: {"internal"=>true} + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (5.7ms) +Completed 200 OK in 13ms (Views: 8.8ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:48:21 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.9ms) + Rendered layouts/_header.html.erb (1.5ms) +Completed 200 OK in 70ms (Views: 67.8ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages" for 127.0.0.1 at 2017-03-21 23:48:41 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [11 times] (10.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (67.8ms) +Started GET "/" for 127.0.0.1 at 2017-03-21 23:48:48 +0700 +Processing by Rails::WelcomeController#index as HTML + Parameters: {"internal"=>true} + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.2ms) +Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:51:05 +0700 +Processing by Rails::WelcomeController#index as HTML + Parameters: {"internal"=>true} + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/templates/rails/welcome/index.html.erb (9.8ms) +Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.0ms) + + +Started GET "/home" for 127.0.0.1 at 2017-03-21 23:51:08 +0700 + +ActionController::RoutingError (No route matches [GET] "/home"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [11 times] (9.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (64.9ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:51:12 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.3ms) + Rendered layouts/_shim.html.erb (1.1ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 73ms (Views: 67.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/help" for 127.0.0.1 at 2017-03-21 23:51:14 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [11 times] (9.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (67.2ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:51:16 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.9ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 61ms (Views: 59.0ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/home" for 127.0.0.1 at 2017-03-21 23:51:18 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/home"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [11 times] (9.3ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.0ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (68.0ms) +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:51:20 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.3ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 71ms (Views: 65.8ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 23:51:32 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.9ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 70ms (Views: 65.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-21 23:52:33 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) +Completed 200 OK in 59ms (Views: 56.8ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:52:40 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.7ms) +Completed 200 OK in 79ms (Views: 70.5ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/static_pages/login" for 127.0.0.1 at 2017-03-21 23:52:42 +0700 + +ActionController::RoutingError (No route matches [GET] "/static_pages/static_pages/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (9.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (66.1ms) +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 23:52:43 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.3ms) +Completed 200 OK in 64ms (Views: 61.5ms | ActiveRecord: 0.0ms) + + +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-22 00:09:47 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (2.8ms) +Completed 200 OK in 545ms (Views: 525.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:09:50 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.4ms) +Completed 200 OK in 66ms (Views: 62.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:09:53 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (1.3ms) +Completed 200 OK in 70ms (Views: 64.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:11:48 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (6.0ms) +Completed 200 OK in 84ms (Views: 81.9ms | ActiveRecord: 0.0ms) + + +Started GET "/images/rails.png" for 127.0.0.1 at 2017-03-22 00:11:48 +0700 + +ActionController::RoutingError (No route matches [GET] "/images/rails.png"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (16.4ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (15.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.4ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (92.4ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 00:15:42 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.1ms) +Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.0ms) + + +Started GET "/images/rails.png" for 127.0.0.1 at 2017-03-22 00:15:43 +0700 + +ActionController::RoutingError (No route matches [GET] "/images/rails.png"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (10.4ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (67.8ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 00:17:33 +0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (665.9ms) +Completed 200 OK in 833ms (Views: 813.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:20:08 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.9ms) +Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.0ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/rails-9308b8f92fea4c19a3a0d8385b494526.png"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' +activesupport (5.0.2) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.0.2) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.0.2) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.0.2) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:11:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/" for 127.0.0.1 at 2017-03-22 00:22:34 +0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (444.9ms) +Completed 200 OK in 539ms (Views: 517.3ms | ActiveRecord: 0.0ms) + + + +ActionController::RoutingError (No route matches [GET] "/assets/rails-9308b8f92fea4c19a3a0d8385b494526.png"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' +activesupport (5.0.2) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.0.2) lib/active_support/logger.rb:63:in `block (3 levels) in broadcast' +activesupport (5.0.2) lib/active_support/logger_silence.rb:20:in `silence' +activesupport (5.0.2) lib/active_support/logger.rb:61:in `block (2 levels) in broadcast' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:11:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:17 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (8242.8ms) +Completed 200 OK in 8487ms (Views: 8467.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:38 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (6.1ms) +Completed 200 OK in 93ms (Views: 90.4ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:41 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.9ms) +Completed 200 OK in 93ms (Views: 90.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:47 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.5ms) +Completed 200 OK in 91ms (Views: 89.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:49 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.7ms) +Completed 200 OK in 90ms (Views: 87.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:42:51 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.9ms) +Completed 200 OK in 89ms (Views: 87.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:43:52 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.7ms) +Completed 200 OK in 3983ms (Views: 3980.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:46:16 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.8ms) +Completed 200 OK in 3733ms (Views: 3730.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:47:53 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.9ms) +Completed 200 OK in 4049ms (Views: 4045.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:56:46 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.2ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.7ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 3611ms (Views: 3605.4ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 00:59:39 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.9ms) +Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (Missing partial layouts/_rails_default with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in: + * "/home/duong/Ruby_k59/app/views" +): + 2: + 3: + 4: <%= full_title(yield(:title)) %> + 5: <%= render 'layouts/rails_default' %> + 6: <%= render 'layouts/shim' %> + 7: + 8: + +app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___1392298802311583438_70263349921940' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (17.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.2ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (71.4ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 14:12:02 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (962.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (23.6ms) + Rendered layouts/_footer.html.erb (1.4ms) +Completed 200 OK in 1224ms (Views: 1193.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:23:32 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.6ms) +Completed 500 Internal Server Error in 98ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (Missing partial layouts/_rails_default with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in: + * "/home/duong/Ruby_k59/app/views" +): + 2: + 3: + 4: <%= full_title(yield(:title)) %> + 5: <%= render 'layouts/rails_default' %> + 6: <%= render 'layouts/shim' %> + 7: + 8: + +app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3535737727832577648_70078449298280' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (22.0ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (77.8ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 14:23:37 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.8ms) +Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (Missing partial layouts/_rails_default with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in: + * "/home/duong/Ruby_k59/app/views" +): + 2: + 3: + 4: <%= full_title(yield(:title)) %> + 5: <%= render 'layouts/rails_default' %> + 6: <%= render 'layouts/shim' %> + 7: + 8: + +app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3535737727832577648_70078445452780' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (16.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.7ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 14:25:37 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.0ms) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (Missing partial layouts/_rails_default with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in: + * "/home/duong/Ruby_k59/app/views" +): + 2: + 3: + 4: <%= full_title(yield(:title)) %> + 5: <%= render 'layouts/rails_default' %> + 6: <%= render 'layouts/shim' %> + 7: + 8: + +app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3535737727832577648_70078443583340' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (16.0ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.8ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 14:26:38 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.3ms) + Rendered layouts/_rails_default.html.erb (4083.6ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 4112ms (Views: 4106.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:28:09 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.8ms) + Rendered layouts/_rails_default.html.erb (3467.4ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 3489ms (Views: 3486.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:29:14 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.1ms) + Rendered layouts/_rails_default.html.erb (3558.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 3576ms (Views: 3573.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:30:03 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (5.6ms) + Rendered layouts/_rails_default.html.erb (3593.1ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 3618ms (Views: 3612.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:38:58 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.2ms) + Rendered layouts/_rails_default.html.erb (3511.3ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 3529ms (Views: 3527.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:39:05 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.8ms) + Rendered layouts/_rails_default.html.erb (67.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 88ms (Views: 85.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:39:40 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (6.5ms) + Rendered layouts/_rails_default.html.erb (72.2ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.3ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 102ms (Views: 97.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:39:42 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.2ms) + Rendered layouts/_rails_default.html.erb (66.6ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 85ms (Views: 83.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:39:44 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.6ms) + Rendered layouts/_rails_default.html.erb (69.3ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 88ms (Views: 85.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:39:46 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.5ms) + Rendered layouts/_rails_default.html.erb (65.8ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 84ms (Views: 81.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:41:21 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (6.2ms) + Rendered layouts/_rails_default.html.erb (3713.8ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 3735ms (Views: 3733.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:55:12 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.1ms) + Rendered layouts/_rails_default.html.erb (64.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:56:03 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.8ms) + Rendered layouts/_rails_default.html.erb (66.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 85ms (Views: 83.0ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:56:06 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (6.3ms) + Rendered layouts/_rails_default.html.erb (71.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.0ms) + Rendered layouts/_footer.html.erb (0.8ms) +Completed 200 OK in 95ms (Views: 92.5ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 14:56:07 +0700 + +ActionController::RoutingError (No route matches [GET] "/help"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [13 times] (30.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (25.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (150.9ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 14:56:12 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.5ms) + Rendered layouts/_rails_default.html.erb (67.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 93ms (Views: 87.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:57:06 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.6ms) + Rendered layouts/_rails_default.html.erb (71.6ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 123ms (Views: 121.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 14:57:09 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.1ms) + Rendered layouts/_rails_default.html.erb (68.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 94ms (Views: 88.4ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 14:57:10 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.9ms) + Rendered layouts/_rails_default.html.erb (81.2ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 100ms (Views: 97.5ms | ActiveRecord: 0.0ms) + + +Started GET "/login" for 127.0.0.1 at 2017-03-22 14:57:12 +0700 + +ActionController::RoutingError (No route matches [GET] "/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (9.9ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (65.8ms) +Started GET "/help" for 127.0.0.1 at 2017-03-22 14:57:16 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (68.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 84ms (Views: 82.3ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2017-03-22 14:57:19 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (1.2ms) + Rendered layouts/_rails_default.html.erb (71.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.3ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 93ms (Views: 88.0ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2017-03-22 14:57:20 +0700 +Processing by StaticPagesController#contact as HTML + Rendering static_pages/contact.html.erb within layouts/application + Rendered static_pages/contact.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (78.0ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.1ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 95ms (Views: 92.5ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:02:34 +0700 + +SyntaxError (/home/duong/Ruby_k59/config/routes.rb:7: syntax error, unexpected tIDENTIFIER, expecting keyword_end + to: 'static_pages#help' as: 'helf' + ^): + +config/routes.rb:7: syntax error, unexpected tIDENTIFIER, expecting keyword_end + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (10.2ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.2ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:03:12 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.0ms) + Rendered layouts/_rails_default.html.erb (73.0ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (561.3ms) +Completed 500 Internal Server Error in 649ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined local variable or method `help_path' for #<#:0x007f78d22adaf8> +Did you mean? helf_path): + 4: + +app/views/layouts/_header.html.erb:7:in `_app_views_layouts__header_html_erb__2024199753367200404_70078440257460' +app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__3535737727832577648_70078450424500' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (17.2ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.1ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.9ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:04:00 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (2.8ms) + Rendered layouts/_rails_default.html.erb (66.7ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (518.6ms) +Completed 500 Internal Server Error in 600ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined local variable or method `helf' for #<#:0x007f78c69c04f0>): + 4: + +app/views/layouts/_header.html.erb:7:in `_app_views_layouts__header_html_erb__2024199753367200404_70078338940800' +app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__3535737727832577648_70078345069840' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (16.7ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.9ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.0ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:04:26 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.2ms) + Rendered layouts/_rails_default.html.erb (72.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (627.3ms) +Completed 500 Internal Server Error in 720ms (ActiveRecord: 0.0ms) + + + +ActionView::Template::Error (undefined local variable or method `help_path' for #<#:0x007f78d29eeba0> +Did you mean? helf_path): + 4: + +app/views/layouts/_header.html.erb:7:in `_app_views_layouts__header_html_erb__2024199753367200404_70078458103020' +app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__3535737727832577648_70078453363380' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (16.0ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.3ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:04:55 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.3ms) + Rendered layouts/_rails_default.html.erb (66.0ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 90ms (Views: 86.1ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:04:59 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (79.2ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.3ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 95ms (Views: 93.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:05:33 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.2ms) + Rendered layouts/_rails_default.html.erb (65.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 84ms (Views: 81.6ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:05:36 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.2ms) + Rendered layouts/_rails_default.html.erb (63.5ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (0.9ms) +Completed 200 OK in 83ms (Views: 81.2ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:05:38 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (71.9ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.6ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 88ms (Views: 86.0ms | ActiveRecord: 0.0ms) + + +Started GET "/login" for 127.0.0.1 at 2017-03-22 15:05:39 +0700 + +ActionController::RoutingError (No route matches [GET] "/login"): + +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) + Rendered collection of /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb [12 times] (8.4ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (64.4ms) +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:05:43 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (65.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.3ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 89ms (Views: 83.4ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:05:44 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (67.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.5ms) + Rendered layouts/_footer.html.erb (1.3ms) +Completed 200 OK in 86ms (Views: 84.3ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2017-03-22 15:05:45 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (0.9ms) + Rendered layouts/_rails_default.html.erb (73.0ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 92ms (Views: 89.3ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2017-03-22 15:05:46 +0700 +Processing by StaticPagesController#contact as HTML + Rendering static_pages/contact.html.erb within layouts/application + Rendered static_pages/contact.html.erb within layouts/application (1.3ms) + Rendered layouts/_rails_default.html.erb (65.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.2ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 84ms (Views: 81.9ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2017-03-22 15:05:59 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (66.3ms) + Rendered layouts/_shim.html.erb (0.9ms) + Rendered layouts/_header.html.erb (1.7ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 83ms (Views: 81.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:11:21 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + +LoadError (No such file to load -- test_helper): + +app/helpers/application_helper.rb:1:in `' +app/controllers/application_controller.rb:1:in `' +app/controllers/static_pages_controller.rb:1:in `' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (18.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (19.4ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (91.4ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:11:52 +0700 + +LoadError (No such file to load -- test_helper): + +app/helpers/application_helper.rb:13:in `' +app/helpers/application_helper.rb:1:in `' +app/controllers/application_controller.rb:1:in `' +app/controllers/static_pages_controller.rb:1:in `' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (18.4ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.5ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.4ms) +Started GET "/" for 127.0.0.1 at 2017-03-22 15:14:41 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (564.5ms) + Rendered layouts/_rails_default.html.erb (81.5ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (1.0ms) +Completed 200 OK in 662ms (Views: 659.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:14:44 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (4.1ms) + Rendered layouts/_rails_default.html.erb (76.3ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.5ms) + Rendered layouts/_footer.html.erb (11.3ms) +Completed 200 OK in 110ms (Views: 106.2ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:14:45 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (1.4ms) + Rendered layouts/_rails_default.html.erb (77.4ms) + Rendered layouts/_shim.html.erb (1.0ms) + Rendered layouts/_header.html.erb (1.7ms) + Rendered layouts/_footer.html.erb (1.2ms) +Completed 200 OK in 101ms (Views: 96.7ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2017-03-22 15:14:47 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (0.9ms) + Rendered layouts/_rails_default.html.erb (73.4ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (1.3ms) +Completed 200 OK in 94ms (Views: 91.6ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2017-03-22 15:14:48 +0700 +Processing by StaticPagesController#contact as HTML + Rendering static_pages/contact.html.erb within layouts/application + Rendered static_pages/contact.html.erb within layouts/application (1.0ms) + Rendered layouts/_rails_default.html.erb (73.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.5ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 92ms (Views: 89.7ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:14:49 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.5ms) + Rendered layouts/_rails_default.html.erb (86.8ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (2.1ms) + Rendered layouts/_footer.html.erb (1.3ms) +Completed 200 OK in 108ms (Views: 105.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:30:32 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (486.9ms) + Rendered layouts/_rails_default.html.erb (117.5ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (1.2ms) +Completed 200 OK in 644ms (Views: 623.9ms | ActiveRecord: 0.0ms) + + +Started GET "/signup" for 127.0.0.1 at 2017-03-22 15:30:34 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/new.html.erb within layouts/application (0.9ms) + Rendered layouts/_rails_default.html.erb (74.4ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.7ms) + Rendered layouts/_footer.html.erb (1.2ms) +Completed 200 OK in 102ms (Views: 99.5ms | ActiveRecord: 0.0ms) + + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (0.1ms) begin transaction +  (2.7ms) DROP TABLE "users" + SQL (1.6ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170313115524"]] +  (48.4ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) begin transaction +  (0.4ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (1.3ms) begin transaction +  (0.2ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.7ms) begin transaction +  (0.2ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (0.2ms) begin transaction +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (0.1ms) begin transaction +  (0.2ms) rollback transaction +Started GET "/" for 127.0.0.1 at 2017-03-22 15:55:02 +0700 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +): + +activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!' +activerecord (5.0.2) lib/active_record/migration.rb:549:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' +activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__' +activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' +activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks' +actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' +web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app' +web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch' +web-console (3.4.0) lib/web_console/middleware.rb:18:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' +sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' +rack (2.0.1) lib/rack/method_override.rb:22:in `call' +rack (2.0.1) lib/rack/runtime.rb:22:in `call' +activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' +rack (2.0.1) lib/rack/sendfile.rb:111:in `call' +railties (5.0.2) lib/rails/engine.rb:522:in `call' +puma (3.8.1) lib/puma/configuration.rb:224:in `call' +puma (3.8.1) lib/puma/server.rb:590:in `handle_request' +puma (3.8.1) lib/puma/server.rb:425:in `process_client' +puma (3.8.1) lib/puma/server.rb:289:in `block in run' +puma (3.8.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.7ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) + Rendering /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) + Rendered /home/duong/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.4ms) + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20170313115524) +  (0.1ms) begin transaction +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170313115524"]] +  (93.0ms) commit transaction +Migrating to AddIndexToUsersEmail (20170322084603) +  (0.2ms) begin transaction +  (0.2ms) select sqlite_version(*) +  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170322084603"]] +  (76.6ms) commit transaction +Migrating to AddPasswordDigestToUsers (20170322085005) +  (0.1ms) begin transaction +  (0.7ms) ALTER TABLE "users" ADD "password_digest" varchar + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170322085005"]] +  (63.0ms) commit transaction + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:56:13 +0700 + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (484.1ms) + Rendered layouts/_rails_default.html.erb (91.6ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.6ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 615ms (Views: 595.0ms | ActiveRecord: 0.0ms) + + +Started GET "/signup" for 127.0.0.1 at 2017-03-22 15:56:16 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/new.html.erb within layouts/application (1.5ms) + Rendered layouts/_rails_default.html.erb (75.6ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.7ms) + Rendered layouts/_footer.html.erb (1.3ms) +Completed 200 OK in 97ms (Views: 94.1ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:56:19 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.9ms) + Rendered layouts/_rails_default.html.erb (83.4ms) + Rendered layouts/_shim.html.erb (0.8ms) + Rendered layouts/_header.html.erb (1.8ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 105ms (Views: 102.6ms | ActiveRecord: 0.0ms) + + +Started GET "/help" for 127.0.0.1 at 2017-03-22 15:56:20 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.8ms) + Rendered layouts/_rails_default.html.erb (84.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.5ms) + Rendered layouts/_footer.html.erb (1.5ms) +Completed 200 OK in 101ms (Views: 99.3ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2017-03-22 15:56:22 +0700 +Processing by StaticPagesController#about as HTML + Rendering static_pages/about.html.erb within layouts/application + Rendered static_pages/about.html.erb within layouts/application (1.0ms) + Rendered layouts/_rails_default.html.erb (79.1ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.9ms) + Rendered layouts/_footer.html.erb (1.2ms) +Completed 200 OK in 100ms (Views: 96.9ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2017-03-22 15:56:23 +0700 +Processing by StaticPagesController#contact as HTML + Rendering static_pages/contact.html.erb within layouts/application + Rendered static_pages/contact.html.erb within layouts/application (0.9ms) + Rendered layouts/_rails_default.html.erb (89.2ms) + Rendered layouts/_shim.html.erb (0.6ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (1.1ms) +Completed 200 OK in 106ms (Views: 103.9ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2017-03-22 15:56:24 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (3.9ms) + Rendered layouts/_rails_default.html.erb (76.3ms) + Rendered layouts/_shim.html.erb (0.7ms) + Rendered layouts/_header.html.erb (1.4ms) + Rendered layouts/_footer.html.erb (2.0ms) +Completed 200 OK in 100ms (Views: 97.5ms | ActiveRecord: 0.0ms) + + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddPasswordDigestToUsers (20170322085005) +  (0.1ms) begin transaction +  (0.8ms) CREATE TEMPORARY TABLE "ausers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password_digest" varchar) +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + +  (0.1ms) select sqlite_version(*) +  (0.5ms) CREATE UNIQUE INDEX "tindex_ausers_on_email" ON "ausers" ("email") +  (0.2ms) INSERT INTO "ausers" ("id","name","email","created_at","updated_at","password_digest") + SELECT "id","name","email","created_at","updated_at","password_digest" FROM "users" +  (1.8ms) DROP TABLE "users" +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='tindex_ausers_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='tindex_ausers_on_email' AND type='index' + +  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") +  (0.3ms) INSERT INTO "users" ("id","name","email","created_at","updated_at") + SELECT "id","name","email","created_at","updated_at" FROM "ausers" +  (0.4ms) DROP TABLE "ausers" + SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170322085005"]] +  (117.4ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddPasswordDigestToUsers (20170322085005) +  (0.2ms) begin transaction +  (2.6ms) ALTER TABLE "users" ADD "password_digest" varchar + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170322085005"]] +  (100.0ms) commit transaction + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddPasswordDigestToUsers (20170322085005) +  (0.1ms) begin transaction +  (0.9ms) CREATE TEMPORARY TABLE "ausers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password_digest" varchar) +  (0.3ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + +  (0.1ms) select sqlite_version(*) +  (0.5ms) CREATE UNIQUE INDEX "tindex_ausers_on_email" ON "ausers" ("email") +  (0.2ms) INSERT INTO "ausers" ("id","name","email","created_at","updated_at","password_digest") + SELECT "id","name","email","created_at","updated_at","password_digest" FROM "users" +  (2.1ms) DROP TABLE "users" +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='tindex_ausers_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='tindex_ausers_on_email' AND type='index' + +  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") +  (0.2ms) INSERT INTO "users" ("id","name","email","created_at","updated_at") + SELECT "id","name","email","created_at","updated_at" FROM "ausers" +  (0.4ms) DROP TABLE "ausers" + SQL (0.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170322085005"]] +  (117.0ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddPasswordDigestToUsers (20170322085005) +  (0.1ms) begin transaction +  (4.5ms) ALTER TABLE "users" ADD "password_digest" varchar + SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170322085005"]] +  (115.1ms) commit transaction + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_users_on_email' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_users_on_email' AND type='index' + diff --git a/log/test.log b/log/test.log new file mode 100644 index 0000000..5fab22e --- /dev/null +++ b/log/test.log @@ -0,0 +1,145 @@ +  (84.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (65.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.3ms) SELECT version FROM "schema_migrations" +  (58.3ms) INSERT INTO "schema_migrations" (version) VALUES (20170313115524) +  (70.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-03-21 15:46:10 UTC], ["updated_at", 2017-03-21 15:46:10 UTC]] +  (46.0ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.2ms) begin transaction +  (0.2ms) commit transaction + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) begin transaction + Fixture Delete (0.6ms) DELETE FROM "users" + Fixture Insert (0.2ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', '2017-03-21 15:46:10.841793', '2017-03-21 15:46:10.841793', 980190962) + Fixture Insert (0.2ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', '2017-03-21 15:46:10.841793', '2017-03-21 15:46:10.841793', 298486374) +  (82.6ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------- +UsersControllerTest: test_should_get_edit +----------------------------------------- + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +Started GET "/users/980190962/edit" for 127.0.0.1 at 2017-03-21 22:46:11 +0700 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"980190962"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] + Rendering users/edit.html.erb within layouts/application + Rendered users/_form.html.erb (95.1ms) + Rendered users/edit.html.erb within layouts/application (102.3ms) +Completed 500 Internal Server Error in 2750ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +-------------------------------------------- +UsersControllerTest: test_should_update_user +-------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +Started PATCH "/users/980190962" for 127.0.0.1 at 2017-03-21 22:46:14 +0700 +Processing by UsersController#update as HTML + Parameters: {"user"=>{"email"=>"MyString", "name"=>"MyString"}, "id"=>"980190962"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/users/980190962 +Completed 302 Found in 7ms (ActiveRecord: 0.5ms) +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +---------------------------------------- +UsersControllerTest: test_should_get_new +---------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +Started GET "/users/new" for 127.0.0.1 at 2017-03-21 22:46:14 +0700 +Processing by UsersController#new as HTML + Rendering users/new.html.erb within layouts/application + Rendered users/_form.html.erb (4.4ms) + Rendered users/new.html.erb within layouts/application (6.5ms) +Completed 500 Internal Server Error in 1734ms (ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------- +UsersControllerTest: test_should_destroy_user +--------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "users" +Started DELETE "/users/980190962" for 127.0.0.1 at 2017-03-21 22:46:16 +0700 +Processing by UsersController#destroy as HTML + Parameters: {"id"=>"980190962"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 980190962]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/users +Completed 302 Found in 6ms (ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "users" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------- +UsersControllerTest: test_should_create_user +-------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "users" +Started POST "/users" for 127.0.0.1 at 2017-03-21 22:46:16 +0700 +Processing by UsersController#create as HTML + Parameters: {"user"=>{"email"=>"MyString", "name"=>"MyString"}} +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "MyString"], ["email", "MyString"], ["created_at", 2017-03-21 15:46:16 UTC], ["updated_at", 2017-03-21 15:46:16 UTC]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/users/980190963 +Completed 302 Found in 6ms (ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM "users" + User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT ? [["LIMIT", 1]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------ +UsersControllerTest: test_should_get_index +------------------------------------------ + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +Started GET "/users" for 127.0.0.1 at 2017-03-21 22:46:16 +0700 +Processing by UsersController#index as HTML + Rendering users/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb within layouts/application (3.9ms) +Completed 500 Internal Server Error in 1740ms (ActiveRecord: 0.3ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------ +UsersControllerTest: test_should_show_user +------------------------------------------ + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] +Started GET "/users/980190962" for 127.0.0.1 at 2017-03-21 22:46:18 +0700 +Processing by UsersController#show as HTML + Parameters: {"id"=>"980190962"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] + Rendering users/show.html.erb within layouts/application + Rendered users/show.html.erb within layouts/application (1.8ms) +Completed 500 Internal Server Error in 1804ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------ +StaticPagesControllerTest: test_should_get_about +------------------------------------------------ +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +StaticPagesControllerTest: test_should_get_help +----------------------------------------------- +Started GET "/static_pages/help" for 127.0.0.1 at 2017-03-21 22:46:20 +0700 +Processing by StaticPagesController#help as HTML + Rendering static_pages/help.html.erb within layouts/application + Rendered static_pages/help.html.erb within layouts/application (0.9ms) +Completed 500 Internal Server Error in 1766ms (ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +StaticPagesControllerTest: test_should_get_home +----------------------------------------------- +Started GET "/static_pages/home" for 127.0.0.1 at 2017-03-21 22:46:21 +0700 +Processing by StaticPagesController#home as HTML + Rendering static_pages/home.html.erb within layouts/application + Rendered static_pages/home.html.erb within layouts/application (0.8ms) +Completed 500 Internal Server Error in 1766ms (ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" diff --git a/test/controllers/static_pages_controller_test.rb b/test/controllers/static_pages_controller_test.rb new file mode 100644 index 0000000..df42f2f --- /dev/null +++ b/test/controllers/static_pages_controller_test.rb @@ -0,0 +1,29 @@ +require 'test_helper' + +class StaticPagesControllerTest < ActionDispatch::IntegrationTest + + test "should get home" do + get root_path + assert_response :success + assert_select "title", "Ruby on Rails Tutorial Sample App" + end + + test "should get help" do + get help_path + assert_response :success + assert_select "title", "Help | Ruby on Rails Tutorial Sample App" + end + + test "should get about" do + get about_path + assert_response :success + assert_select "title", "About | Ruby on Rails Tutorial Sample App" + end + + test "should get contact" do + get contact_path + assert_response :success + assert_select "title", "Contact | Ruby on Rails Tutorial Sample App" + end +end + diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb index f45042b..823fb43 100644 --- a/test/controllers/users_controller_test.rb +++ b/test/controllers/users_controller_test.rb @@ -1,48 +1,9 @@ require 'test_helper' class UsersControllerTest < ActionDispatch::IntegrationTest - setup do - @user = users(:one) - end - - test "should get index" do - get users_url - assert_response :success - end test "should get new" do - get new_user_url - assert_response :success - end - - test "should create user" do - assert_difference('User.count') do - post users_url, params: { user: { email: @user.email, name: @user.name } } - end - - assert_redirected_to user_url(User.last) - end - - test "should show user" do - get user_url(@user) + get signup_path assert_response :success end - - test "should get edit" do - get edit_user_url(@user) - assert_response :success - end - - test "should update user" do - patch user_url(@user), params: { user: { email: @user.email, name: @user.name } } - assert_redirected_to user_url(@user) - end - - test "should destroy user" do - assert_difference('User.count', -1) do - delete user_url(@user) - end - - assert_redirected_to users_url - end -end +end \ No newline at end of file diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb new file mode 100644 index 0000000..42a3df9 --- /dev/null +++ b/test/helpers/application_helper_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class ApplicationHelperTest < ActionView::TestCase + test "full title helper" do + assert_equal full_title, FILL_IN + assert_equal full_title("Help"), FILL_IN + end +end \ No newline at end of file diff --git a/test/integration/site_layout_test.rb b/test/integration/site_layout_test.rb new file mode 100644 index 0000000..d903316 --- /dev/null +++ b/test/integration/site_layout_test.rb @@ -0,0 +1,15 @@ +require 'test_helper' + +class SiteLayoutTest < ActionDispatch::IntegrationTest + + test "layout links" do + get root_path + assert_template 'static_pages/home' + assert_select "a[href=?]", root_path, count: 2 + assert_select "a[href=?]", help_path + assert_select "a[href=?]", about_path + assert_select "a[href=?]", contact_path + get contact_path + assert_select "title", full_title("Contact") + end +end \ No newline at end of file diff --git a/test/models/user_test.rb b/test/models/user_test.rb index 82f61e0..342ee64 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -1,7 +1,66 @@ require 'test_helper' class UserTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end + + def setup + @user = User.new(name: "Example User", email: "user@example.com", + password: "foobar", password_confirmation: "foobar" + end + + test "should be valid" do + assert @user.valid? + end + + test "name should be present" do + @user.name = "a" * 51 + assert_not @user.valid? + end + + test "email should be present" do + @user.email = "a" * 244 + "@example.com" + assert_not @user.valid? + end + + test "email validation should accept valid addresses" do + valid_addresses = %w[user@example.com USER@foo.COM A_US-ER@foo.bar.org + first.last@foo.jp alice+bob@baz.cn] + valid_addresses.each do |valid_address| + @user.email = valid_address + assert @user.valid?, "#{valid_address.inspect} should be valid" + end + end + + test "email validation should reject invalid addresses" do + invalid_addresses = %w[user@example,com user_at_foo.org user.name@example. + foo@bar_baz.com foo@bar+baz.com] + invalid_addresses.each do |invalid_address| + @user.email = invalid_address + assert_not @user.valid?, "#{invalid_address.inspect} should be invalid" + end + end + + test "email addresses should be unique" do + duplicate_user = @user.dup + duplicate_user.email = @user.email.upcase + @user.save + assert_not duplicate_user.valid? + end + + test "email addresses should be saved as lower-case" do + mixed_case_email = "Foo@ExAMPle.CoM" + @user.email = mixed_case_email + @user.save + assert_equal mixed_case_email.downcase, @user.reload.email + end + + test "password should be present (nonblank)" do + @user.password = @user.password_confirmation = " " * 6 + assert_not @user.valid? + end + + test "password should have a minimum length" do + @user.password = @user.password_confirmation = "a" * 5 + assert_not @user.valid? + end + +end \ No newline at end of file diff --git a/test/test_helper.rb b/test/test_helper.rb index 92e39b2..6ad01ad 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,10 +1,13 @@ ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' +require "minitest/reporters" +Minitest::Reporters.use! class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. fixtures :all + include ApplicationHelper # Add more helper methods to be used by all tests here... -end +end \ No newline at end of file