Skip to content

Instantly share code, notes, and snippets.

@bjhaid
Created July 26, 2011 11:24
Show Gist options
  • Save bjhaid/1106526 to your computer and use it in GitHub Desktop.
Save bjhaid/1106526 to your computer and use it in GitHub Desktop.
routes.rb
match "/incomings?:incoming" => "incomings#create"
Started GET "/incomings/new?cid_number=7003&exten_number=5001" for 10.10.5.240 at 2011-07-26 12:22:32 +0100
Processing by IncomingsController#new as HTML
Parameters: {"cid_number"=>"7003", "exten_number"=>"5001"}
SQL (0.3ms) BEGIN
SQL (2.0ms) describe `incomings`
AREL (0.7ms) INSERT INTO `incomings` (`cid_number`, `exten_number`, `created_at`, `updated_at`, `exten_id`) VALUES ('7003', '5001', '2011-07-26 11:22:32', '2011-07-26 11:22:32', NULL)
SQL (51.6ms) COMMIT
Rendered incomings/new.html.erb within layouts/application (75.1ms)
Completed 200 OK in 337ms (Views: 95.1ms | ActiveRecord: 54.6ms)
Started POST "/incomings" for 10.10.5.96 at 2011-07-26 12:23:24 +0100
Processing by IncomingsController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HVN67+YYuii+1sdKyiADr+J7M3nwhop1b4hxHO7MpZY=", "incoming"=>{"exten_number"=>"7003", "cid_number"=>"5001", "exten_id"=>""}, "commit"=>"Send"}
Incoming Load (0.4ms) SELECT `incomings`.* FROM `incomings` ORDER BY incomings.id DESC LIMIT 1
CACHE (0.0ms) SELECT `incomings`.* FROM `incomings` ORDER BY incomings.id DESC LIMIT 1
Rendered incomings/create.js.erb (8.5ms)
Completed 200 OK in 221ms (Views: 52.0ms | ActiveRecord: 0.4ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment