Skip to content

Commit

Permalink
fixing input forms with action_text css
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasConnolly committed Aug 2, 2023
1 parent f50e54c commit fc99759
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
Rails.application.config.assets.precompile += %w( "/assets/actiontext.css")
106 changes: 106 additions & 0 deletions log/development.log
Original file line number Diff line number Diff line change
Expand Up @@ -1483,3 +1483,109 @@ Completed 200 OK in 19ms (Views: 11.4ms | ActiveRecord: 1.3ms | Allocations: 632
↳ lib/tasks/update_usernames.rake:11:in `block (3 levels) in <top (required)>'
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."last_name" = $1 [["last_name", "O'Connell"]]
Started GET "/posts/" for 127.0.0.1 at 2023-08-02 11:23:50 -0400
ActiveRecord::SchemaMigration Pluck (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by PostsController#index as HTML
Rendering layout layouts/application.html.erb
Rendering posts/index.html.erb within layouts/application
Post Load (0.8ms) SELECT "posts".* FROM "posts" ORDER BY created_at DESC
↳ app/views/posts/index.html.erb:22
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:23
ActionText::RichText Load (1.1ms) SELECT "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 [["record_id", 142], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:24
Rendered /usr/share/rvm/gems/ruby-3.2.2/gems/actiontext-7.0.6/app/views/action_text/contents/_content.html.erb within layouts/action_text/contents/_content (Duration: 1.2ms | Allocations: 669)
Comment Count (1.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."commentable_id" = $1 AND "comments"."commentable_type" = $2 [["commentable_id", 142], ["commentable_type", "Post"]]
↳ app/views/posts/index.html.erb:26
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:23
ActionText::RichText Load (0.2ms) SELECT "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 [["record_id", 141], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:24
Rendered /usr/share/rvm/gems/ruby-3.2.2/gems/actiontext-7.0.6/app/views/action_text/contents/_content.html.erb within layouts/action_text/contents/_content (Duration: 0.7ms | Allocations: 280)
Comment Count (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."commentable_id" = $1 AND "comments"."commentable_type" = $2 [["commentable_id", 141], ["commentable_type", "Post"]]
↳ app/views/posts/index.html.erb:26
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:23
ActionText::RichText Load (0.2ms) SELECT "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 [["record_id", 140], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:24
Rendered /usr/share/rvm/gems/ruby-3.2.2/gems/actiontext-7.0.6/app/views/action_text/contents/_content.html.erb within layouts/action_text/contents/_content (Duration: 0.5ms | Allocations: 280)
Comment Count (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."commentable_id" = $1 AND "comments"."commentable_type" = $2 [["commentable_id", 140], ["commentable_type", "Post"]]
↳ app/views/posts/index.html.erb:26
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:23
ActionText::RichText Load (0.2ms) SELECT "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 [["record_id", 139], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:24
Rendered /usr/share/rvm/gems/ruby-3.2.2/gems/actiontext-7.0.6/app/views/action_text/contents/_content.html.erb within layouts/action_text/contents/_content (Duration: 0.3ms | Allocations: 280)
Comment Count (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."commentable_id" = $1 AND "comments"."commentable_type" = $2 [["commentable_id", 139], ["commentable_type", "Post"]]
↳ app/views/posts/index.html.erb:26
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:23
ActionText::RichText Load (0.1ms) SELECT "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 [["record_id", 138], ["record_type", "Post"], ["name", "content"], ["LIMIT", 1]]
↳ app/views/posts/index.html.erb:24
Rendered /usr/share/rvm/gems/ruby-3.2.2/gems/actiontext-7.0.6/app/views/action_text/contents/_content.html.erb within layouts/action_text/contents/_content (Duration: 0.4ms | Allocations: 494)
Comment Count (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."commentable_id" = $1 AND "comments"."commentable_type" = $2 [["commentable_id", 138], ["commentable_type", "Post"]]
↳ app/views/posts/index.html.erb:26
Member Load (1.3ms) SELECT "members".* FROM "members" WHERE (to_char("birthday", 'MMDD') BETWEEN '0730' AND '0805') ORDER BY "members"."yday" ASC
↳ app/views/members/_birthdays.html.erb:3
Rendered members/_birthdays.html.erb (Duration: 12.0ms | Allocations: 7053)
Anniversary Load (0.7ms) SELECT "anniversaries".* FROM "anniversaries" WHERE (to_char("marriage", 'MMDD') BETWEEN '0726' AND '0809') ORDER BY "anniversaries"."marriage" ASC
↳ app/views/anniversaries/_anniversaries.html.erb:3
Rendered anniversaries/_anniversaries.html.erb (Duration: 7.6ms | Allocations: 4557)
PrayFor Load (0.5ms) SELECT "pray_fors".* FROM "pray_fors"
↳ app/views/posts/index.html.erb:59
Rendered posts/index.html.erb within layouts/application (Duration: 100.8ms | Allocations: 68702)
Rendered layouts/_header.html.erb (Duration: 9.9ms | Allocations: 6429)
Rendered layouts/_navbar.html.erb (Duration: 1.6ms | Allocations: 1752)
Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 226)
Rendered layout layouts/application.html.erb (Duration: 114.7ms | Allocations: 78475)
Completed 200 OK in 232ms (Views: 99.2ms | ActiveRecord: 22.8ms | Allocations: 158706)


Started GET "/posts/new" for 127.0.0.1 at 2023-08-02 11:23:52 -0400
Processing by PostsController#new as HTML
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 355)


Started GET "/sign_in" for 127.0.0.1 at 2023-08-02 11:23:52 -0400
Processing by SessionsController#new as HTML
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 892)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 6.3ms | Allocations: 4096)
Rendered layouts/_header.html.erb (Duration: 0.8ms | Allocations: 1069)
Rendered layouts/_navbar.html.erb (Duration: 0.8ms | Allocations: 1023)
Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 82)
Rendered layout layouts/application.html.erb (Duration: 8.5ms | Allocations: 6804)
Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms | Allocations: 9210)


Started POST "/sign_in" for 127.0.0.1 at 2023-08-02 11:23:58 -0400
Processing by SessionsController#create as TURBO_STREAM
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"login"=>"Thomas Connolly", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE (lower(username) = 'thomas connolly' OR lower(email) = 'thomas connolly') ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
↳ app/models/user.rb:97:in `find_for_database_authentication'
TRANSACTION (0.2ms) BEGIN
User Update (0.3ms) UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "updated_at" = $4 WHERE "users"."id" = $5 [["sign_in_count", 687], ["current_sign_in_at", "2023-08-02 15:23:58.100491"], ["last_sign_in_at", "2023-07-30 21:33:53.480892"], ["updated_at", "2023-08-02 15:23:58.100866"], ["id", 16]]
Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."user_id" = $1 LIMIT $2 [["user_id", 16], ["LIMIT", 1]]
↳ app/models/user.rb:85:in `add_profile'
TRANSACTION (0.6ms) COMMIT
Redirected to http://localhost:5000/posts/new
Completed 303 See Other in 70ms (ActiveRecord: 4.1ms | Allocations: 22310)


Started GET "/posts/new" for 127.0.0.1 at 2023-08-02 11:23:58 -0400
Processing by PostsController#new as TURBO_STREAM
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 16], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering posts/new.html.erb within layouts/application
Rendered posts/_form.html.erb (Duration: 25.2ms | Allocations: 11493)
Rendered posts/new.html.erb within layouts/application (Duration: 26.0ms | Allocations: 11739)
Rendered layouts/_header.html.erb (Duration: 0.9ms | Allocations: 1043)
Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."user_id" = $1 LIMIT $2 [["user_id", 16], ["LIMIT", 1]]
↳ app/views/layouts/_navbar.html.erb:8
Rendered layouts/_navbar.html.erb (Duration: 2.1ms | Allocations: 1936)
Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 78)
Rendered layout layouts/application.html.erb (Duration: 29.9ms | Allocations: 15271)
Completed 200 OK in 33ms (Views: 30.0ms | ActiveRecord: 0.5ms | Allocations: 17147)


0 comments on commit fc99759

Please sign in to comment.