spec/dummy/log/development.log in intro-0.2.0 vs spec/dummy/log/development.log in intro-0.3.0

- old
+ new

@@ -57565,5 +57565,129 @@ Parameters: {"controller_path"=>"home", "action_name"=>"index", "original_url"=>"http://localhost:3000/"}  (0.1ms) SELECT COUNT(*) FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "home"], ["action_name", "index"], ["published", "t"]] Intro::Tour Load (0.1ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "home"], ["action_name", "index"], ["published", "t"]]  (0.2ms) SELECT "intro_tour_histories"."tour_id" FROM "intro_tour_histories" WHERE "intro_tour_histories"."user_id" IS NULL AND "intro_tour_histories"."tour_id" = 2 AND (touch_count >= 1) Completed 200 OK in 7ms (Views: 0.5ms | ActiveRecord: 0.5ms) + + +Started GET "/" for ::1 at 2019-09-05 00:04:45 +0800 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by HomeController#index as HTML + Rendered home/index.html.erb within layouts/application (12.7ms) +Completed 200 OK in 338ms (Views: 337.8ms | ActiveRecord: 0.0ms) + + +Started GET "/intro/tours?controller_path=home&action_name=index&original_url=http%3A%2F%2Flocalhost%3A3000%2F" for ::1 at 2019-09-05 00:04:47 +0800 +Processing by Intro::ToursController#index as */* + Parameters: {"controller_path"=>"home", "action_name"=>"index", "original_url"=>"http://localhost:3000/"} +DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks. + +You can opt into the new behavior and remove this warning by setting: + + config.active_record.raise_in_transactional_callbacks = true + + (called from <class:Tour> at /home/jinhu/Repos/intro/app/models/intro/tour.rb:18) +  (0.2ms) SELECT COUNT(*) FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "home"], ["action_name", "index"], ["published", "t"]] + Intro::Tour Load (0.2ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "home"], ["action_name", "index"], ["published", "t"]] +  (0.1ms) SELECT "intro_tour_histories"."tour_id" FROM "intro_tour_histories" WHERE "intro_tour_histories"."user_id" IS NULL AND "intro_tour_histories"."tour_id" = 2 AND (touch_count >= 1) +Completed 200 OK in 72ms (Views: 0.6ms | ActiveRecord: 1.1ms) + + +Started GET "/intro/admin/tours" for ::1 at 2019-09-05 00:04:49 +0800 +Processing by Intro::Admin::ToursController#index as HTML +Redirected to http://localhost:3000/intro/admin/sessions/new +Filter chain halted as :authenticate rendered or redirected +Completed 302 Found in 5ms (ActiveRecord: 0.0ms) + + +Started GET "/intro/admin/sessions/new" for ::1 at 2019-09-05 00:04:49 +0800 +Processing by Intro::Admin::SessionsController#new as HTML + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/sessions/new.html.erb within layouts/intro/admin/application (4.9ms) +Completed 200 OK in 76ms (Views: 73.2ms | ActiveRecord: 0.0ms) + + +Started POST "/intro/admin/sessions" for ::1 at 2019-09-05 00:04:51 +0800 +Processing by Intro::Admin::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"gK6jG/BumI6SLbI6uaHij4q1w2pwcQ9swjwQEeFydjW2HmWN8sdZ01mD8pG/lnz579ybX8g5X+pDVd+8JFFjLA==", "username"=>"WRDkzl4", "password"=>"[FILTERED]", "button"=>""} +Redirected to http://localhost:3000/intro/admin/tours +Completed 302 Found in 3ms (ActiveRecord: 0.0ms) + + +Started GET "/intro/admin/tours" for ::1 at 2019-09-05 00:04:51 +0800 +Processing by Intro::Admin::ToursController#index as HTML + User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Intro::Tour Load (0.6ms) SELECT "intro_tours".* FROM "intro_tours" ORDER BY "intro_tours"."created_at" DESC LIMIT 15 OFFSET 0 + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_container.html.erb (55.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/index.html.erb within layouts/intro/admin/application (67.7ms) +Completed 200 OK in 110ms (Views: 104.7ms | ActiveRecord: 1.5ms) + + +Started GET "/intro/tours?controller_path=intro%2Fadmin%2Ftours&action_name=index&original_url=http%3A%2F%2Flocalhost%3A3000%2Fintro%2Fadmin%2Ftours" for ::1 at 2019-09-05 00:04:51 +0800 +Processing by Intro::ToursController#index as */* + Parameters: {"controller_path"=>"intro/admin/tours", "action_name"=>"index", "original_url"=>"http://localhost:3000/intro/admin/tours"} +  (0.1ms) SELECT COUNT(*) FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "index"], ["published", "t"]] + Intro::Tour Load (0.1ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "index"], ["published", "t"]] + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.2ms) SELECT "intro_tour_histories"."tour_id" FROM "intro_tour_histories" WHERE "intro_tour_histories"."user_id" = 1 AND 1=0 AND (touch_count >= 1) +Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.6ms) + + +Started GET "/intro/admin/tours/2/edit" for ::1 at 2019-09-05 00:05:10 +0800 +Processing by Intro::Admin::ToursController#edit as HTML + Parameters: {"id"=>"2"} + Intro::Tour Load (0.6ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.9ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_step.html.erb (6.8ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_step.html.erb (5.1ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_steps.html.erb (15.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_form.html.erb (34.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_container.html.erb (73.1ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/edit.html.erb within layouts/intro/admin/application (81.4ms) +Completed 200 OK in 111ms (Views: 101.3ms | ActiveRecord: 1.1ms) + + +Started GET "/intro/tours?controller_path=intro%2Fadmin%2Ftours&action_name=edit&original_url=http%3A%2F%2Flocalhost%3A3000%2Fintro%2Fadmin%2Ftours%2F2%2Fedit" for ::1 at 2019-09-05 00:05:10 +0800 +Processing by Intro::ToursController#index as */* + Parameters: {"controller_path"=>"intro/admin/tours", "action_name"=>"edit", "original_url"=>"http://localhost:3000/intro/admin/tours/2/edit"} +  (0.1ms) SELECT COUNT(*) FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "edit"], ["published", "t"]] + Intro::Tour Load (0.1ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "edit"], ["published", "t"]] + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.2ms) SELECT "intro_tour_histories"."tour_id" FROM "intro_tour_histories" WHERE "intro_tour_histories"."user_id" = 1 AND 1=0 AND (touch_count >= 1) +Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.6ms) + + +Started PATCH "/intro/admin/tours/2" for ::1 at 2019-09-05 00:05:14 +0800 +Processing by Intro::Admin::ToursController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z1wrsyrwrF7MBmAb8m4mpDuGNx3FfIK2IkUs5PLQ2RlR7O0lKFltAweoILD0WbjSXu9vKH000jCjLONJN/PMAA==", "tour"=>{"route"=>{"simple"=>"http://localhost:3000", "query"=>""}, "ident"=>"home#index-qar2y9", "controller_path"=>"home", "action_name"=>"index", "options"=>{"steps"=>[{"title_en"=>"brba", "title_zh-CN"=>"小明铜须爸爸", "content_en"=>"brabr fF bfb", "content_zh-CN"=>"小明铜须", "image_url"=>"", "image_width"=>"", "image_height"=>"", "image_placement"=>"top", "element"=>"", "placement"=>"top", "z_index"=>"99"}], "not_sign_visible"=>"1", "btn_visible"=>"1", "btn_complete_text_en"=>"", "btn_complete_text_zh-CN"=>"小明铜须", "btn_complete_link"=>""}, "expired_at"=>""}, "_"=>"en", "button"=>"", "id"=>"2"} + Intro::Tour Load (0.5ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."id" = ? LIMIT 1 [["id", 2]] +  (0.2ms) begin transaction + Intro::Tour Exists (0.3ms) SELECT 1 AS one FROM "intro_tours" WHERE ("intro_tours"."ident" = 'home#index-qar2y9' AND "intro_tours"."id" != 2) LIMIT 1 + SQL (0.4ms) UPDATE "intro_tours" SET "route" = ?, "updated_at" = ? WHERE "intro_tours"."id" = ? [["route", "--- !ruby/hash:ActionController::Parameters\nsimple: http://localhost:3000\nquery: ''\nstrict: false\n"], ["updated_at", "2019-09-04 16:05:14.658084"], ["id", 2]] +  (5.4ms) commit transaction + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_step.html.erb (3.5ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.4ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_step.html.erb (4.2ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_steps.html.erb (9.6ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_local_field.html.erb (0.3ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_form.html.erb (13.6ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/_container.html.erb (25.0ms) + Rendered /home/jinhu/Repos/intro/app/views/intro/admin/tours/edit.html.erb within layouts/intro/admin/application (26.9ms) +Completed 200 OK in 154ms (Views: 90.5ms | ActiveRecord: 7.0ms) + + +Started GET "/intro/tours?controller_path=intro%2Fadmin%2Ftours&action_name=update&original_url=http%3A%2F%2Flocalhost%3A3000%2Fintro%2Fadmin%2Ftours%2F2" for ::1 at 2019-09-05 00:05:14 +0800 +Processing by Intro::ToursController#index as */* + Parameters: {"controller_path"=>"intro/admin/tours", "action_name"=>"update", "original_url"=>"http://localhost:3000/intro/admin/tours/2"} +  (0.1ms) SELECT COUNT(*) FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "update"], ["published", "t"]] + Intro::Tour Load (0.1ms) SELECT "intro_tours".* FROM "intro_tours" WHERE "intro_tours"."controller_path" = ? AND "intro_tours"."action_name" = ? AND "intro_tours"."published" = ? [["controller_path", "intro/admin/tours"], ["action_name", "update"], ["published", "t"]] + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.3ms) SELECT "intro_tour_histories"."tour_id" FROM "intro_tour_histories" WHERE "intro_tour_histories"."user_id" = 1 AND 1=0 AND (touch_count >= 1) +Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.7ms)