R
R
railshello2014-07-16 23:47:07
Ruby on Rails
railshello, 2014-07-16 23:47:07

How to get rid of duplication of requests, rendering and other things?

From console:

...
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (11)
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users "."id" IN (11)
...
Rendered layouts/_footer.html.slim (0.1ms)
Rendered layouts/_footer.html.slim (0.1ms)
Completed 200 OK in 34ms (Views: 26.0ms | ActiveRecord: 2.2 ms)
Completed 200 OK in 34ms (Views: 26.0ms | ActiveRecord: 2.2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-16 23:39:05 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-16 23:39:05 +0300

how to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Borisovich, 2014-07-16
@Alexufo

Couldn't enable logging twice?)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question