Started GET "/" for ::1 at 2015-02-05 14:36:13 +0800 Processing by Rails::WelcomeController#index as HTML Rendered /Users/tonytonyjan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/templates/rails/welcome/index.html.erb (9.0ms) Completed 200 OK in 41ms (Views: 40.9ms | ActiveRecord: 0.0ms)  (41.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBooks (20150205063647)  (0.1ms) BEGIN  (30.7ms) CREATE TABLE "books" ("id" serial primary key, "name" character varying, "desc" text, "publish_at" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150205063647"]]  (5.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'books' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  Started GET "/admin/books" for ::1 at 2015-02-05 14:37:07 +0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Admin::BooksController#index as HTML Admin::Book Load (0.4ms) SELECT "books".* FROM "books" Rendered admin/books/index.html.erb within layouts/admin (9.5ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (couldn't find file 'jquery' (in /Users/tonytonyjan/Dropbox/codes/admin_scaffold/test/dummy/app/assets/javascripts/admin.js:1)): 3: 4: Dummy 5: <%= stylesheet_link_tag 'admin', media: 'all', 'data-turbolinks-track' => true %> 6: <%= javascript_include_tag 'admin', 'data-turbolinks-track' => true %> 7: <%= csrf_meta_tags %> 8: 9: app/views/layouts/admin.html.erb:6:in `_app_views_layouts_admin_html_erb__2541683043626602486_70258927765140' Rendered /Users/tonytonyjan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/tonytonyjan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/tonytonyjan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/tonytonyjan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.2ms) Started GET "/admin/books" for ::1 at 2015-02-05 14:41:36 +0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Admin::BooksController#index as HTML Admin::Book Load (0.3ms) SELECT "books".* FROM "books" Rendered admin/books/index.html.erb within layouts/admin (2.7ms) Completed 200 OK in 1096ms (Views: 1082.2ms | ActiveRecord: 1.6ms) Started GET "/assets/admin/books-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/admin-f118f54045b141205aff0f0dd20f7edf.css?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/admin/books-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/admin-12cb632ca84996e1600655a3ad1827a0.js?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/assets/turbolinks-da8ddad9c2c5483d4c5c30c1ce325253.js?body=1" for ::1 at 2015-02-05 14:41:38 +0800 Started GET "/admin/books/new" for ::1 at 2015-02-05 14:41:42 +0800 Processing by Admin::BooksController#new as HTML Rendered admin/books/_form.html.erb (35.3ms) Rendered admin/books/new.html.erb within layouts/admin (41.1ms) Completed 200 OK in 72ms (Views: 62.2ms | ActiveRecord: 2.3ms) Started POST "/admin/books" for ::1 at 2015-02-05 14:41:50 +0800 Processing by Admin::BooksController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2GV0N7AnuggMouKctcvsAggi2KMkXy21FKmdiFvXQjhyJYP4Dn9VOmRpJL4DQmMOnXE8y/PZnbjCCfFqbgZcng==", "admin_book"=>{"name"=>"Hello", "desc"=>"asdfasdf", "publish_at(1i)"=>"2015", "publish_at(2i)"=>"2", "publish_at(3i)"=>"5"}, "commit"=>"Create Book"}  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "books" ("name", "desc", "publish_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Hello"], ["desc", "asdfasdf"], ["publish_at", "2015-02-05"], ["created_at", "2015-02-05 06:41:50.874613"], ["updated_at", "2015-02-05 06:41:50.874613"]]  (6.2ms) COMMIT Redirected to http://localhost:3000/admin/books/1 Completed 302 Found in 15ms (ActiveRecord: 7.2ms) Started GET "/admin/books/1" for ::1 at 2015-02-05 14:41:50 +0800 Processing by Admin::BooksController#show as HTML Parameters: {"id"=>"1"} Admin::Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT 1 [["id", 1]] Rendered admin/books/show.html.erb within layouts/admin (1.9ms) Completed 200 OK in 36ms (Views: 25.7ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-05 14:41:51 +0800 Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-02-05 14:41:51 +0800 Started GET "/assets/turbolinks-da8ddad9c2c5483d4c5c30c1ce325253.js?body=1" for ::1 at 2015-02-05 14:41:51 +0800 Started GET "/admin/books" for ::1 at 2015-02-05 14:41:52 +0800 Processing by Admin::BooksController#index as HTML Admin::Book Load (0.3ms) SELECT "books".* FROM "books" Rendered admin/books/index.html.erb within layouts/admin (1.8ms) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.3ms)