Skip to content

Instantly share code, notes, and snippets.

@m4tm4t
Created December 8, 2012 20:38
Show Gist options
  • Save m4tm4t/4241818 to your computer and use it in GitHub Desktop.
Save m4tm4t/4241818 to your computer and use it in GitHub Desktop.
JS format is doing something with layout ??
#
# With layout
#
Started GET "/redaction/actus/3/assets?_=1355002463845" for ::ffff:192.168.0.254 at 2012-12-08 21:34:23 +0000
Processing by Redaction::AssetsController#index as JS
Parameters: {"_"=>"1355002463845", "actu_id"=>"3"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Actu Load (1.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."type" IN ('Actu') AND "articles"."id" = $1 LIMIT 1 [["id", "3"]]
Rendered redaction/assets/index.js.erb (0.1ms)
Completed 200 OK in 31ms (Views: 17.6ms | ActiveRecord: 2.3ms)
#
# layout set to false
#
Started GET "/redaction/actus/3/assets?_=1355002574654" for ::ffff:192.168.0.254 at 2012-12-08 21:36:14 +0000
Processing by Redaction::AssetsController#index as JS
Parameters: {"_"=>"1355002574654", "actu_id"=>"3"}
User Load (4.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Actu Load (2.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."type" IN ('Actu') AND "articles"."id" = $1 LIMIT 1 [["id", "3"]]
Rendered redaction/assets/index.js.erb (0.1ms)
Completed 200 OK in 20ms (Views: 6.6ms | ActiveRecord: 7.2ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment