This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/admin/admin_users" for 192.168.0.100 at 2012-11-27 19:17:31 +0530 | |
Processing by Admin::AdminUsersController#index as HTML | |
FB auth token is | |
device token is | |
AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1 | |
(1.7ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count | |
(1.0ms) SELECT COUNT(*) FROM "admin_users" | |
CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count | |
AdminUser Load (1.6ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 | |
Rendered /home/krishna/.rvm/gems/ruby-1.9.3-p194@ferrotec-trail/gems/activeadmin-0.5.0/app/views/active_admin/resource/index.html.arb (932.2ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please refactor following code. | |
# Please post your answer as a private gist. A private gist is a gist which anyone can access but in order to access one needs to know the u | |
# of the gist . | |
# | |
# I something is not clear then make a judgement and move forward. No need to ask a question to get clarification. This is | |
# just to speed things up. | |
# | |
# Controller | |
class People < ActionController::Base |
NewerOlder