Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- => Booting Puma
- => Rails 5.2.3 application starting in development
- => Run `rails server -h` for more startup options
- Puma starting in single mode...
- * Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
- * Min threads: 5, max threads: 5
- * Environment: development
- * Listening on tcp://localhost:3000
- Use Ctrl-C to stop
- Started GET "/admin/v1/users/current" for 127.0.0.1 at 2019-07-06 23:07:35 +0300
- (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- Processing by Admin::SessionsController#show as JSON
- Rendering admin/sessions/show.json.jbuilder
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
- ↳ app/views/admin/sessions/show.json.jbuilder:1
- JwtBlacklist Exists (0.4ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
- ↳ app/views/admin/sessions/show.json.jbuilder:1
- Rendered admin/sessions/show.json.jbuilder (11.5ms)
- Completed 200 OK in 13ms (Views: 8.0ms | ActiveRecord: 4.4ms)
- Started GET "/admin/v1/testimonials" for 127.0.0.1 at 2019-07-06 23:07:35 +0300
- Processing by Admin::TestimonialsController#index as JSON
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- JwtBlacklist Exists (0.1ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
- ↳ app/controllers/admin/testimonials_controller.rb:8
- Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.8ms)
- Started GET "/admin/v1/testimonials" for ::1 at 2019-07-06 23:07:35 +0300
- Processing by Admin::TestimonialsController#index as JSON
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- JwtBlacklist Exists (0.1ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
- ↳ app/controllers/admin/testimonials_controller.rb:8
- Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.8ms)
- Started GET "/admin/v1/testimonials" for ::1 at 2019-07-06 23:07:35 +0300
- Processing by Admin::TestimonialsController#index as JSON
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- JwtBlacklist Exists (0.2ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
- ↳ app/controllers/admin/testimonials_controller.rb:8
- Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.7ms)
- Started POST "/admin/v1/testimonials" for ::1 at 2019-07-06 23:08:16 +0300
- Processing by Admin::TestimonialsController#create as JSON
- Parameters: {"name"=>"zvfasdfasdf", "patronymic"=>"", "surname"=>"", "userpic"=>"", "company"=>"", "object_photo_1"=>#<ActionDispatch::Http::UploadedFile:0x000055ed10593938 @tempfile=#<Tempfile:/tmp/RackMultipart20190706-4149-b7uium.png>, @original_filename="map.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"object_photo_1\"; filename=\"map.png\"\r\nContent-Type: image/png\r\n">, "object_photo_2"=>"", "object_photo_3"=>"", "video"=>"", "text"=>"asdfasdf"}
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- JwtBlacklist Exists (0.3ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- Unpermitted parameter: :format
- Disk Storage (2.0ms) Uploaded file to key: xx4ycnsTNgLMAtrPMRAPQsP2 (checksum: OH5LyOEoHmCyVamDhfFvnA==)
- (0.1ms) BEGIN
- ↳ app/controllers/admin/testimonials_controller.rb:12
- ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["key", "xx4ycnsTNgLMAtrPMRAPQsP2"], ["filename", "map.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 983157], ["checksum", "OH5LyOEoHmCyVamDhfFvnA=="], ["created_at", "2019-07-06 20:08:16.823476"]]
- ↳ app/controllers/admin/testimonials_controller.rb:12
- (0.9ms) COMMIT
- ↳ app/controllers/admin/testimonials_controller.rb:12
- (0.1ms) BEGIN
- ↳ app/controllers/admin/testimonials_controller.rb:12
- (0.1ms) COMMIT
- ↳ app/controllers/admin/testimonials_controller.rb:12
- (0.0ms) BEGIN
- ↳ app/controllers/admin/testimonials_controller.rb:14
- Testimonial Create (0.2ms) INSERT INTO "testimonials" ("name", "patronymic", "surname", "userpic", "company", "object_photo_2", "object_photo_3", "video", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["name", "zvfasdfasdf"], ["patronymic", ""], ["surname", ""], ["userpic", ""], ["company", ""], ["object_photo_2", ""], ["object_photo_3", ""], ["video", ""], ["text", "asdfasdf"], ["created_at", "2019-07-06 20:08:16.830331"], ["updated_at", "2019-07-06 20:08:16.830331"]]
- ↳ app/controllers/admin/testimonials_controller.rb:14
- ActiveStorage::Attachment Create (0.4ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "object_photo_1"], ["record_type", "Testimonial"], ["record_id", 16], ["blob_id", 9], ["created_at", "2019-07-06 20:08:16.831583"]]
- ↳ app/controllers/admin/testimonials_controller.rb:14
- Testimonial Update (0.1ms) UPDATE "testimonials" SET "updated_at" = $1 WHERE "testimonials"."id" = $2 [["updated_at", "2019-07-06 20:08:16.832722"], ["id", 16]]
- ↳ app/controllers/admin/testimonials_controller.rb:14
- (0.8ms) COMMIT
- ↳ app/controllers/admin/testimonials_controller.rb:14
- [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) to Async(default) with arguments: #<GlobalID:0x000055ed109e1760 @uri=#<URI::GID gid://teplostroy-backend/ActiveStorage::Blob/9>>
- Testimonial Load (0.8ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials" WHERE "testimonials"."id" = $1 [["id", 16]]
- ↳ app/controllers/admin/testimonials_controller.rb:16
- ActiveStorage::Attachment Load (2.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 16], ["record_type", "Testimonial"], ["name", "object_photo_1"], ["LIMIT", 1]]
- ↳ app/controllers/admin/testimonials_controller.rb:16
- ActiveStorage::Blob Load (0.7ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
- ↳ app/controllers/admin/testimonials_controller.rb:16
- Completed 500 Internal Server Error in 136ms (ActiveRecord: 11.8ms)
- SystemStackError (stack level too deep):
- app/controllers/admin/testimonials_controller.rb:16:in `create'
- ActiveStorage::Blob Load (400.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
- ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Performing ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) from Async(default) with arguments: #<GlobalID:0x000055ed0fd0c418 @uri=#<URI::GID gid://teplostroy-backend/ActiveStorage::Blob/9>>
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Disk Storage (404.2ms) Downloaded file from key: xx4ycnsTNgLMAtrPMRAPQsP2
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] (100.0ms) BEGIN
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ActiveStorage::Blob Update (199.7ms) UPDATE "active_storage_blobs" SET "metadata" = $1 WHERE "active_storage_blobs"."id" = $2 [["metadata", "{\"identified\":true,\"width\":2561,\"height\":1325,\"analyzed\":true}"], ["id", 9]]
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] (303.2ms) COMMIT
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
- [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Performed ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) from Async(default) in 4306.6ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement