Skip to content

Instantly share code, notes, and snippets.

@pita5
Created February 1, 2013 21:19
Show Gist options
  • Select an option

  • Save pita5/4694220 to your computer and use it in GitHub Desktop.

Select an option

Save pita5/4694220 to your computer and use it in GitHub Desktop.
event [#<Event id: 1, user_id: 1, expireTime: "2013-02-01 22:06:37", created_at: "2013-02-01 20:59:57", updated_at: "2013-02-01 20:59:57">]
Started GET "/api/delegates/show/1" for 127.0.0.1 at 2013-02-01 21:17:51 +0000
Processing by Api::DelegatesController#show as */*
Parameters: {"id"=>"1"}
Delegate Load (0.1ms) SELECT "delegates".* FROM "delegates" WHERE "delegates"."event_id" = 1 AND "delegates"."passcode" = '1234' LIMIT 1
Event Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."id" = 1
Completed 500 Internal Server Error in 20ms
NoMethodError - undefined method `expireTime' for #<ActiveRecord::Relation:0x007ff30555f050>:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment