Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 我可以在rails应用程序中将引导3更改为引导4吗?_Ruby On Rails_Ruby_Twitter Bootstrap_Twitter Bootstrap 3_Bootstrap 4 - Fatal编程技术网

Ruby on rails 我可以在rails应用程序中将引导3更改为引导4吗?

Ruby on rails 我可以在rails应用程序中将引导3更改为引导4吗?,ruby-on-rails,ruby,twitter-bootstrap,twitter-bootstrap-3,bootstrap-4,Ruby On Rails,Ruby,Twitter Bootstrap,Twitter Bootstrap 3,Bootstrap 4,我在我的项目中使用了bootstrap3(bootstrapsasgem)。但是我想把它改成第四个引导(gem'bootstrap')。我将行gem'bootstrap sass'、“~>3.4.1”更改为gem'bootstrap'、“~>4.4.1”,并执行捆绑安装。 当我打开网站时,我收到一个错误,很抱歉,出现了一些问题。。 引导代码3能否在引导代码4上正常工作 我将application.html.erb和index.html.erb中的所有代码都更改为simpleHello 但我还是犯

我在我的项目中使用了bootstrap3(bootstrapsasgem)。但是我想把它改成第四个引导(gem'bootstrap')。我将行
gem'bootstrap sass'、“~>3.4.1”
更改为
gem'bootstrap'、“~>4.4.1”
,并执行
捆绑安装。
当我打开网站时,我收到一个错误,很抱歉,出现了一些问题。
。 引导代码3能否在引导代码4上正常工作

我将
application.html.erb
index.html.erb
中的所有代码都更改为simple
Hello


但我还是犯了同样的错误

日志:


错误实际上说明了什么?在生产模式下运行时,rails的默认错误消息是“哎哟,出了问题”。我们(StackOverflow成员)不可能诊断您的问题,至少看不到错误的实际含义。作为开发人员,您需要学习如何使用日志。请创建一个。
Processing by PostsController#index as HTML
  Rendering posts/index.html.erb within layouts/application
  [1m[36mPost Load (0.6ms)[0m  [1m[34mSELECT "posts".* FROM "posts" ORDER BY created_at DESC[0m
  ↳ app/views/posts/index.html.erb:4
  [1m[36mAuthor Load (0.7ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (1.4ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 42], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 42]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.4ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 42], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 1.2ms | Allocations: 362)
  [1m[36mActiveStorage::Attachment Load (0.4ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 42], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 41], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 41]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.3ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 41], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.6ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.5ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 41], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.6ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 40], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 40]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.7ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 40], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 1.4ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 40], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.8ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 39], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 39]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.4ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 39], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.6ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.5ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 39], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 38], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 38]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.5ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 38], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 3.4ms | Allocations: 744)
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 38], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.9ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 37], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 37]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.5ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 37], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 4.0ms | Allocations: 744)
  [1m[36mActiveStorage::Attachment Load (0.2ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 37], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 24], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (2.3ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 24]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.4ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 24], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 1.8ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 24], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 23], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (1.0ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 23]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.9ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 23], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.8ms | Allocations: 255)
  [1m[36mActiveStorage::Attachment Load (0.6ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 23], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 21], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 21]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.2ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 21], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 1.0ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (1.8ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 21], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 20], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 20]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.4ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 20], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.9ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 20], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 13], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 13]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.3ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 13], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.9ms | Allocations: 256)
  [1m[36mActiveStorage::Attachment Load (0.5ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 13], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.1ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 12], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 12]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.3ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 12], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  Rendered /home/vyacheslav/.rvm/gems/ruby-2.6.3/gems/actiontext-6.0.1/app/views/action_text/content/_layout.html.erb (Duration: 0.6ms | Allocations: 253)
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 12], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mAuthor Load (0.6ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 2], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.7ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 3], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.5ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 3]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.2ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 3], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 3], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  [1m[36mCACHE Author Load (0.0ms)[0m  [1m[34mSELECT "authors".* FROM "authors" WHERE "authors"."id" = $1 LIMIT $2[0m  [["id", 2], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:7
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(DISTINCT "impressions"."ip_address") FROM "impressions" WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2[0m  [["impressionable_id", 2], ["impressionable_type", "Post"]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[35m (0.4ms)[0m  [1m[34mSELECT COUNT(*) FROM "comments" WHERE "comments"."post_id" = $1[0m  [["post_id", 2]]
  ↳ app/views/posts/_post.html.erb:8
  [1m[36mActionText::RichText Load (0.5ms)[0m  [1m[34mSELECT "action_text_rich_texts".* FROM "action_text_rich_texts" WHERE "action_text_rich_texts"."record_id" = $1 AND "action_text_rich_texts"."record_type" = $2 AND "action_text_rich_texts"."name" = $3 LIMIT $4[0m  [["record_id", 2], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:21
  [1m[36mActiveStorage::Attachment Load (0.3ms)[0m  [1m[34mSELECT "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[0m  [["record_id", 2], ["record_type", "Post"], ["name", "picture"], ["LIMIT", 1]]
  ↳ app/views/posts/_post.html.erb:22
  Rendered collection of posts/_post.html.erb [14 times] (Duration: 340.3ms | Allocations: 73088)
  Rendered posts/index.html.erb within layouts/application (Duration: 346.1ms | Allocations: 74231)
Completed 500 Internal Server Error in 417ms (ActiveRecord: 33.2ms | Allocations: 141446)