Started GET "/" for 127.0.0.1 at 2012-11-27 06:40:20 +0000
Processing by MainController#index as HTML
User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (1.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login" = '2006101' LIMIT 1
Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE ("roles".user_id = 1)
Rendered main/index.html.erb within layouts/application (83.3ms)
Completed 200 OK in 225ms (Views: 87.3ms | ActiveRecord: 8.3ms)
Это работа гема declarative_authorization. Он отвечает за то, какие из 19 ссылок показывать пользователю. Без переписывания его к ебеням оптимизировать это невозможно.
@Crazy_Owl: сочнейшая РУБИБОЛЬ
and @gelraen
нужно просто вставить слой кеширования. // ппц ты ретроград, не ценишь расширяемость, только и можешь что КОКОКОКОКОК ПЕРЕПИСАТЬ К ХУЯМ КОКОКОКОКОК ТОРМОЗИТ КОКОКОКОКОК