Started POST "/api/game_memberships" for 127.0.0.1 at 2013-08-28 21:02:35 +1000
Processing by Api::GameMembershipsController#create as JSON
Parameters: {"game_membership"=>{"game_id"=>29, "user_id"=>22}}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
(0.3ms) BEGIN
SQL (0.6ms) INSERT INTO "game_memberships" ("created_at", "game_id", "updated_at", "user_id") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 11:02:35 UTC +00:00], ["game_id", 29], ["updated_at", Wed, 28 Aug 2013 11:02:35 UTC +00:00], ["user_id", 22]]
Game Load (0.4ms) SELECT "games".* FROM "games" WHERE "games"."id" = $1 ORDER BY "games"."id" ASC LIMIT 1 [["id", 29]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 22]]
GameInvitation Load (0.3ms) SELECT "game_invitations".* FROM "game_invitations" WHERE "game_invitations"."game_id" = 29 AND "game_invitations"."user_id" = 22
SQL (0.3ms) DELETE FROM "game_invitations" WHERE "game_invitations"."id" = $1 [["id", 3]]
(1.7ms) COMMIT
Completed 200 OK in 21ms (Views: 1.2ms | ActiveRecord: 4.2ms)
Started GET "/api/seasons/8" for 127.0.0.1 at 2013-08-28 21:02:35 +1000
ActionController::RoutingError (No route matches [GET] "/api/seasons/8"):
actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
On my local machine, using Chrome
Here's the server log:
Here's what I see: