Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.0
   (1.3ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.2ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.2ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.5ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1f5405c8bdd86bbdf22bca009f170b24ab0daa3afc38e8018221ab92ccb1ba7f' LIMIT 1
  SQL (1.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 1"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f156fe74a593de62a5cbdcdbabb0a110c83965726130925ec2e28e824a42d01f"], ["uid", "1f5405c8bdd86bbdf22bca009f170b24ab0daa3afc38e8018221ab92ccb1ba7f"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1f5405c8bdd86bbdf22bca009f170b24ab0daa3afc38e8018221ab92ccb1ba7f' AND "oauth_applications"."secret" = 'f156fe74a593de62a5cbdcdbabb0a110c83965726130925ec2e28e824a42d01f' LIMIT 1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '50289a2416fb4d585b4fd4404099483d94f4e3f88a6e6974a97294596e964fa4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 2"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "38574247240b6fe62fa740f9f733b328fee4804671db8f27f15d12b967067f09"], ["uid", "50289a2416fb4d585b4fd4404099483d94f4e3f88a6e6974a97294596e964fa4"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6b49adca70395d68474748955f6f333ccc28918475ec58697dd5f2a65c75ff59' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "6b49adca70395d68474748955f6f333ccc28918475ec58697dd5f2a65c75ff59"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '50289a2416fb4d585b4fd4404099483d94f4e3f88a6e6974a97294596e964fa4' AND "oauth_applications"."secret" = '38574247240b6fe62fa740f9f733b328fee4804671db8f27f15d12b967067f09' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e813b829d5b1e4763f5a0c495b67a5bd2d3d214999ac7ea8d55bf10a40883015' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "e813b829d5b1e4763f5a0c495b67a5bd2d3d214999ac7ea8d55bf10a40883015"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '99761c05e1f446989868d34651c2196e9ed4319a2149779f0f5d533aa944182e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 3"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "73bdc2584dcfcc205c7d76768c064bcd3dde30c7fcbba19cc19386cd3e4e3789"], ["uid", "99761c05e1f446989868d34651c2196e9ed4319a2149779f0f5d533aa944182e"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '99761c05e1f446989868d34651c2196e9ed4319a2149779f0f5d533aa944182e' AND "oauth_applications"."secret" = '73bdc2584dcfcc205c7d76768c064bcd3dde30c7fcbba19cc19386cd3e4e3789' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'aa1825e607af0399614c61ce9c8aaa693df029c659aea9e5974fd679fab2768e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "aa1825e607af0399614c61ce9c8aaa693df029c659aea9e5974fd679fab2768e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'da7c9e964cdf12fb1dda94b18c17537f3bfa893fb8d0c70efd0051a5c54ea621' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 4"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "814fb736577e97ed4c734529e9d0b2ff45379322fa8277d072aa5f3e1bb15682"], ["uid", "da7c9e964cdf12fb1dda94b18c17537f3bfa893fb8d0c70efd0051a5c54ea621"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'da7c9e964cdf12fb1dda94b18c17537f3bfa893fb8d0c70efd0051a5c54ea621' AND "oauth_applications"."secret" = '814fb736577e97ed4c734529e9d0b2ff45379322fa8277d072aa5f3e1bb15682' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4c0d8a53f83e9456f7ddb908af2359571aab2c041580f4b421aa8e29aeba28d3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 5"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "57939417a5531e7d3b43d20c6d53e0ace751a97f2b910243186d1f4eae908cf5"], ["uid", "4c0d8a53f83e9456f7ddb908af2359571aab2c041580f4b421aa8e29aeba28d3"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4c0d8a53f83e9456f7ddb908af2359571aab2c041580f4b421aa8e29aeba28d3' AND "oauth_applications"."secret" = '57939417a5531e7d3b43d20c6d53e0ace751a97f2b910243186d1f4eae908cf5' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ae7ead21cbd5ff2daf6a4de072b842372777f3d31268082fb18328d775414a74' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "ae7ead21cbd5ff2daf6a4de072b842372777f3d31268082fb18328d775414a74"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ede72ed7a680305201fc293895443e9dc91bf48d46b18871423e4126cffbbfed' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 6"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e795d5de775f6f6c443d350d7ad67a03d102930cdb95a63c07421712dd38b77"], ["uid", "ede72ed7a680305201fc293895443e9dc91bf48d46b18871423e4126cffbbfed"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8b50de7642c22646d53a80802d6ca66388cbbdcc800c700e765d591c9f2d6233' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "8b50de7642c22646d53a80802d6ca66388cbbdcc800c700e765d591c9f2d6233"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ede72ed7a680305201fc293895443e9dc91bf48d46b18871423e4126cffbbfed' AND "oauth_applications"."secret" = '3e795d5de775f6f6c443d350d7ad67a03d102930cdb95a63c07421712dd38b77' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 99 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2a90589d24433065cd7938f8efb420ba4c29522836f8e38e67665451dd2d0f6c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 7"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "130f1987b09866e0cdcc241d2bf6d5a18702e872bc55ba78649100e4acca5686"], ["uid", "2a90589d24433065cd7938f8efb420ba4c29522836f8e38e67665451dd2d0f6c"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2a90589d24433065cd7938f8efb420ba4c29522836f8e38e67665451dd2d0f6c' AND "oauth_applications"."secret" = '130f1987b09866e0cdcc241d2bf6d5a18702e872bc55ba78649100e4acca5686' LIMIT 1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fdbab05bb961475068d9cbf1be68fc5b6ff52cb15e2b4fa5c7c1b9207b9dc1b1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 8"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8ec7d76a837ba1b9d68945e87e6abc69aed2fda36a364fb455ced0e1ddd6f327"], ["uid", "fdbab05bb961475068d9cbf1be68fc5b6ff52cb15e2b4fa5c7c1b9207b9dc1b1"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fdbab05bb961475068d9cbf1be68fc5b6ff52cb15e2b4fa5c7c1b9207b9dc1b1' AND "oauth_applications"."secret" = '8ec7d76a837ba1b9d68945e87e6abc69aed2fda36a364fb455ced0e1ddd6f327' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e02412337d00b734be1bb0aed3e1475be5b51357f2889ee277efba215659f647' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 9"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "faf9238096ee704913af52cab00e6ddf78f3ad88530faecf406a5b1cf3191be3"], ["uid", "e02412337d00b734be1bb0aed3e1475be5b51357f2889ee277efba215659f647"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e02412337d00b734be1bb0aed3e1475be5b51357f2889ee277efba215659f647' AND "oauth_applications"."secret" = 'faf9238096ee704913af52cab00e6ddf78f3ad88530faecf406a5b1cf3191be3' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '690c64e6a6409abc7bb3d27d2f60ed4d790b46b84bf302267043fd3aba5fe374' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", "public"], ["token", "690c64e6a6409abc7bb3d27d2f60ed4d790b46b84bf302267043fd3aba5fe374"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a86e72445939088ade25265697407979f6b5b5101e78fae413915c670f3bb678' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 10"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fd5cec9fcd4cea8375dc3a5e8bf8325a1d3b91ca8fa2b17dba59987edc0e1fab"], ["uid", "a86e72445939088ade25265697407979f6b5b5101e78fae413915c670f3bb678"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4d589d6cc6fcccd5d0d145978044b364e42b57f502c9e42c38fb4a8748417987' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public"], ["token", "4d589d6cc6fcccd5d0d145978044b364e42b57f502c9e42c38fb4a8748417987"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8d7b3aeb1899127b301b548e0a99aefac0b1eff52ad80eb3469c1b152b95d0ae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 11"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "902ded738cf7b8a16e7d5f151b9dce861f1a73e3bbe1590dc6660a9975161ca9"], ["uid", "8d7b3aeb1899127b301b548e0a99aefac0b1eff52ad80eb3469c1b152b95d0ae"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dca9303de9102696d87598715a831cf1d7a2ba4042f5dee42d8d7f6781c8b07f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 12"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e2966f5e9c4aef742883a4f104bb7b25be1fcc4f91297c2d87b0295e5682a836"], ["uid", "dca9303de9102696d87598715a831cf1d7a2ba4042f5dee42d8d7f6781c8b07f"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'df16238d663c2a0c5bfc3e63845fc2125b85ba80a90a7545c41d3d5ee4f84e3c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '800f69507bd20f07dec24d6743acdaf3c6915448365a15e6b9a416ac88376743' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "800f69507bd20f07dec24d6743acdaf3c6915448365a15e6b9a416ac88376743"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "df16238d663c2a0c5bfc3e63845fc2125b85ba80a90a7545c41d3d5ee4f84e3c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a35ba4fcc986da107bba44edf98f553752bbf68c4a8af13bf18936309037da0f' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '22c9b7d85b111bf2e7e734eab3fb8fc572dce6f2d74600ecc73c495f6030fe49' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "22c9b7d85b111bf2e7e734eab3fb8fc572dce6f2d74600ecc73c495f6030fe49"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "a35ba4fcc986da107bba44edf98f553752bbf68c4a8af13bf18936309037da0f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"df16238d663c2a0c5bfc3e63845fc2125b85ba80a90a7545c41d3d5ee4f84e3c"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a35ba4fcc986da107bba44edf98f553752bbf68c4a8af13bf18936309037da0f' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'df16238d663c2a0c5bfc3e63845fc2125b85ba80a90a7545c41d3d5ee4f84e3c' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '800f69507bd20f07dec24d6743acdaf3c6915448365a15e6b9a416ac88376743' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1ec86713f5147c49748b17a20b85465d6219db6f42ec4f187454f59f5179c0ce' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 13"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "013ad18c4309728f644d50b6c125df247a777bf0af9744f881558de31f7eaf6d"], ["uid", "1ec86713f5147c49748b17a20b85465d6219db6f42ec4f187454f59f5179c0ce"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7b3a7a49eaff2c401ed4c4ffaf70da2ff7c6b1c36deb53c2108975a9d9ff27c2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'c96058dbe01a2a115bcf9bf77f701fe6072a1e5f9c2a1de3d50e8882dfe83346' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "c96058dbe01a2a115bcf9bf77f701fe6072a1e5f9c2a1de3d50e8882dfe83346"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7b3a7a49eaff2c401ed4c4ffaf70da2ff7c6b1c36deb53c2108975a9d9ff27c2"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6e811ed77eb4ffb69c021431f3723ebd2ee98d19000704e2ee08d496c1097742' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 14"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1f831308a5461f4bd0936ba431bc238d215fd788def77a0b3d49c75fbadc0421"], ["uid", "6e811ed77eb4ffb69c021431f3723ebd2ee98d19000704e2ee08d496c1097742"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '37418f5115a05b8834d5cced15c0e1ebc1e12b22fee39b39c6c8d83437dcb2f2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '95c151badf03a8b4df6342554905ed0e08869ee5caabf72d409be3ddf0d2c6d0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "95c151badf03a8b4df6342554905ed0e08869ee5caabf72d409be3ddf0d2c6d0"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "37418f5115a05b8834d5cced15c0e1ebc1e12b22fee39b39c6c8d83437dcb2f2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"7b3a7a49eaff2c401ed4c4ffaf70da2ff7c6b1c36deb53c2108975a9d9ff27c2"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '37418f5115a05b8834d5cced15c0e1ebc1e12b22fee39b39c6c8d83437dcb2f2' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7b3a7a49eaff2c401ed4c4ffaf70da2ff7c6b1c36deb53c2108975a9d9ff27c2' LIMIT 1
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'c96058dbe01a2a115bcf9bf77f701fe6072a1e5f9c2a1de3d50e8882dfe83346' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '843035e9e287b33a1259ca9652d69d8033919d7bab474147073a040981a2320f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 15"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0394713738fa488126d523666e4c3c4d4c2cd4a118703955a7fb4692d3a94dc4"], ["uid", "843035e9e287b33a1259ca9652d69d8033919d7bab474147073a040981a2320f"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e283824c9d1b11406afc01d0ee04df069898deb525e0d4f5acc273d35d03246' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'edcccb963154b2e11e31c4b971f44242914d2b4fa198237ad173b0ca973fd61f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "edcccb963154b2e11e31c4b971f44242914d2b4fa198237ad173b0ca973fd61f"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7e283824c9d1b11406afc01d0ee04df069898deb525e0d4f5acc273d35d03246"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"7e283824c9d1b11406afc01d0ee04df069898deb525e0d4f5acc273d35d03246"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e283824c9d1b11406afc01d0ee04df069898deb525e0d4f5acc273d35d03246' LIMIT 1
  CACHE (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e283824c9d1b11406afc01d0ee04df069898deb525e0d4f5acc273d35d03246' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'edcccb963154b2e11e31c4b971f44242914d2b4fa198237ad173b0ca973fd61f' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c13502471fea97d215ddbd2b92db324cf2853ec247df4b404d7dd38d47cd6541' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 16"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4ff52f069ebe6ddf986fe348cae347d234a28cbdea7ce6f2ca6240991b1e4d1e"], ["uid", "c13502471fea97d215ddbd2b92db324cf2853ec247df4b404d7dd38d47cd6541"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7118b5319fc1cb48edc9428817cd62accaefc5ff9a5f4e13c986eef33e5a2e51' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a7ab17398c800e5c114decafa88705945137727ba4b2921ffd2fdb508a610f7e' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a7ab17398c800e5c114decafa88705945137727ba4b2921ffd2fdb508a610f7e"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7118b5319fc1cb48edc9428817cd62accaefc5ff9a5f4e13c986eef33e5a2e51"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke?token=7118b5319fc1cb48edc9428817cd62accaefc5ff9a5f4e13c986eef33e5a2e51" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"7118b5319fc1cb48edc9428817cd62accaefc5ff9a5f4e13c986eef33e5a2e51"}
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7118b5319fc1cb48edc9428817cd62accaefc5ff9a5f4e13c986eef33e5a2e51' LIMIT 1
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a7ab17398c800e5c114decafa88705945137727ba4b2921ffd2fdb508a610f7e' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a16291c09770fc125c18f1df65cafe078fe0a9315a160332234e095864b1dbf7' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 17"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6815183dc5500ca262df92fd7b907f76c8c7987a7e0c561a7ce71717cd1e86a2"], ["uid", "a16291c09770fc125c18f1df65cafe078fe0a9315a160332234e095864b1dbf7"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Matheo"], ["password", "pareto"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '334082da616de2d6f7998736b89692f8966810200c1546af26f2d14e27f4ffb8' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a6fa60a87cc175a7edde49142d3b0ec8ce1e933f2ca3c44fe7830f74e5d9a42d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a6fa60a87cc175a7edde49142d3b0ec8ce1e933f2ca3c44fe7830f74e5d9a42d"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "334082da616de2d6f7998736b89692f8966810200c1546af26f2d14e27f4ffb8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9ca48195653270c9cd6eba1ae400e5295b4694fd3508b4e11e24341a8f4a594b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a28a6f936a082b9c1b499050ef925e600f5c075511acc4dc78aa465e9219640e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a28a6f936a082b9c1b499050ef925e600f5c075511acc4dc78aa465e9219640e"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "9ca48195653270c9cd6eba1ae400e5295b4694fd3508b4e11e24341a8f4a594b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"334082da616de2d6f7998736b89692f8966810200c1546af26f2d14e27f4ffb8"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9ca48195653270c9cd6eba1ae400e5295b4694fd3508b4e11e24341a8f4a594b' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '334082da616de2d6f7998736b89692f8966810200c1546af26f2d14e27f4ffb8' LIMIT 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a6fa60a87cc175a7edde49142d3b0ec8ce1e933f2ca3c44fe7830f74e5d9a42d' LIMIT 1
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '37667e104329480321a87c753d7b78f9b3ce513cc69be316356ca6d536a2eedd' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 18"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0c024c15373ec50e948b1cd55b96872b66312f63e1cbd464db8d650643273e6c"], ["uid", "37667e104329480321a87c753d7b78f9b3ce513cc69be316356ca6d536a2eedd"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '384d2aa03e4ac123c3fb6c5c9710d935c838aad2867cb66857fe627c04f4b2b1' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '182b507a299ac8baba44ba36b101f64cc2f3bc1a1dcb9b530ae2fd9a986f6d4e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "182b507a299ac8baba44ba36b101f64cc2f3bc1a1dcb9b530ae2fd9a986f6d4e"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "384d2aa03e4ac123c3fb6c5c9710d935c838aad2867cb66857fe627c04f4b2b1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"I_AM_AN_INVALIDE_TOKEN"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '384d2aa03e4ac123c3fb6c5c9710d935c838aad2867cb66857fe627c04f4b2b1' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '067ea8f32db4c481d9a1baa0e5bcebfe13010b14b75bbca84f7ecd42033985da' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 19"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1c175282773766f7c05f06ff5477eb00adae6787c476e7332d7f81080c4c7c09"], ["uid", "067ea8f32db4c481d9a1baa0e5bcebfe13010b14b75bbca84f7ecd42033985da"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a4f3e6eefe786b0e35156508a87c286affac8687704150a0e2a1ae74b624d344' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "a4f3e6eefe786b0e35156508a87c286affac8687704150a0e2a1ae74b624d344"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9fe6d2963f6f5dbe4753b46b9744ce047d82b2a1ea4f459dda826a6c162e39b2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '35fd09f8a37f8205ab514a0df27489e791a23df4dc352bd6a3951a1502077a6b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "35fd09f8a37f8205ab514a0df27489e791a23df4dc352bd6a3951a1502077a6b"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "9fe6d2963f6f5dbe4753b46b9744ce047d82b2a1ea4f459dda826a6c162e39b2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7", "token_type_hint"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9fe6d2963f6f5dbe4753b46b9744ce047d82b2a1ea4f459dda826a6c162e39b2' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '536dc1e91dd40b2b610910eabab236f76f7d5dab754a48691314c8a4abdd46b7' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '687a6bab1e6d9e4e8630dcee8125ada7d58e52bc00f04dc3b64d3cd0126aa9e7' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 20"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d21c23b1b0c2902bc7acace53cad0320d0bf5253d5291ffd466d2a508deb68b0"], ["uid", "687a6bab1e6d9e4e8630dcee8125ada7d58e52bc00f04dc3b64d3cd0126aa9e7"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e233363381a216507032f62dd5d94862c27e3af734f3f2fe14ebe887736c42cb' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ec98d0b42b6cf1a1c41a617abb602e5eab8ff72bc22336cc7fcf28486703916b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 21"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2219eee52bbb2c51310bc0906254e6d01874710a99ad4a934d4d3fa710858092"], ["uid", "ec98d0b42b6cf1a1c41a617abb602e5eab8ff72bc22336cc7fcf28486703916b"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6d89107d8fea78cad7faa2ffb8d0778fe010b2f52ee4d166353b2cff0ea54765' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '4058d3aad1179d938b5c4700b3e049b5a1d74cf16971d919c2fd5396b48dea0a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "4058d3aad1179d938b5c4700b3e049b5a1d74cf16971d919c2fd5396b48dea0a"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "6d89107d8fea78cad7faa2ffb8d0778fe010b2f52ee4d166353b2cff0ea54765"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a630e2215fdd325e0e38294c360a1f29469b80d0ebd314e71e98ea68ae8a65a2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 22"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7a39d75f5a8f0d95a5ce80e8aa01c1793a381a55aeac9e428025e627b4aae827"], ["uid", "a630e2215fdd325e0e38294c360a1f29469b80d0ebd314e71e98ea68ae8a65a2"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f98c0503c2cf4edc56fa50cd490c1a8f95706ccebf74238aca6a8f68542afb09' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7728d24544bc7cbf80ead5948b52ece1d7f034eacca322362468c84b9e5ab5ff' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "7728d24544bc7cbf80ead5948b52ece1d7f034eacca322362468c84b9e5ab5ff"], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", nil], ["token", "f98c0503c2cf4edc56fa50cd490c1a8f95706ccebf74238aca6a8f68542afb09"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'acbc3caa1a2b36c0e0723fd0f58c736db96845b538cf696d3ddaef96400c5538' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 23"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7df7e70895e23741d68c4f011208746cdec030063b15b352d64b115db32daae0"], ["uid", "acbc3caa1a2b36c0e0723fd0f58c736db96845b538cf696d3ddaef96400c5538"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd6d786165c2e96f5b2554a5c64451d30d00d4b9fd30f741d081ae3dc50ee8b0c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", nil], ["token", "d6d786165c2e96f5b2554a5c64451d30d00d4b9fd30f741d081ae3dc50ee8b0c"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f079246eedc93b8fa8d127e2cb58309567a0bff074d8e0799c8b9c7ddeb1a4cb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 24"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7b1cee2093feba098afd1d815e07ff514b898fba28a195763d0d3e25d1045391"], ["uid", "f079246eedc93b8fa8d127e2cb58309567a0bff074d8e0799c8b9c7ddeb1a4cb"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '15081f4e4ac302654651571f70b01fd332799476537781bc122fcd5ad06c7f91' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'f37c5e6d1b1a7ad78523f4a11294d480f9a00e7b9a861eb36a9be9f1514b0239' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "f37c5e6d1b1a7ad78523f4a11294d480f9a00e7b9a861eb36a9be9f1514b0239"], ["resource_owner_id", 5], ["revoked_at", nil], ["scopes", nil], ["token", "15081f4e4ac302654651571f70b01fd332799476537781bc122fcd5ad06c7f91"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '591b27c73961a9a49b928f4f3c6834e1380d12e92b691adde61249728167b6e5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 25"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "497dec470199e71140b17decb15b4be9877177323d448605d8583396750af217"], ["uid", "591b27c73961a9a49b928f4f3c6834e1380d12e92b691adde61249728167b6e5"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1876c8a9ecad8bcc8235538196293271319155b0a3f1302e885fecac171e005c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'faed015eae5515c9add8cdd82d47d457df4ab94f0860d80c9a04def8c6f6e1ab' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "faed015eae5515c9add8cdd82d47d457df4ab94f0860d80c9a04def8c6f6e1ab"], ["resource_owner_id", 6], ["revoked_at", nil], ["scopes", nil], ["token", "1876c8a9ecad8bcc8235538196293271319155b0a3f1302e885fecac171e005c"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = '1876c8a9ecad8bcc8235538196293271319155b0a3f1302e885fecac171e005c' AND "oauth_access_tokens"."id" != 2) LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = 'f37c5e6d1b1a7ad78523f4a11294d480f9a00e7b9a861eb36a9be9f1514b0239' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ef262e64f79bda485c9c91166f75497a6e5131e126695fc30574b9585e13ae37' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 26"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "06f617dca24f77ca34e13943de21dc05e38af7802265ab3e0d985764a68f07fe"], ["uid", "ef262e64f79bda485c9c91166f75497a6e5131e126695fc30574b9585e13ae37"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3841598e4ab166fb47ffeb0b3af5006d9f026e87bcc963246a5e0c4e5fe2925c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '233b1308b6c40e7dc38ada3aed5b0387e19e024328eec72a1ce11030264cb800' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "233b1308b6c40e7dc38ada3aed5b0387e19e024328eec72a1ce11030264cb800"], ["resource_owner_id", 7], ["revoked_at", nil], ["scopes", nil], ["token", "3841598e4ab166fb47ffeb0b3af5006d9f026e87bcc963246a5e0c4e5fe2925c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9f3c1b8bc7ad274a523657b371998b4d924935fe6dfbdf81cabc84fbc1c775d7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 27"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "102a251ed67101a6079e4bb2b2e94d4789930e3d9c1a87c7420a4a1455f08e1b"], ["uid", "9f3c1b8bc7ad274a523657b371998b4d924935fe6dfbdf81cabc84fbc1c775d7"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5847b60c4ef25cad8907293f1a9087f55e1c705435425423c7d337d2f43b26a6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "5847b60c4ef25cad8907293f1a9087f55e1c705435425423c7d337d2f43b26a6"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.3ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '70966e22024622f5da622743f762bc4ce9112ea0127bb6b56bb5d19c90198344' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "70966e22024622f5da622743f762bc4ce9112ea0127bb6b56bb5d19c90198344"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ffe316c5c68bce88d641f4ccc8025b50227bdec801c2aee83662f5253042c984' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 28"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "11adb7d2585697e07293d12087aeefceeb9e447357b0d023ed234732be9e15a6"], ["uid", "ffe316c5c68bce88d641f4ccc8025b50227bdec801c2aee83662f5253042c984"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '156db4edeea913eea883b2c1eeb20417149c525de6ee54e832e972a09a3fd244' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "156db4edeea913eea883b2c1eeb20417149c525de6ee54e832e972a09a3fd244"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '50a0c63b69544c2ed4e0036ce417408174e7e4a9d51eb5c30721647de13cf715' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "50a0c63b69544c2ed4e0036ce417408174e7e4a9d51eb5c30721647de13cf715"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35d8c32ecc5c7700e9b8888923b786abe3574cafb9d8e0a60b7aef6475d0286a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 29"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c22f0f22e0fa0cd234436959e3020c9fdc75797f75fde5cc4024fb2547e2d5d9"], ["uid", "35d8c32ecc5c7700e9b8888923b786abe3574cafb9d8e0a60b7aef6475d0286a"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0313b6e16ad71b6f0619471dbbf8f7649c9b14d6159e2e8f83f9ae94dc946c88' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "0313b6e16ad71b6f0619471dbbf8f7649c9b14d6159e2e8f83f9ae94dc946c88"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9251fe684fa5c7dd1382b35637db7cdb979991a6a71fd3fedaf57a5facb33ef1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 30"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2f5c93962f01087207d0da03c686846dc6fdbb45829cedc2d136c2ff0804ab14"], ["uid", "9251fe684fa5c7dd1382b35637db7cdb979991a6a71fd3fedaf57a5facb33ef1"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a4d9b8c3253be184efc4731a36933c2a0600c49c343d2bc71f2ce8ba0b28bb4d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "a4d9b8c3253be184efc4731a36933c2a0600c49c343d2bc71f2ce8ba0b28bb4d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fee22aa2729a025c52f7f7a8dbccf904a8b8daa572116ed7d7d7c717b4fabd97' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 31"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9b7d404287173ce18ccdf042bbac24ba0244471f2968c5df0104d8796532270d"], ["uid", "fee22aa2729a025c52f7f7a8dbccf904a8b8daa572116ed7d7d7c717b4fabd97"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7682f1a7ed513ea3cee87cde833d98ff9ae3110d5357719534176f4adb94213d' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "7682f1a7ed513ea3cee87cde833d98ff9ae3110d5357719534176f4adb94213d"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8ac16dd96a50d77fcfae22383db323b83b825649eebf78a868f93c1ca19bfc56' LIMIT 1
  SQL (0.7ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 32"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f3f2b88497a08a5f435ed8e6acc6c18e96a831025b173b12c61de788394b4580"], ["uid", "8ac16dd96a50d77fcfae22383db323b83b825649eebf78a868f93c1ca19bfc56"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.3ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e74f1d645d77c7c2bbbef8312e071597c60eedc63ed2f2a02562929c93ca15d4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "e74f1d645d77c7c2bbbef8312e071597c60eedc63ed2f2a02562929c93ca15d4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0dabfd050f57710bdf62a3b74ea15e3ac17062d31b66e7244806a9284a9959ed' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 33"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c807a2b994eb565c5bb704e37888a1587da6101bb2858775e0a730c875948404"], ["uid", "0dabfd050f57710bdf62a3b74ea15e3ac17062d31b66e7244806a9284a9959ed"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '203b4eccbabbbe2d2122e7eb46187afa71ab5884d78efed6e2f1ac1221a12314' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 8], ["revoked_at", nil], ["scopes", nil], ["token", "203b4eccbabbbe2d2122e7eb46187afa71ab5884d78efed6e2f1ac1221a12314"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.4ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8cd22ffd7f71112d6cd75e57bb6721cdea23cb7aa616997f8324495c641452b2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 34"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a918ab54b26128d47841f5787bbfad91d8416d25b86264bf19f9ad3bdaebef86"], ["uid", "8cd22ffd7f71112d6cd75e57bb6721cdea23cb7aa616997f8324495c641452b2"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5403a16f7c7aa16872737cdde0145a32e33cafd19675681c98e9e282ab5928b9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 9], ["revoked_at", nil], ["scopes", nil], ["token", "5403a16f7c7aa16872737cdde0145a32e33cafd19675681c98e9e282ab5928b9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '31f2d59030518328504617bd6dd952167ce5bc494e2f4ae3fa3439336b5c723e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 35"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d805083e0c61578ff1ffb3826974b00a9dc79068926e8e1187d60185d6195618"], ["uid", "31f2d59030518328504617bd6dd952167ce5bc494e2f4ae3fa3439336b5c723e"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd9ed8f296d8c23cb35b9578420bc4601a8aed16165361c47e2b266856418b1cd' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b2708ae0fd87292640ebee51e1085f4d7e435e8682fe9aade167c55e133b417c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 36"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e5a3c2f448b38c9ce9447b8fe36134a49528a3a95b2a98433e3b7398dfbe810d"], ["uid", "b2708ae0fd87292640ebee51e1085f4d7e435e8682fe9aade167c55e133b417c"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dc822eba3d582ed7bc2d99422d128338616a09013e1a723e03d92dd08499553e' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 37"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e6f675163e7a6aca18d6247aec124139a78640844f938500e0d0ca07601af73e"], ["uid", "dc822eba3d582ed7bc2d99422d128338616a09013e1a723e03d92dd08499553e"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9c86cb23f2e6fee5d2f12ec8b2aee6619c53d176ba131995f9155693d32c8c8a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 38"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "aaa704838bb58a9f5d7f236f79abfb57a71aeebe2da60b1b3565f042409d7b6b"], ["uid", "9c86cb23f2e6fee5d2f12ec8b2aee6619c53d176ba131995f9155693d32c8c8a"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ec78e80abe5713aab34085da749b51a5b962e84588c0480db4d62f1b777a1fa6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 90], ["revoked_at", nil], ["scopes", nil], ["token", "ec78e80abe5713aab34085da749b51a5b962e84588c0480db4d62f1b777a1fa6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '920557eb975876ada3a54488944c331a77cd8887fcf743306370d3729847a6ab' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 39"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "56769ca9f98f2486e2c4a141245d3e84b84ead9648068ecab39ba566a42342d8"], ["uid", "920557eb975876ada3a54488944c331a77cd8887fcf743306370d3729847a6ab"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e9e4ebbb72248eeef216c9d18cee58610de84ac12ce46b72f51ccac876786c57' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "e9e4ebbb72248eeef216c9d18cee58610de84ac12ce46b72f51ccac876786c57"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f04a8f76337eece9e88f32169035443e86aa6553ffe89876c3073e987b558cec' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 40"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "68c029affd9e5750d6578400c91dec7f619c2e051bd8b11f857c36f6c4f46a81"], ["uid", "f04a8f76337eece9e88f32169035443e86aa6553ffe89876c3073e987b558cec"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '561e2189aa2273322c4fcf4a7609099648f31fe3f56d9d543107dd426e18f863' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 41"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fc22424f69cb40ac1f6bd648fcbbe44feee9079ae71efbeca8a08c93c4d7337b"], ["uid", "561e2189aa2273322c4fcf4a7609099648f31fe3f56d9d543107dd426e18f863"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '070582f1f1c92577aa28d91b367f4cd05b15b7f99fa7832800a510d91979c4eb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "070582f1f1c92577aa28d91b367f4cd05b15b7f99fa7832800a510d91979c4eb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6a6f9c3f7dbca1cfae230d0a26281bb8326f0ef51af694be04958885d5c1a0a7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 42"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "760c5bb52d4f59b9ffc11ccfad9a0972f1f5d13e47da0d14f9c9c0eddc4e289c"], ["uid", "6a6f9c3f7dbca1cfae230d0a26281bb8326f0ef51af694be04958885d5c1a0a7"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fbf89653192e838b4d8b6a9b64af7dde6b825cb5abf1b00cebc7c8062c2c856f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", nil], ["token", "fbf89653192e838b4d8b6a9b64af7dde6b825cb5abf1b00cebc7c8062c2c856f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bef9bfdf7fbdbdc33f6ec240c7447c806842a29fe4fb8117e1b2144efd5983a2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 43"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "afbfa2c984b04c941f41b3105968f1aaf9acc5bf070d9b28423597ef49fe53a1"], ["uid", "bef9bfdf7fbdbdc33f6ec240c7447c806842a29fe4fb8117e1b2144efd5983a2"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0cffcbc73083df8094bcd8f78973d0dc7bde5d138d317e3e389c9ad4d699dadf' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", nil], ["token", "0cffcbc73083df8094bcd8f78973d0dc7bde5d138d317e3e389c9ad4d699dadf"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.3ms)  UPDATE "oauth_access_tokens" SET "token" = 'fbf89653192e838b4d8b6a9b64af7dde6b825cb5abf1b00cebc7c8062c2c856f' WHERE "oauth_access_tokens"."id" = 2
SQLite3::ConstraintException: column token is not unique: UPDATE "oauth_access_tokens" SET "token" = 'fbf89653192e838b4d8b6a9b64af7dde6b825cb5abf1b00cebc7c8062c2c856f' WHERE "oauth_access_tokens"."id" = 2
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '26372b545fc0293a27237071b3b50be2b7d13174f833d5e8bec889e4aef7af28' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 44"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "894cbd7144b5a4fa5857469b0ad52939660d6e9482dd6303a07c3983e767c6c1"], ["uid", "26372b545fc0293a27237071b3b50be2b7d13174f833d5e8bec889e4aef7af28"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0d5d86618411f484d672f7de05437b678c2922bb3212c6549e933b9a69ca8609' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0c9520ad50b5049eba06f8151951bc910107c98a8f6d2b8d5fc1a21385513e5d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 45"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "17767045eb029c5e54f64c20b096f797f60a934f5bc600367e8cbc6ba4f6c01f"], ["uid", "0c9520ad50b5049eba06f8151951bc910107c98a8f6d2b8d5fc1a21385513e5d"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'eacfcd1f1402f7d8d2afbee3d2ccc7b3b1747e7603a7d5ed19976f54bd494bdb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 16], ["revoked_at", nil], ["scopes", nil], ["token", "eacfcd1f1402f7d8d2afbee3d2ccc7b3b1747e7603a7d5ed19976f54bd494bdb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fef663b09e18885b474746114fead40f4749b21c0d2ad0768f2e5bcd75f9d55e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 46"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7af3e5c195ce2643bbe8e2ee8fce6211c9511521bbbda55111d5b873d8e49667"], ["uid", "fef663b09e18885b474746114fead40f4749b21c0d2ad0768f2e5bcd75f9d55e"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '95702d3da33f504ceb152a991374550188fde34c13813d43593ac91e3d004d14' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", nil], ["token", "95702d3da33f504ceb152a991374550188fde34c13813d43593ac91e3d004d14"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = 'eacfcd1f1402f7d8d2afbee3d2ccc7b3b1747e7603a7d5ed19976f54bd494bdb' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f6f6c198fb4a51cb3918d34e4e2e279e399fb622ed1e7e0eacd8459597b9b382' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 47"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5c5bb5e8e797c0bd335448a9ea51f306ffcb161f78e8cc9a16b7919fbdc48293"], ["uid", "f6f6c198fb4a51cb3918d34e4e2e279e399fb622ed1e7e0eacd8459597b9b382"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35754ba84dba4ed73423ffca01afe54be9b26299e7f4bb3c082d5495d8345f21' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 48"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c1bea515c8ae06d1ac7da04971c6f6801b1a54a6d0c3e33e2c6924c73f572695"], ["uid", "35754ba84dba4ed73423ffca01afe54be9b26299e7f4bb3c082d5495d8345f21"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e75e80513c9fee1d10170888d98aa84e1dd57181c0e4afe045b37bd128725961' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "e75e80513c9fee1d10170888d98aa84e1dd57181c0e4afe045b37bd128725961"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.3ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '816cb1270d93510eaeb312310f55553a1be24260aeb3497c58caf9112ddd27cf' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 49"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b2a3d9fc212b3342038a8213266e9397e4d38e4fbd0bbf4212efd86145d6c471"], ["uid", "816cb1270d93510eaeb312310f55553a1be24260aeb3497c58caf9112ddd27cf"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '942dad11af5dd0ef0f0919a3751d410839747746d82403fe9f376b75eceeead7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "942dad11af5dd0ef0f0919a3751d410839747746d82403fe9f376b75eceeead7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4a8c0fc02abbda80da33177226aa55c9ad4e16372548d3996a339c094d36cb38' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 50"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1a389ee808055743b788639b3a5ab195a739faa3533f8b3575428861913d8c48"], ["uid", "4a8c0fc02abbda80da33177226aa55c9ad4e16372548d3996a339c094d36cb38"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1ac88bc38b35f9d9c6e79630ee78aed7e460474cb2339feb0f1c4f1ca12ad3af' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "1ac88bc38b35f9d9c6e79630ee78aed7e460474cb2339feb0f1c4f1ca12ad3af"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '096812383e0729bb857f2905908f3d927b6d0e0256b2c4817fde5219931d2a0e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 51"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "88928f29ebe4e0151997c39f95ad30494ba7105675175aa1d125545382095ac3"], ["uid", "096812383e0729bb857f2905908f3d927b6d0e0256b2c4817fde5219931d2a0e"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4083b6ee21ce58f242166e011ad660ad4046b5b41ba70f2e72bb104ea6a65939' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", Thu, 12 Jun 2014 16:45:58 UTC +00:00], ["scopes", "public write"], ["token", "4083b6ee21ce58f242166e011ad660ad4046b5b41ba70f2e72bb104ea6a65939"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8f4982cb20c7e48ffcf552d173711f0b909591852cef7b5f088b9d5e85c09655' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 52"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d2930f89c7c21ecdb8d4205848645043016cebff7d7952f48487f3816d0dfa30"], ["uid", "8f4982cb20c7e48ffcf552d173711f0b909591852cef7b5f088b9d5e85c09655"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b14ec15402e057b11e8f3bf6573714d838b4afb88abe895c35285bcd131c1be7' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "b14ec15402e057b11e8f3bf6573714d838b4afb88abe895c35285bcd131c1be7"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bf5d59fd124e485b216e25725a9c95f10d08af21c36cd3c32fcce884a4dfd108' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 53"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a30fdc755e3672bc694ac3b6306ca6fdaba71b9fdc3e4581b2fae0cb51175bd6"], ["uid", "bf5d59fd124e485b216e25725a9c95f10d08af21c36cd3c32fcce884a4dfd108"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f142e312f625ac22c23e72661d40d8b12e7ba67eaa7d2185a8c25a65fb1e6648' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "f142e312f625ac22c23e72661d40d8b12e7ba67eaa7d2185a8c25a65fb1e6648"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b78c610026046f469a3b1ba4356fef26be654c442fa8264910846044f25b623d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 54"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8c0828486444d47321261fe299fc955945132e50886c6355d1e89a589b4779d1"], ["uid", "b78c610026046f469a3b1ba4356fef26be654c442fa8264910846044f25b623d"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b10e4e9e6e3fc091c935197db63461a9f1e63d16b84c70771a5e6050ca7ad91f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public email"], ["token", "b10e4e9e6e3fc091c935197db63461a9f1e63d16b84c70771a5e6050ca7ad91f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cd3fa6626f7ba520b750650f008d54cc584449cd221b2e6fd579a43ce0fdb39d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 55"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "10c171d0b5414cf672a065f3bc33d4ac6eee3e6f2d37a44ec6e4ca9b9908d0ac"], ["uid", "cd3fa6626f7ba520b750650f008d54cc584449cd221b2e6fd579a43ce0fdb39d"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a7d7ff6925de16b46af647831668d766d581924db1b80323b0cc93e64b7c1ef4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Thu, 12 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "a7d7ff6925de16b46af647831668d766d581924db1b80323b0cc93e64b7c1ef4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '195cf7835f9cf77097ce70e6c91e67723e74e97af2c2d6cc11efbee700759e33' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "195cf7835f9cf77097ce70e6c91e67723e74e97af2c2d6cc11efbee700759e33"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dcdcc15130f37800c0b1c9899d5c25f0f50845ae44f1be6551af6dbf344528ff' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 56"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "83e12d2e12e7763ec6e72ee515f732516631642622f653de7715ff6dbf9068a9"], ["uid", "dcdcc15130f37800c0b1c9899d5c25f0f50845ae44f1be6551af6dbf344528ff"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '53556b094fcfbee70c8d3d4e5e17c3e1376cd5e210192b1eb2e517cf25782bc3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public write"], ["token", "53556b094fcfbee70c8d3d4e5e17c3e1376cd5e210192b1eb2e517cf25782bc3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" IS NULL AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.3ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Application 57"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25"], ["uid", "aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'de4ac0d9ebd4f901b208953e5c61eef3e2661722f253bb24a0c567b9b37557b9' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a0fd9ce9e783fde5037dd7f581735231cc11b4dfe5257f7da44d8d27d1845658' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a0fd9ce9e783fde5037dd7f581735231cc11b4dfe5257f7da44d8d27d1845658"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "de4ac0d9ebd4f901b208953e5c61eef3e2661722f253bb24a0c567b9b37557b9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?code&client_id=aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5&client_secret=253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5", "client_secret"=>"253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5' AND "oauth_applications"."secret" = '253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5115a93a61dd064a46dbb186d11a303caf791baeb1cf1eb2bf01e6a063090977' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '80622ecb406375be4b07f936ef27c58393dc9c7395dff58a4985d8df45fe5c2b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "80622ecb406375be4b07f936ef27c58393dc9c7395dff58a4985d8df45fe5c2b"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "5115a93a61dd064a46dbb186d11a303caf791baeb1cf1eb2bf01e6a063090977"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.6ms)
Started POST "/oauth/token?refresh_token=a0fd9ce9e783fde5037dd7f581735231cc11b4dfe5257f7da44d8d27d1845658&client_id=aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5&client_secret=253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:58 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"a0fd9ce9e783fde5037dd7f581735231cc11b4dfe5257f7da44d8d27d1845658", "client_id"=>"aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5", "client_secret"=>"253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a0fd9ce9e783fde5037dd7f581735231cc11b4dfe5257f7da44d8d27d1845658' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aec2b098b018a02933266362213b2d8c1fc9af9c0bcdfe4ebe74d08826d138b5' AND "oauth_applications"."secret" = '253274e346ec5eabec9114c9aa518e3cfa1fa790817a67acee242767fa91ba25' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:58' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '85a8f94bc9380e90232721270cdb1371462f114a343d9807f05af7a1338b9dec' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '99d534dfe184f3dfbaab62c7ef4ae2dc77f787991379de60d2de16fa7d25bf45' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:58 UTC +00:00], ["expires_in", 7200], ["refresh_token", "99d534dfe184f3dfbaab62c7ef4ae2dc77f787991379de60d2de16fa7d25bf45"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "85a8f94bc9380e90232721270cdb1371462f114a343d9807f05af7a1338b9dec"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 9ms (ActiveRecord: 0.9ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 58"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49"], ["uid", "44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '65f24da479bed91a83c2bc2d4c0a0f327226a15e6762c157a872ef152cb41477' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "65f24da479bed91a83c2bc2d4c0a0f327226a15e6762c157a872ef152cb41477"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=65f24da479bed91a83c2bc2d4c0a0f327226a15e6762c157a872ef152cb41477&client_id=44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493&client_secret=33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"65f24da479bed91a83c2bc2d4c0a0f327226a15e6762c157a872ef152cb41477", "client_id"=>"44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493", "client_secret"=>"33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '65f24da479bed91a83c2bc2d4c0a0f327226a15e6762c157a872ef152cb41477' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493' AND "oauth_applications"."secret" = '33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a027343890622695e7244d319fe5225b75afe81e3ebf72e8b6dbd50d3de21c62' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'b1c40c9956c334edae7cbd3930b5997d7e8ed284285a295d95397b0bfbf2e644' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "b1c40c9956c334edae7cbd3930b5997d7e8ed284285a295d95397b0bfbf2e644"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "a027343890622695e7244d319fe5225b75afe81e3ebf72e8b6dbd50d3de21c62"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.7ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
Started POST "/oauth/token?refresh_token=b1c40c9956c334edae7cbd3930b5997d7e8ed284285a295d95397b0bfbf2e644&client_id=44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493&client_secret=33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"b1c40c9956c334edae7cbd3930b5997d7e8ed284285a295d95397b0bfbf2e644", "client_id"=>"44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493", "client_secret"=>"33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'b1c40c9956c334edae7cbd3930b5997d7e8ed284285a295d95397b0bfbf2e644' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '44f4bd0637fcdf3a0083c19c60fc364d7ad0fe02865725663279ccc1a59f7493' AND "oauth_applications"."secret" = '33105c486c19ca31a75d8e9eda47956482a4aa3f73eb6ef7db78cc2ade9d9b49' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a59b0d4aa95ab90d80b35895d5e04e0e2aff68c2cbe713feb9d512452148eb1a' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '30912bf41e65ddb2aa820122dd298917ce810f90007098a79f46f98bbd05dc2a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "30912bf41e65ddb2aa820122dd298917ce810f90007098a79f46f98bbd05dc2a"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "a59b0d4aa95ab90d80b35895d5e04e0e2aff68c2cbe713feb9d512452148eb1a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b37be4bad375c0d9fd9d15575d38c7f37782fcb4618cce9fbfb1fe85466d2011' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 59"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "599f356bb6a99cfe34f3f041c72d27c85b20b4e150c7bd9234001fa85127f380"], ["uid", "b37be4bad375c0d9fd9d15575d38c7f37782fcb4618cce9fbfb1fe85466d2011"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fb98a88047bb3b54689066e51c33a76363a0354aa4c02d15d9cc8d3054fe500d' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '019565efff9159479c6dab18aed91ccf4af6c928bcf4f25f77d56fa63ab6c395' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "019565efff9159479c6dab18aed91ccf4af6c928bcf4f25f77d56fa63ab6c395"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "fb98a88047bb3b54689066e51c33a76363a0354aa4c02d15d9cc8d3054fe500d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=019565efff9159479c6dab18aed91ccf4af6c928bcf4f25f77d56fa63ab6c395&client_id=b37be4bad375c0d9fd9d15575d38c7f37782fcb4618cce9fbfb1fe85466d2011&client_secret=599f356bb6a99cfe34f3f041c72d27c85b20b4e150c7bd9234001fa85127f380&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"019565efff9159479c6dab18aed91ccf4af6c928bcf4f25f77d56fa63ab6c395", "client_id"=>"b37be4bad375c0d9fd9d15575d38c7f37782fcb4618cce9fbfb1fe85466d2011", "client_secret"=>"599f356bb6a99cfe34f3f041c72d27c85b20b4e150c7bd9234001fa85127f380", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '019565efff9159479c6dab18aed91ccf4af6c928bcf4f25f77d56fa63ab6c395' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b37be4bad375c0d9fd9d15575d38c7f37782fcb4618cce9fbfb1fe85466d2011' AND "oauth_applications"."secret" = '599f356bb6a99cfe34f3f041c72d27c85b20b4e150c7bd9234001fa85127f380' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90e546c078e4a2e65497e471ae446a3926c74be5760eb042e8a44a36a2e137c3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 60"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b69d46c6bbb6779f7171130aacdf27b30d9cd6677e068537d8404f4aa4f2021d"], ["uid", "90e546c078e4a2e65497e471ae446a3926c74be5760eb042e8a44a36a2e137c3"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '18798e9e73de17c0c55090e535eed6010e628565dedfb52254db8483e9012475' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'efd323b6d15e976b62820f5436a4287d1689ed238f059b89e8029bf1489141d9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "efd323b6d15e976b62820f5436a4287d1689ed238f059b89e8029bf1489141d9"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "18798e9e73de17c0c55090e535eed6010e628565dedfb52254db8483e9012475"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=efd323b6d15e976b62820f5436a4287d1689ed238f059b89e8029bf1489141d9&client_id=90e546c078e4a2e65497e471ae446a3926c74be5760eb042e8a44a36a2e137c3&client_secret=b69d46c6bbb6779f7171130aacdf27b30d9cd6677e068537d8404f4aa4f2021d&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"efd323b6d15e976b62820f5436a4287d1689ed238f059b89e8029bf1489141d9", "client_id"=>"90e546c078e4a2e65497e471ae446a3926c74be5760eb042e8a44a36a2e137c3", "client_secret"=>"b69d46c6bbb6779f7171130aacdf27b30d9cd6677e068537d8404f4aa4f2021d", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'efd323b6d15e976b62820f5436a4287d1689ed238f059b89e8029bf1489141d9' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90e546c078e4a2e65497e471ae446a3926c74be5760eb042e8a44a36a2e137c3' AND "oauth_applications"."secret" = 'b69d46c6bbb6779f7171130aacdf27b30d9cd6677e068537d8404f4aa4f2021d' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '89a4d354688bc81011a01e1abdfbf13fb5218fcacb26b76efe9dfc4b21bb9e30' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '85cdcf8f0d037896417f475f13b417d3328e58cb0838001605e8777cbeecf423' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "85cdcf8f0d037896417f475f13b417d3328e58cb0838001605e8777cbeecf423"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "89a4d354688bc81011a01e1abdfbf13fb5218fcacb26b76efe9dfc4b21bb9e30"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 9ms (ActiveRecord: 1.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a227a6a008fb473caf4c99f3d152d9425954b38701bf3f39f09322cbe9bba7fa' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 61"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ffafdf8db50e137aec17e610ce28a1d0d58303008b1e9262f0c293c0bcbbb99a"], ["uid", "a227a6a008fb473caf4c99f3d152d9425954b38701bf3f39f09322cbe9bba7fa"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '859007a716400c45c6afe063cb93407cfcec00fba91c2ac5c1cccfd0d2869304' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '0f3dc39752b38d5ba2907679ccc9cd6467369282243a6485776faf3752dca595' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "0f3dc39752b38d5ba2907679ccc9cd6467369282243a6485776faf3752dca595"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "859007a716400c45c6afe063cb93407cfcec00fba91c2ac5c1cccfd0d2869304"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=invalid&client_id=a227a6a008fb473caf4c99f3d152d9425954b38701bf3f39f09322cbe9bba7fa&client_secret=ffafdf8db50e137aec17e610ce28a1d0d58303008b1e9262f0c293c0bcbbb99a&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"invalid", "client_id"=>"a227a6a008fb473caf4c99f3d152d9425954b38701bf3f39f09322cbe9bba7fa", "client_secret"=>"ffafdf8db50e137aec17e610ce28a1d0d58303008b1e9262f0c293c0bcbbb99a", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a227a6a008fb473caf4c99f3d152d9425954b38701bf3f39f09322cbe9bba7fa' AND "oauth_applications"."secret" = 'ffafdf8db50e137aec17e610ce28a1d0d58303008b1e9262f0c293c0bcbbb99a' LIMIT 1
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de11749cc317e254b0aa545d5c9ff53ea146325d687cbf6ff6e206f12adfca9c' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 62"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bef4bd736c0392933478d6be5631227e772d857da940c511115a6807e713d236"], ["uid", "de11749cc317e254b0aa545d5c9ff53ea146325d687cbf6ff6e206f12adfca9c"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'cdd121e27b2254f7bae83a99c959d63101d842bb63c61445b64c52ad17b58b6e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '49ba2393ef48aecd55a9f35e984cfd9dbcd5a30ec100e2100c025a6a8805a7c6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "49ba2393ef48aecd55a9f35e984cfd9dbcd5a30ec100e2100c025a6a8805a7c6"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "cdd121e27b2254f7bae83a99c959d63101d842bb63c61445b64c52ad17b58b6e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=49ba2393ef48aecd55a9f35e984cfd9dbcd5a30ec100e2100c025a6a8805a7c6&client_id=de11749cc317e254b0aa545d5c9ff53ea146325d687cbf6ff6e206f12adfca9c&client_secret=bef4bd736c0392933478d6be5631227e772d857da940c511115a6807e713d236&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"49ba2393ef48aecd55a9f35e984cfd9dbcd5a30ec100e2100c025a6a8805a7c6", "client_id"=>"de11749cc317e254b0aa545d5c9ff53ea146325d687cbf6ff6e206f12adfca9c", "client_secret"=>"bef4bd736c0392933478d6be5631227e772d857da940c511115a6807e713d236", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '49ba2393ef48aecd55a9f35e984cfd9dbcd5a30ec100e2100c025a6a8805a7c6' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de11749cc317e254b0aa545d5c9ff53ea146325d687cbf6ff6e206f12adfca9c' AND "oauth_applications"."secret" = 'bef4bd736c0392933478d6be5631227e772d857da940c511115a6807e713d236' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6191cb381d101065a2b1be1e2fe72979e36fc851e32278a79bf3acef617b09cf' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '23e4956c7fbef1b65459ef03faaca3ed2d585d9307f52b0b6411e7e09ea34fa7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", "23e4956c7fbef1b65459ef03faaca3ed2d585d9307f52b0b6411e7e09ea34fa7"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "6191cb381d101065a2b1be1e2fe72979e36fc851e32278a79bf3acef617b09cf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '763aedb49f6707260bd4da735b6d9945c74470bef2753bf0e3ab14925b947349' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 63"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8e66421f78a91fb137a17f5f600ae955866e16d904f61a4fc9151158e545f6ec"], ["uid", "763aedb49f6707260bd4da735b6d9945c74470bef2753bf0e3ab14925b947349"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b642c94d93265655f36139b7ccc156e5543af32efdc321831164dbe3065ca9fa' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "b642c94d93265655f36139b7ccc156e5543af32efdc321831164dbe3065ca9fa"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 64"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bc57b454dd2d5d7a94455a10d589b5379525df06254a21f842ea14fa73597dc7"], ["uid", "a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4bc845e5bd81809a7dae5caa504c38d9490753eeab4ec6e97ebd879403c359a9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "4bc845e5bd81809a7dae5caa504c38d9490753eeab4ec6e97ebd879403c359a9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 0.5ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a294c2a64e1cdf2d30f2620a2ede992eff7eea91c7259dc0dfd9d0c2acc0f91b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '506f8e2898959359da8ca23cb5f6dfb93d47a7fbb95f98d796cc0514c0feff54' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "506f8e2898959359da8ca23cb5f6dfb93d47a7fbb95f98d796cc0514c0feff54"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=506f8e2898959359da8ca23cb5f6dfb93d47a7fbb95f98d796cc0514c0feff54
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
Started GET "/callback?code=506f8e2898959359da8ca23cb5f6dfb93d47a7fbb95f98d796cc0514c0feff54" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"506f8e2898959359da8ca23cb5f6dfb93d47a7fbb95f98d796cc0514c0feff54"}
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '885dd336fd8ae157d6dc85541ee0c05d7740ba54de14e75ed9053ecd09bb608a' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 65"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4719e4a1b63022f76871a143cc9485307f4f603cbd40bc043c4df23df7b988d6"], ["uid", "885dd336fd8ae157d6dc85541ee0c05d7740ba54de14e75ed9053ecd09bb608a"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '701025148577da05242e2e18b96e97cd62500b62e2d774f3356a91da0c5500ef' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "701025148577da05242e2e18b96e97cd62500b62e2d774f3356a91da0c5500ef"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=885dd336fd8ae157d6dc85541ee0c05d7740ba54de14e75ed9053ecd09bb608a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"885dd336fd8ae157d6dc85541ee0c05d7740ba54de14e75ed9053ecd09bb608a", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '885dd336fd8ae157d6dc85541ee0c05d7740ba54de14e75ed9053ecd09bb608a' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '88f40e3d280b9ea8b512dc17b63bf30fc7ed780a8e46a9a864ed2e2fe6db78f0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "88f40e3d280b9ea8b512dc17b63bf30fc7ed780a8e46a9a864ed2e2fe6db78f0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=88f40e3d280b9ea8b512dc17b63bf30fc7ed780a8e46a9a864ed2e2fe6db78f0
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=88f40e3d280b9ea8b512dc17b63bf30fc7ed780a8e46a9a864ed2e2fe6db78f0" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"88f40e3d280b9ea8b512dc17b63bf30fc7ed780a8e46a9a864ed2e2fe6db78f0"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7eb0bfcb1ec9ebc876411afc4daea63b26032eda3bb21622ce780075e83032dc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 66"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "997bb7e9060af6859099ffa426f1f2709e849a54b8a1aa0a4f616d5077999b00"], ["uid", "7eb0bfcb1ec9ebc876411afc4daea63b26032eda3bb21622ce780075e83032dc"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '60030a633a2b21a130cc4fbf05b229840fa300c049eb25111247b58e091e3389' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "60030a633a2b21a130cc4fbf05b229840fa300c049eb25111247b58e091e3389"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=7eb0bfcb1ec9ebc876411afc4daea63b26032eda3bb21622ce780075e83032dc&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7eb0bfcb1ec9ebc876411afc4daea63b26032eda3bb21622ce780075e83032dc", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7eb0bfcb1ec9ebc876411afc4daea63b26032eda3bb21622ce780075e83032dc' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2ef8fc6317a976e71e6cac5d307b912d484426380450a93db86babd77e3d3cbf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 67"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "266c2fa3e422ad27f0027fd5edaec8fc24c0138f92ec7f2853d46e7e33e73a57"], ["uid", "2ef8fc6317a976e71e6cac5d307b912d484426380450a93db86babd77e3d3cbf"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '2ef8fc6317a976e71e6cac5d307b912d484426380450a93db86babd77e3d3cbf' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '36303e3f3c065a6fcfba4caa6ba699750b3baba3d3edf2aa5b22eef49e33de02' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 68"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "27befed436b5e3d551a9c80b452288d726d7f87182eef8baab5f481c419a8843"], ["uid", "36303e3f3c065a6fcfba4caa6ba699750b3baba3d3edf2aa5b22eef49e33de02"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cea0eae67cdbbeb7871baad113d18dcd963798a19f1942b93df8b0e9274443e6' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 69"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "319f7aca1abf42a21b69228dece3911da96629e44ccdc46c5912442a86148fbf"], ["uid", "cea0eae67cdbbeb7871baad113d18dcd963798a19f1942b93df8b0e9274443e6"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" IS NULL AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e295f7d5e438805313a778df4d1d05ffee9461fc7b37f970f19685d0be122aff' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 70"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "053831be680e15ec5da62174a8def39bc5275a3dd2ff5c8d54ac62993532266f"], ["uid", "e295f7d5e438805313a778df4d1d05ffee9461fc7b37f970f19685d0be122aff"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ef25f30838d570273fdc8c793961fce0bd17027f34d39edfc7699af0b936876b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 71"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eb4404154b808b400955bb0e60610d0510b70d19a8bd107ec3b1c85a47f62f24"], ["uid", "ef25f30838d570273fdc8c793961fce0bd17027f34d39edfc7699af0b936876b"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'e295f7d5e438805313a778df4d1d05ffee9461fc7b37f970f19685d0be122aff' AND "oauth_applications"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '48a003a76722a815a1716daa85b9aca63ed76b6575cfa70b64ec1867525faa44' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e2ef9a84ec65ed23ce102848367528ed9caac73f5ec1087afa0eb7a61c629294' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 73"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ce209a0f135565fdfde86923f6e84428e89ce1e79cc01ba147d3034d5ea76c34"], ["uid", "e2ef9a84ec65ed23ce102848367528ed9caac73f5ec1087afa0eb7a61c629294"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b7b3fccc145016b9404d3ef48e71c0cafbce31b816dbf561433a4c9851beae74' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 74"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "07f0ea2396a177c76dcf731dc22367ed4a258d2858aaed76b4d016414e6c8773"], ["uid", "b7b3fccc145016b9404d3ef48e71c0cafbce31b816dbf561433a4c9851beae74"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.3ms)  UPDATE "oauth_applications" SET "uid" = 'e2ef9a84ec65ed23ce102848367528ed9caac73f5ec1087afa0eb7a61c629294', "updated_at" = '2014-06-13 16:45:59.336666' WHERE "oauth_applications"."id" = 2
SQLite3::ConstraintException: column uid is not unique: UPDATE "oauth_applications" SET "uid" = 'e2ef9a84ec65ed23ce102848367528ed9caac73f5ec1087afa0eb7a61c629294', "updated_at" = '2014-06-13 16:45:59.336666' WHERE "oauth_applications"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6cb19baa88b03df5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 75"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6a06373a021e060073f1d872000d6a72d00b90312c692eb05ff29fd8398426d1"], ["uid", "6cb19baa88b03df5"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c652485d251e376768a09b49a2620f65a3bb91ca39f68cd8d1aecdea364ad5a2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 76"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6945b0fdec8cb1931d7c1795038bef9b2595c76104ab5946f4a31ef862e64800"], ["uid", "c652485d251e376768a09b49a2620f65a3bb91ca39f68cd8d1aecdea364ad5a2"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '172f5c6ec4d88487c096def4cb939d3e66e97190645ecb9cb4654f6ccdd1a4cb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 77"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bbfa43d06286e7dc"], ["uid", "172f5c6ec4d88487c096def4cb939d3e66e97190645ecb9cb4654f6ccdd1a4cb"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '18bc35af4c842b126be04c47feaf27df4cd69019b819f75d2e9653266e72a2e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 78"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e6b15a55dfbdb461405f1131e0be7ec837c4e9f18957b6a5ba2a28e013bd157d"], ["uid", "18bc35af4c842b126be04c47feaf27df4cd69019b819f75d2e9653266e72a2e7"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '18bc35af4c842b126be04c47feaf27df4cd69019b819f75d2e9653266e72a2e7' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '38f40196cb1d81c49c11dcd3732f496cf9b2280fc4ab9ebf591fa38469afcf43' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 79"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f0a46800bc385d29d3d095dd573b0df0db236ea79d34891efdb85c05eefa1104"], ["uid", "38f40196cb1d81c49c11dcd3732f496cf9b2280fc4ab9ebf591fa38469afcf43"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '38f40196cb1d81c49c11dcd3732f496cf9b2280fc4ab9ebf591fa38469afcf43' AND "oauth_applications"."secret" = 'f0a46800bc385d29d3d095dd573b0df0db236ea79d34891efdb85c05eefa1104' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '499bfd1b2c08d3039585493d028ed3470ef060f4ad7038f43cc84a351a438bed' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0cc2de2b0e5c0f5800310756177bb1092a1b796c376c2b73be03cac9c3840c97' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd71bbf7909065b05373f9c4a474800a2dd683d98c120ab7680bb15725cf6bc66' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e5f9e7ca755a73e7ca8ae24a9791e6bf4886e6812f6c5dc5cb0a30c9ba06a676' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 83"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "75728625ba470f12f902ca9305028f34358b9aadf194536177fe52a1952f42d6"], ["uid", "e5f9e7ca755a73e7ca8ae24a9791e6bf4886e6812f6c5dc5cb0a30c9ba06a676"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4d8fac5bfb2742237cb6e17a504ff4883075ee3020ae102ed7f4f906409855e2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", Wed, 11 Jun 2014 16:45:59 UTC +00:00], ["scopes", nil], ["token", "4d8fac5bfb2742237cb6e17a504ff4883075ee3020ae102ed7f4f906409855e2"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd43efb9cf5c8f4163ba03cec02dad788c4652fa74b87967e33a4f2cd8febb1b5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 84"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8d66203204e6e521e58b1598ff81d38ca1ffd05618e20ee15dcc722dae22b93d"], ["uid", "d43efb9cf5c8f4163ba03cec02dad788c4652fa74b87967e33a4f2cd8febb1b5"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '40e8e6c163f7f5849ed4c2a01fd979353f2f816370bfa26467e81d836cda9be5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "40e8e6c163f7f5849ed4c2a01fd979353f2f816370bfa26467e81d836cda9be5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '428f5fa4ec97f2d5c117efe10ddfeda98b6ac644c34fb7b6fbe5290f65d113c0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 85"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "39e88fd39123c926b19cb9031cbebcb7f9580e171a403fa8abf3c59af112b877"], ["uid", "428f5fa4ec97f2d5c117efe10ddfeda98b6ac644c34fb7b6fbe5290f65d113c0"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f27917fcdcf5f2bc67afc83f0137e3e0c87a9aa3672318617d42083ebdb00e6a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "f27917fcdcf5f2bc67afc83f0137e3e0c87a9aa3672318617d42083ebdb00e6a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3ca3c3e47c37539e683c142ed5cefbd62f93439087a68e06b8fab965548e5db7' LIMIT 1
  SQL (0.6ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 86"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3c43ebdc999bf5622f246d37e7ff6f1539e119ce41b1aae34cf7ba484f4a5c69"], ["uid", "3ca3c3e47c37539e683c142ed5cefbd62f93439087a68e06b8fab965548e5db7"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '001e4fa9e41315849a5d0701651b42cb07704d4d2e04de98325e4ca56e394ca1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", nil], ["token", "001e4fa9e41315849a5d0701651b42cb07704d4d2e04de98325e4ca56e394ca1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '290c47e40bbc381d3ea48e3bf4b09bcb519b3f4683c7e524ca64d5c013e26022' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 87"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f332f125a0399d42262e6634195b579059f3684065f8d7581643dd32745ba225"], ["uid", "290c47e40bbc381d3ea48e3bf4b09bcb519b3f4683c7e524ca64d5c013e26022"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'aa9478a4aa138d446425063d771613e62ccb593ddb23c2197fcb6ac458ad7d65' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "aa9478a4aa138d446425063d771613e62ccb593ddb23c2197fcb6ac458ad7d65"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af4613cadd93308d6bb8b0b2d46dc76889864680a497155409bba36f87bb76e2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 88"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8f319e7e2272197c44c4a7af55f162b4e1a884f0ce72c484ee4d1a9059fc7584"], ["uid", "af4613cadd93308d6bb8b0b2d46dc76889864680a497155409bba36f87bb76e2"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c444bedaf5020bc701205f9dace9f0828ccc7f90859a95b2aacf4a06759dc11c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "c444bedaf5020bc701205f9dace9f0828ccc7f90859a95b2aacf4a06759dc11c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '47a0373fba3341676b677a3666a3f6f32f392ea55b41f5c5505830f57b26c2b3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "47a0373fba3341676b677a3666a3f6f32f392ea55b41f5c5505830f57b26c2b3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.3ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
WARNING: Can't mass-assign protected attributes: uid, secret
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e67055fcfa1a47c32545f5754e31da147ada240c88c2f41017c680dd11b2f680' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Something"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://somewhere.com/something"], ["secret", "b37460dc2e98937e772c0520751f2ff817cf7d2b3fa11b0b23f308c5eb2ec4fd"], ["uid", "e67055fcfa1a47c32545f5754e31da147ada240c88c2f41017c680dd11b2f680"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5ed8ab1b745698b469df3f7addcb563bff8904f1be150a56ee9b56df76137334' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 89"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "355423549b86b94e51602a1eb5a86695ca80310893272bde8f39e08c3e0f4ca0"], ["uid", "5ed8ab1b745698b469df3f7addcb563bff8904f1be150a56ee9b56df76137334"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '2f5b2a139a72bda33ea59016a11ed8610d516ef9a5062e5cccfb8f7d31f938af' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "2f5b2a139a72bda33ea59016a11ed8610d516ef9a5062e5cccfb8f7d31f938af"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ?  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '127e06c2bbc4acab9c5d61c55e045dba61ae4c9bba4702ec32597cc9c7b35c73' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 90"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "513147c54d8228be030ed86d85204a1e8b8e63973bfd54dc6150fa171084994d"], ["uid", "127e06c2bbc4acab9c5d61c55e045dba61ae4c9bba4702ec32597cc9c7b35c73"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f0ca8501af6cd7e5d4c0b9fad72e6812ebb231ab186fed7dea4c257049cd2dd7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 18], ["revoked_at", nil], ["scopes", nil], ["token", "f0ca8501af6cd7e5d4c0b9fad72e6812ebb231ab186fed7dea4c257049cd2dd7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e413703959375711b88b2d5a3985be9fb697c693c407ae4b4d7a1718d9960d98' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 19], ["revoked_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["scopes", nil], ["token", "e413703959375711b88b2d5a3985be9fb697c693c407ae4b4d7a1718d9960d98"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 1]]
  SQL (0.0ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 2]]
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd9ae77d8eaab12c32d234770021265560e5e46c0634fb2cef6037ecd0ec838d7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 91"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d9576f1821d0dc16d1308ef6c8381505d5729954e970169bf4877fbf35df6573"], ["uid", "d9ae77d8eaab12c32d234770021265560e5e46c0634fb2cef6037ecd0ec838d7"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"d9ae77d8eaab12c32d234770021265560e5e46c0634fb2cef6037ecd0ec838d7", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd9ae77d8eaab12c32d234770021265560e5e46c0634fb2cef6037ecd0ec838d7' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '20bebc76123d33f7373dd7dd67220a58254ff9d32158ffe7e1c3987951e04fd3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 92"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2948869c01f2d0803a4049da280fc3ba40521db5a818db7a444cd2ad75c14ccb"], ["uid", "20bebc76123d33f7373dd7dd67220a58254ff9d32158ffe7e1c3987951e04fd3"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"20bebc76123d33f7373dd7dd67220a58254ff9d32158ffe7e1c3987951e04fd3", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '20bebc76123d33f7373dd7dd67220a58254ff9d32158ffe7e1c3987951e04fd3' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa0e826a54353759564a1c304061aff6ba60f2652988c8e9761aa42674caf753' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 93"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "24f109a36824419b7f29fb9e3df2b76dba3e452e843e31c297ebcb8b59087ebe"], ["uid", "aa0e826a54353759564a1c304061aff6ba60f2652988c8e9761aa42674caf753"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"aa0e826a54353759564a1c304061aff6ba60f2652988c8e9761aa42674caf753", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa0e826a54353759564a1c304061aff6ba60f2652988c8e9761aa42674caf753' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd1e154e12ff457eeaf6e143fe09227a30ca757fdc9932067e88d379709091b66' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 94"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3aef0ee6c841ca9b2d535857bba98e4a13f24b5e4a2b547eb55d174542b7febb"], ["uid", "d1e154e12ff457eeaf6e143fe09227a30ca757fdc9932067e88d379709091b66"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"d1e154e12ff457eeaf6e143fe09227a30ca757fdc9932067e88d379709091b66", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd1e154e12ff457eeaf6e143fe09227a30ca757fdc9932067e88d379709091b66' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c298d061c5a6341b086a2be974a02b3614647ba4f7abc0ef82011b3197fbebda' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 95"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ead440fb70a103110e4b81d7cf769e765bf1cd97677bf6d16d0a5c41ee1f34b1"], ["uid", "c298d061c5a6341b086a2be974a02b3614647ba4f7abc0ef82011b3197fbebda"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"c298d061c5a6341b086a2be974a02b3614647ba4f7abc0ef82011b3197fbebda", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c298d061c5a6341b086a2be974a02b3614647ba4f7abc0ef82011b3197fbebda' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1c17caa3da17898fb48ad882f65c81dea5932caa7e33f94b33e28419b3f29b93' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 96"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e0de0c6f7458aaf349a935b265ea5c57abe5e3665e33e5bdf2c7e595c973c66f"], ["uid", "1c17caa3da17898fb48ad882f65c81dea5932caa7e33f94b33e28419b3f29b93"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"1c17caa3da17898fb48ad882f65c81dea5932caa7e33f94b33e28419b3f29b93", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1c17caa3da17898fb48ad882f65c81dea5932caa7e33f94b33e28419b3f29b93' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9483a526d06567d9677e3a1b1dfb8ac5a790972f39fee4c12c418b18cb3b139f' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 97"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c2e4339d6e01880a9665bf532656f1a3a94f489154ac20259fb9887a2530e356"], ["uid", "9483a526d06567d9677e3a1b1dfb8ac5a790972f39fee4c12c418b18cb3b139f"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"9483a526d06567d9677e3a1b1dfb8ac5a790972f39fee4c12c418b18cb3b139f", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9483a526d06567d9677e3a1b1dfb8ac5a790972f39fee4c12c418b18cb3b139f' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a7489d63350fcb367f0ca68c8a2b8a52d8a037381167f7d9945fa61ba28c1e0d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 98"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "54f140104defa016bc68765d5db6df6905eaa0731fb85e956ae306abaeb02ada"], ["uid", "a7489d63350fcb367f0ca68c8a2b8a52d8a037381167f7d9945fa61ba28c1e0d"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"a7489d63350fcb367f0ca68c8a2b8a52d8a037381167f7d9945fa61ba28c1e0d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a7489d63350fcb367f0ca68c8a2b8a52d8a037381167f7d9945fa61ba28c1e0d' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '52e6736e61bb913afb9c0629f70c2b1fb182c0079dbcf848a7d6688d07ae72d4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "52e6736e61bb913afb9c0629f70c2b1fb182c0079dbcf848a7d6688d07ae72d4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=52e6736e61bb913afb9c0629f70c2b1fb182c0079dbcf848a7d6688d07ae72d4&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6269d5cf93057dba55bd2006c58a98cfb888e1e31c2dd85c0ab16752172b82a8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 99"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cc8d9fae09ae7cb944cbe356d25807d73baad2d8bcddcbf7757c3f16b1b600f5"], ["uid", "6269d5cf93057dba55bd2006c58a98cfb888e1e31c2dd85c0ab16752172b82a8"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"6269d5cf93057dba55bd2006c58a98cfb888e1e31c2dd85c0ab16752172b82a8", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6269d5cf93057dba55bd2006c58a98cfb888e1e31c2dd85c0ab16752172b82a8' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4475ef93d76303f115201a17708a15456ac9bcef5036d9a4b2ba53086615a937' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "4475ef93d76303f115201a17708a15456ac9bcef5036d9a4b2ba53086615a937"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=4475ef93d76303f115201a17708a15456ac9bcef5036d9a4b2ba53086615a937&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8087bd54e04c6074ef515b4cb3ab4018b2d9482adbf9009ff2d6636065b7f327' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 100"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "991da4fad9a2cd6c1e5683f6bec4d9d19af3b4201f05ce7491f0a4b1ea837af6"], ["uid", "8087bd54e04c6074ef515b4cb3ab4018b2d9482adbf9009ff2d6636065b7f327"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"8087bd54e04c6074ef515b4cb3ab4018b2d9482adbf9009ff2d6636065b7f327", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8087bd54e04c6074ef515b4cb3ab4018b2d9482adbf9009ff2d6636065b7f327' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5943356f95136909db1d42ae7bfa3d7880c2e29e90e40d167b192a1cc1d96bbb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "5943356f95136909db1d42ae7bfa3d7880c2e29e90e40d167b192a1cc1d96bbb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=5943356f95136909db1d42ae7bfa3d7880c2e29e90e40d167b192a1cc1d96bbb&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '069167e853daa3859c00628403fa893d0158f02daadc18f9a50a008e478088d0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 101"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "814f9e5147a57b5dad3350c27206d2771874898d846c75d3fb96d0fe1c602bd3"], ["uid", "069167e853daa3859c00628403fa893d0158f02daadc18f9a50a008e478088d0"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"069167e853daa3859c00628403fa893d0158f02daadc18f9a50a008e478088d0", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '069167e853daa3859c00628403fa893d0158f02daadc18f9a50a008e478088d0' LIMIT 1
  Doorkeeper::AccessToken Load (0.4ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b45312d3a97b7210bb071c4abe0806d19544dd0437586a713d31e1e446f30263' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "b45312d3a97b7210bb071c4abe0806d19544dd0437586a713d31e1e446f30263"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=b45312d3a97b7210bb071c4abe0806d19544dd0437586a713d31e1e446f30263&token_type=bearer&expires_in=7200
Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '72b0f782ffd86ae773efc1ebc78a3c1e1cc1270a4b9724af088bc8cc70501452' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 102"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "438cf0a9ef517d2fa43c91f1a990108b30252997e3749dc192caa4d1ee249983"], ["uid", "72b0f782ffd86ae773efc1ebc78a3c1e1cc1270a4b9724af088bc8cc70501452"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"72b0f782ffd86ae773efc1ebc78a3c1e1cc1270a4b9724af088bc8cc70501452", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '72b0f782ffd86ae773efc1ebc78a3c1e1cc1270a4b9724af088bc8cc70501452' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '20d530cc3dc94a7b8333b84bc2bfe10d2050b0a75178124fd9cbbc3805578a58' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "20d530cc3dc94a7b8333b84bc2bfe10d2050b0a75178124fd9cbbc3805578a58"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=20d530cc3dc94a7b8333b84bc2bfe10d2050b0a75178124fd9cbbc3805578a58&token_type=bearer&expires_in=7200
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e1db16d260e68d04b11ff6abc93dfed542b73d3f0e9add9dfe59482ec49f627' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 103"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "497582e2adf3a830ae894d0fe6d7623b8785c988f8ab59b59383bec555f49404"], ["uid", "7e1db16d260e68d04b11ff6abc93dfed542b73d3f0e9add9dfe59482ec49f627"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7e1db16d260e68d04b11ff6abc93dfed542b73d3f0e9add9dfe59482ec49f627", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e1db16d260e68d04b11ff6abc93dfed542b73d3f0e9add9dfe59482ec49f627' LIMIT 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '12e840feed49b8d1950ae0edfb82b6b8a5459e44630584195fce2cda5c791047' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "12e840feed49b8d1950ae0edfb82b6b8a5459e44630584195fce2cda5c791047"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=12e840feed49b8d1950ae0edfb82b6b8a5459e44630584195fce2cda5c791047&token_type=bearer&expires_in=7200
Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ec26954e335aad7056dfbfc80dadfb83d45ebd3602fa6ef033c4d6f53d825129' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 104"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "582aa285807c22fe33f95ff220dedc4176a70cc0e8fd75f30a6ff98c77fddf9b"], ["uid", "ec26954e335aad7056dfbfc80dadfb83d45ebd3602fa6ef033c4d6f53d825129"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"ec26954e335aad7056dfbfc80dadfb83d45ebd3602fa6ef033c4d6f53d825129", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ec26954e335aad7056dfbfc80dadfb83d45ebd3602fa6ef033c4d6f53d825129' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8344a5d58eb61330745f3e60d79e84cfbf0cb1474682d35e46d5eb78eb74438d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "8344a5d58eb61330745f3e60d79e84cfbf0cb1474682d35e46d5eb78eb74438d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=8344a5d58eb61330745f3e60d79e84cfbf0cb1474682d35e46d5eb78eb74438d&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6965c3b7936c98fa7d37451c995a81a4af3cbb85a5269568d5fea235570deb1c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 105"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2610668f896128676fe627c5505693957c04d78ae47ad44f40f6c6fdeba8f63d"], ["uid", "6965c3b7936c98fa7d37451c995a81a4af3cbb85a5269568d5fea235570deb1c"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"6965c3b7936c98fa7d37451c995a81a4af3cbb85a5269568d5fea235570deb1c", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6965c3b7936c98fa7d37451c995a81a4af3cbb85a5269568d5fea235570deb1c' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e10dfe2848aaec30d4c38b02a54d9a718ba651efb69be6ae682f2a140d63140f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "e10dfe2848aaec30d4c38b02a54d9a718ba651efb69be6ae682f2a140d63140f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=e10dfe2848aaec30d4c38b02a54d9a718ba651efb69be6ae682f2a140d63140f&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2bc103929ef3d030f8aa490948e9b0db5cf3f22f22c06fbd11244c142ecfe2eb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 106"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bc41e1d568456146fa62a750183eb44628943bae612ff46ca713c321ec3e697e"], ["uid", "2bc103929ef3d030f8aa490948e9b0db5cf3f22f22c06fbd11244c142ecfe2eb"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"2bc103929ef3d030f8aa490948e9b0db5cf3f22f22c06fbd11244c142ecfe2eb", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2bc103929ef3d030f8aa490948e9b0db5cf3f22f22c06fbd11244c142ecfe2eb' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f44ec58915c1b679d7c16113d86bc6f43be253b10ef04fa3a37a27640a0ae19a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "f44ec58915c1b679d7c16113d86bc6f43be253b10ef04fa3a37a27640a0ae19a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=f44ec58915c1b679d7c16113d86bc6f43be253b10ef04fa3a37a27640a0ae19a&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4d91801a75260d8609e278acba4f71cfae260cc08db7698adddd73643b24130e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 107"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2355eb35c9d6d62a11aa33b447c3df2520ad3144d8945ab4593266040dfe3c56"], ["uid", "4d91801a75260d8609e278acba4f71cfae260cc08db7698adddd73643b24130e"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"4d91801a75260d8609e278acba4f71cfae260cc08db7698adddd73643b24130e", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4d91801a75260d8609e278acba4f71cfae260cc08db7698adddd73643b24130e' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a902696715588657cd696f281ab84f9e30b53987683e54182c0f5ed503965868' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "a902696715588657cd696f281ab84f9e30b53987683e54182c0f5ed503965868"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=a902696715588657cd696f281ab84f9e30b53987683e54182c0f5ed503965868&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dc136d44059b7265c5385e0b268e30fb9315cf1ceb89f127b11ee17e3d0f386a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 108"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a98f10142daa64c06fba2abcd43d812c76414c031c2f4bbc932374ca7ddfd7fd"], ["uid", "dc136d44059b7265c5385e0b268e30fb9315cf1ceb89f127b11ee17e3d0f386a"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"dc136d44059b7265c5385e0b268e30fb9315cf1ceb89f127b11ee17e3d0f386a", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dc136d44059b7265c5385e0b268e30fb9315cf1ceb89f127b11ee17e3d0f386a' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6b0de888d9e0023a10b373ddd8b45ebfd580552fa13728930b982457c7cc74b9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "6b0de888d9e0023a10b373ddd8b45ebfd580552fa13728930b982457c7cc74b9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=6b0de888d9e0023a10b373ddd8b45ebfd580552fa13728930b982457c7cc74b9&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35711a24b31da9e72273424192f57afb5e44b89009624208acb542df759eb10f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 109"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cb4d09fff952508a8f8a42b04e8700c4093299af0b82417050f2109ec45a2b7b"], ["uid", "35711a24b31da9e72273424192f57afb5e44b89009624208acb542df759eb10f"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"35711a24b31da9e72273424192f57afb5e44b89009624208acb542df759eb10f", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35711a24b31da9e72273424192f57afb5e44b89009624208acb542df759eb10f' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '82e778532e2b2711ac5d9f438b8ea7fd35c58b8540c848c8b84cf1ce77e4cedb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "82e778532e2b2711ac5d9f438b8ea7fd35c58b8540c848c8b84cf1ce77e4cedb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=82e778532e2b2711ac5d9f438b8ea7fd35c58b8540c848c8b84cf1ce77e4cedb&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '83a28e587b36b7aaeccf2a6bc19082257205f7092ea1e3328789ae13c74c15df' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 110"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "29a7ab384f87520d7a2fe515ca6ccc48c4d1e2e1e4c29d201d462682ac2b104f"], ["uid", "83a28e587b36b7aaeccf2a6bc19082257205f7092ea1e3328789ae13c74c15df"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"83a28e587b36b7aaeccf2a6bc19082257205f7092ea1e3328789ae13c74c15df", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '83a28e587b36b7aaeccf2a6bc19082257205f7092ea1e3328789ae13c74c15df' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'cd289dd5b34da3abefc68df78b6d47ed07378199feec458d03498cea22872f1f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "cd289dd5b34da3abefc68df78b6d47ed07378199feec458d03498cea22872f1f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=cd289dd5b34da3abefc68df78b6d47ed07378199feec458d03498cea22872f1f&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.5ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e1b0b84356317ea975c9d8a0fb4e879c4f7fcac48e6d8a7437e69c5db79126b6' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 111"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "095bb80d0bed31e713c88417cfb34bc65ac42533cfb54f802335442bb55a0c61"], ["uid", "e1b0b84356317ea975c9d8a0fb4e879c4f7fcac48e6d8a7437e69c5db79126b6"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'dbd48b5666b21b509150aaf00e8f9b7ae04f41ed1d145b3e2dccfdf7236131fc' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aaae5f44bff1c3e2dc270d4560cd92a0a3e41c468e7812848d18d43fb023e512' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 112"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9af1b66cf8897fa0964ea1e2a81f2a6c383f82cab2918a32343e97c24ad22dca"], ["uid", "aaae5f44bff1c3e2dc270d4560cd92a0a3e41c468e7812848d18d43fb023e512"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6f6864aa955168e3abc3321b473d46c398260eac9910884c79e7208720b2ca2e' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '13b4c70fae3f243d9b98f7c375e54c3d80173863b0d5128359ba665e3fd3e9b9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 113"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "df981fe02944accbcb3931181fc369d3085805f054fd53a709d00b82f5c380d1"], ["uid", "13b4c70fae3f243d9b98f7c375e54c3d80173863b0d5128359ba665e3fd3e9b9"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6309ca5ea520c7454259430023091f0221d7fa92ea45f60b454f3c96055bcac0' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd6f965685052f609fb063b7f3c841938aa095d60909ef349aa67cc5443e18d48' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 114"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bdd3448da36505fdba805568912a0ab6359b295c7abf67662f53ceffef45f563"], ["uid", "d6f965685052f609fb063b7f3c841938aa095d60909ef349aa67cc5443e18d48"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1f37ae31f71d34d16e16e8e86261e05dc4753f3e45b4f3e739c6f2a9d1bde502' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 6], ["revoked_at", nil], ["scopes", "public write"], ["token", "1f37ae31f71d34d16e16e8e86261e05dc4753f3e45b4f3e739c6f2a9d1bde502"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" IS NULL AND "oauth_access_grants"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cd678ee061282bfc3d797209f34ca78e095fea7fc08a1ae4af2cc9abfdb2a224' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 115"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "52faa4a5c462958fd22c93c952f52b03163fbf3caefb0105dec3c9e6036582ad"], ["uid", "cd678ee061282bfc3d797209f34ca78e095fea7fc08a1ae4af2cc9abfdb2a224"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '9bb92add41c9982115d9326607e8793c2823abc7ff49eefffd7a37e54da4ddeb' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6bdd4a56372f44b8f389ac2411f77aa2be47427685af54847b2afd7b56102805' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 116"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "90d94820b9becddecf4aed78d98f4da295287407e7b56e25affb302d388ab9a1"], ["uid", "6bdd4a56372f44b8f389ac2411f77aa2be47427685af54847b2afd7b56102805"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8fb27724714883fa45c5a045f5685f403a74d2b332b9fca716264ebd8172791e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 117"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4012974ee87f7059f3ea7fc0db59310116df0e43570395ef2c0a78571c2b663c"], ["uid", "8fb27724714883fa45c5a045f5685f403a74d2b332b9fca716264ebd8172791e"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0793b951db709f925c23e30c98476deaced9361ef44f5cb259e91ff3c69fb87d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 118"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4a1220f40d7aed369c9e67f2a82b819038ea49e985eb6574a3886e21f2dd5efd"], ["uid", "0793b951db709f925c23e30c98476deaced9361ef44f5cb259e91ff3c69fb87d"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a2d46b057ceb15c1093cfa92434c9ce74ffcb00eaa700176357b4b40e3c976ec' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", "public write"], ["token", "a2d46b057ceb15c1093cfa92434c9ce74ffcb00eaa700176357b4b40e3c976ec"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '143dc3138e319600bf0bca4b2fc4dac4f4cfd99fc495e3a8b2e37fbbc66d8362' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 119"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7d57ae5492a7889857060e8aa3a7a20210650c589bcf1ff9d990701d0e9ad646"], ["uid", "143dc3138e319600bf0bca4b2fc4dac4f4cfd99fc495e3a8b2e37fbbc66d8362"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'e5954be76c50ce338d1f3eaef360b6aa1b111479cf264071139478c54fed0d70' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "e5954be76c50ce338d1f3eaef360b6aa1b111479cf264071139478c54fed0d70"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  UPDATE "oauth_access_grants" SET "token" = 'a2d46b057ceb15c1093cfa92434c9ce74ffcb00eaa700176357b4b40e3c976ec' WHERE "oauth_access_grants"."id" = 2
SQLite3::ConstraintException: column token is not unique: UPDATE "oauth_access_grants" SET "token" = 'a2d46b057ceb15c1093cfa92434c9ce74ffcb00eaa700176357b4b40e3c976ec' WHERE "oauth_access_grants"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '961067aaf7c860036496c4adc414816c1efedbf569c2821303064ac8ab1812e0' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 120"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2ee63418a2106a1080c91bdbd0f18ed9859c9ec7162468ec1e57cfcecf24f16d"], ["uid", "961067aaf7c860036496c4adc414816c1efedbf569c2821303064ac8ab1812e0"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '205ab4307e186852d7a23c209d03f25a15e6f7721bfddfc0253067b3d1446beb' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ea40dd3b381c0216934450bd1526d5f45257ef6fab09c2c815a7d5f646c96c30' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 121"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "097ebf7cac6c53db9b6148b78bf85a754f2686418b5dfb10a451a16995f472b4"], ["uid", "ea40dd3b381c0216934450bd1526d5f45257ef6fab09c2c815a7d5f646c96c30"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'cff03514cc071e9a9d00f806b220d4a70501e37c4950c584ebbca2e4271410e3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", "public write"], ["token", "cff03514cc071e9a9d00f806b220d4a70501e37c4950c584ebbca2e4271410e3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8b29f4e1cbc9fcb39da6f6f3a536b0837c674de50443f993cbc6631bf912673e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 122"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2e49c1159bc23d84752560d6cb8cbad676e5f07f9b822d5e445d0cc4b3fa2d51"], ["uid", "8b29f4e1cbc9fcb39da6f6f3a536b0837c674de50443f993cbc6631bf912673e"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '90c3b2ff68a2d05dd3a926a9d7655f98314b6d57066d54fb7658c31f5a71506c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", "public write"], ["token", "90c3b2ff68a2d05dd3a926a9d7655f98314b6d57066d54fb7658c31f5a71506c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" = 'cff03514cc071e9a9d00f806b220d4a70501e37c4950c584ebbca2e4271410e3' AND "oauth_access_grants"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b918096dda9bad53b6b7c523179d966a8328e1bc10e44ece5034c1165549aae5' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 123"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "09e1afe4aa07e3bfa66df94f65637c4a40c94769ca4c802ba06cbce2e03ffc19"], ["uid", "b918096dda9bad53b6b7c523179d966a8328e1bc10e44ece5034c1165549aae5"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1050b986ba7304bd4480eadaa2f45bb971241afed3d1b1a10b6ed895fc6f6bc7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 15], ["revoked_at", nil], ["scopes", "public write"], ["token", "1050b986ba7304bd4480eadaa2f45bb971241afed3d1b1a10b6ed895fc6f6bc7"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b480acdb261b50c0ee288c1fa9cdc5bec24a200688bf40a2809bf11865937e85' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 124"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "544d5afe3708f41a4d29590393675dc295d835793cfd2d57c35fc60ffdd3156f"], ["uid", "b480acdb261b50c0ee288c1fa9cdc5bec24a200688bf40a2809bf11865937e85"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a39a3f865721e6b5aba04db7da1d2022c3e0b920cca975eb88d18e7eac843208' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 16], ["revoked_at", nil], ["scopes", "public write"], ["token", "a39a3f865721e6b5aba04db7da1d2022c3e0b920cca975eb88d18e7eac843208"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.2ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::ApplicationsController#index as HTML
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dab32ba35743eb8b2c85a38860b154c512cd8571b3763e8efee992b0042c5d9b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 125"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "abef0b1e9ef29237d016e257822736146a3a0ed29e1d11d1e61e3bd196403e10"], ["uid", "dab32ba35743eb8b2c85a38860b154c512cd8571b3763e8efee992b0042c5d9b"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}, "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'dab32ba35743eb8b2c85a38860b154c512cd8571b3763e8efee992b0042c5d9b' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Example', "redirect_uri" = 'http://example.com', "updated_at" = '2014-06-13 16:45:59.938465' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '79a965b0d14d418be491e96e9854ec2e7615100772ee1eecced6e16f0116e06b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Example"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "629fdf7b4b137368e732db44198966ba17beda2d6c7947395358cef97e7a53cf"], ["uid", "79a965b0d14d418be491e96e9854ec2e7615100772ee1eecced6e16f0116e06b"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7b92139d7d959a41a08a74556ee4cc7d2b57bf6c3c16a96bfc2ce206757efa70' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 126"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "726a5b52bc3a5b3e76b84fcd56254f1d290ca832b1b43317ab205d7e243e1d66"], ["uid", "7b92139d7d959a41a08a74556ee4cc7d2b57bf6c3c16a96bfc2ce206757efa70"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '7b92139d7d959a41a08a74556ee4cc7d2b57bf6c3c16a96bfc2ce206757efa70' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["name", "Application 127"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7"], ["uid", "2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85"], ["updated_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", "public write"], ["token", "1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc&client_id=2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85&client_secret=ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc", "client_id"=>"2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85", "client_secret"=>"ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85' AND "oauth_applications"."secret" = 'ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:45:59' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1946f7a442509df095d65ced9b883f4ef9b0fa0603c293f3909d9e48bc10b0a4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:45:59 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", "public write"], ["token", "1946f7a442509df095d65ced9b883f4ef9b0fa0603c293f3909d9e48bc10b0a4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code=1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc&client_id=2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85&client_secret=ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:45:59 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc", "client_id"=>"2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85", "client_secret"=>"ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1b97a854936c1f91d722f0d57d57cefcab10f089ff4faaa695469867b20431bc' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2dfcd036ad6b4cae3d9a869a2c39d44cd68ce024fe657245248eb8e7bbc65d85' AND "oauth_applications"."secret" = 'ffadd9ae202bba743646007d194c5c397001a565db531671f8673fbbc23fdab7' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65cbd70f3a38df9fc204e0155487af2471cf63d335c73f3db07d63f616d74990' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 128"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "728276bbb012757f366ee7229300bb1f2a838f5be5905eace71f6dff8e11a4fc"], ["uid", "65cbd70f3a38df9fc204e0155487af2471cf63d335c73f3db07d63f616d74990"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.2ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '879f6d93fb0961648bbf23d2b2454bb39c5e44b725336b816bfe2816d22ae638' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 18], ["revoked_at", nil], ["scopes", "public write"], ["token", "879f6d93fb0961648bbf23d2b2454bb39c5e44b725336b816bfe2816d22ae638"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=invalid&client_id=65cbd70f3a38df9fc204e0155487af2471cf63d335c73f3db07d63f616d74990&client_secret=728276bbb012757f366ee7229300bb1f2a838f5be5905eace71f6dff8e11a4fc&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"invalid", "client_id"=>"65cbd70f3a38df9fc204e0155487af2471cf63d335c73f3db07d63f616d74990", "client_secret"=>"728276bbb012757f366ee7229300bb1f2a838f5be5905eace71f6dff8e11a4fc", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65cbd70f3a38df9fc204e0155487af2471cf63d335c73f3db07d63f616d74990' AND "oauth_applications"."secret" = '728276bbb012757f366ee7229300bb1f2a838f5be5905eace71f6dff8e11a4fc' LIMIT 1
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a76b43897f9baef45f5ef4d20329513e580d92b33ec1c5126c192d2292bba913' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "a76b43897f9baef45f5ef4d20329513e580d92b33ec1c5126c192d2292bba913"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7745f5d356f26f0fc3804cb9b60c38999125397b9787facbda77c5d2c6680c76' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "7745f5d356f26f0fc3804cb9b60c38999125397b9787facbda77c5d2c6680c76"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.5ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65322d1facb72462fd339e519302c9dafef599ae1e5325323a451bd5478ce330' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 129"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "aab085b1a8d9ad32d66fde096da6227c885592584fe2fa06ee26f62df8a2123e"], ["uid", "65322d1facb72462fd339e519302c9dafef599ae1e5325323a451bd5478ce330"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65322d1facb72462fd339e519302c9dafef599ae1e5325323a451bd5478ce330' AND "oauth_applications"."secret" = 'aab085b1a8d9ad32d66fde096da6227c885592584fe2fa06ee26f62df8a2123e' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2bbe860e5fdf5ff326ca44a284129da8667872e6b09ea33fa61b192b1e227815' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "2bbe860e5fdf5ff326ca44a284129da8667872e6b09ea33fa61b192b1e227815"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e803d811a4e48e42c8686361fa6b9b73c011f0223519f0ad86e1fee8bf64cbb2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 130"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "29799ed75b6601153492ff5398ce25beb6f5cd655f709e0fb86e51280f35546f"], ["uid", "e803d811a4e48e42c8686361fa6b9b73c011f0223519f0ad86e1fee8bf64cbb2"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e803d811a4e48e42c8686361fa6b9b73c011f0223519f0ad86e1fee8bf64cbb2' AND "oauth_applications"."secret" = '29799ed75b6601153492ff5398ce25beb6f5cd655f709e0fb86e51280f35546f' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '543fbe5e42b7e110867053bb63fd8f474135ed1aa2603921d032e1c9d4d4e5e8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "write"], ["token", "543fbe5e42b7e110867053bb63fd8f474135ed1aa2603921d032e1c9d4d4e5e8"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5431cd60aed384d43af8d031481851357e89f7cba5c912281d07b5c6947f50e2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 131"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cc5f8f9837f841e698464aad2b756b8bf54a911935e2d22c64cb457915a67d3b"], ["uid", "5431cd60aed384d43af8d031481851357e89f7cba5c912281d07b5c6947f50e2"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=5431cd60aed384d43af8d031481851357e89f7cba5c912281d07b5c6947f50e2&response_type=token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"5431cd60aed384d43af8d031481851357e89f7cba5c912281d07b5c6947f50e2", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5431cd60aed384d43af8d031481851357e89f7cba5c912281d07b5c6947f50e2' LIMIT 1
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b6e565e3cad0435fe469955d065f47c25aabd078a2e6b1d073e2de169987c84e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 132"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "995d8d57332eaf15340790a581500aba5faa3b8b6295b6ba454c3250001ac124"], ["uid", "b6e565e3cad0435fe469955d065f47c25aabd078a2e6b1d073e2de169987c84e"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'invalid' LIMIT 1
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '82fac76187e7a2f0fd871abf8073f0d8c0f970df9cbf66e9d579a49c73439652' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 133"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d754e3cb127b8a25cae75079b6ebddc56010513c16c3b24b06ae0c9441268d31"], ["uid", "82fac76187e7a2f0fd871abf8073f0d8c0f970df9cbf66e9d579a49c73439652"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=82fac76187e7a2f0fd871abf8073f0d8c0f970df9cbf66e9d579a49c73439652&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"82fac76187e7a2f0fd871abf8073f0d8c0f970df9cbf66e9d579a49c73439652", "redirect_uri"=>"invalid", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '82fac76187e7a2f0fd871abf8073f0d8c0f970df9cbf66e9d579a49c73439652' LIMIT 1
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b7021ffda66dd0a0bc37b420fc800e31d43b7624fa5bc8fba998075f970b262e' LIMIT 1
  SQL (0.9ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 134"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "507d17cdc4a884877edee190b5b88201fcf8a6fc4454741cc314871af1ec5e9e"], ["uid", "b7021ffda66dd0a0bc37b420fc800e31d43b7624fa5bc8fba998075f970b262e"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '62d69b04972be8bbbb3fd957158598d76e14bec4833b1277846f28549f07c37d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 135"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "686750930088308e8a79f563702d089ba923a5dc222c0d41bb4c0a2f73a73054"], ["uid", "62d69b04972be8bbbb3fd957158598d76e14bec4833b1277846f28549f07c37d"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'e234fcc7a29273b1719d337c47df63207e6d9a5600b2d0cb490f89555204080a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 19], ["revoked_at", nil], ["scopes", "public write"], ["token", "e234fcc7a29273b1719d337c47df63207e6d9a5600b2d0cb490f89555204080a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '99861983696347bba5721da57c0df12c874742b373b3d73a1e248efdad94182a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 136"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8c9f0ca2ebeb51670bc82476bf11bba8c861106a9834245e6286e9e6742c1360"], ["uid", "99861983696347bba5721da57c0df12c874742b373b3d73a1e248efdad94182a"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '84d5f0e32ca4ac2de114e33ba3f106334a6db388ba742eac8b787c1964856346' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 20], ["revoked_at", nil], ["scopes", "public write"], ["token", "84d5f0e32ca4ac2de114e33ba3f106334a6db388ba742eac8b787c1964856346"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7768a3d238fffdee7123819a81777ddd91aeea572463446f0660ff420ccad36d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 20], ["revoked_at", nil], ["scopes", "public write"], ["token", "7768a3d238fffdee7123819a81777ddd91aeea572463446f0660ff420ccad36d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2c30caa3097ab928910d2ad8feab45cd1a59c3e7b95f8aa52c2d190352ca550c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 137"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "01f55422b3c1ec09339b572b3fac7ff531eb227a20489dda2a28e84ab9ac0cdf"], ["uid", "2c30caa3097ab928910d2ad8feab45cd1a59c3e7b95f8aa52c2d190352ca550c"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '5de340b95e38d660ec396bea472eb4437002dbd7545122b1936bcdfed939faf2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 21], ["revoked_at", nil], ["scopes", "public write"], ["token", "5de340b95e38d660ec396bea472eb4437002dbd7545122b1936bcdfed939faf2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c110327f3ec52bc3c98bad6416bbf6646f2e18b503864add3f5b592852624766' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 138"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8b41bfe6df02f34f119edca0aa20ecf9eabf2c3c3f20b9f60e16a66f08003de9"], ["uid", "c110327f3ec52bc3c98bad6416bbf6646f2e18b503864add3f5b592852624766"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '084d79634d70f505bbe7df19f41d886cb2a845c98121b7baeafab87892eae0c9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", "public write"], ["token", "084d79634d70f505bbe7df19f41d886cb2a845c98121b7baeafab87892eae0c9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'edcf0a8f370e0278b89b21cf2b96a2ac8c217e151521f70cb4d39566aae19eb5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 139"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "daa51328e242e79e07c5ad8de2d439eafe8fa66ec1043532f9a3e087cddf497a"], ["uid", "edcf0a8f370e0278b89b21cf2b96a2ac8c217e151521f70cb4d39566aae19eb5"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b308b20c40e0679b66cb910cdd3bd3e8d67b629ce946efd0f79e6b9bc7419058' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", "public write"], ["token", "b308b20c40e0679b66cb910cdd3bd3e8d67b629ce946efd0f79e6b9bc7419058"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8dae2c13f50124c4cebec7dad6428a5d88b1b9b797b67c9392aa34c19a70fad0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", "public write"], ["token", "8dae2c13f50124c4cebec7dad6428a5d88b1b9b797b67c9392aa34c19a70fad0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90848ba7e7500a10a6f1530388e655217cf6d60940d4e7e0551f7fe4269e91e1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 140"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5071840b872a681cd66a1c7308193b6c76211aae118fc3d9c2e7375abecd96a7"], ["uid", "90848ba7e7500a10a6f1530388e655217cf6d60940d4e7e0551f7fe4269e91e1"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6931f8532a21687febbf29c86a2cf2d76f82ef678324242e06280578bd13ddde' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", "public write"], ["token", "6931f8532a21687febbf29c86a2cf2d76f82ef678324242e06280578bd13ddde"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5378735e98c4dc202ac4a63cb50f529c5b66267238fe4934a96d754886f7dacc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 141"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8a0819c528fda5e8e40313c03e0f3c0f74d8471d815df061e4ee6d62ab07198f"], ["uid", "5378735e98c4dc202ac4a63cb50f529c5b66267238fe4934a96d754886f7dacc"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '748dde888d52d452909f9944bd02682eb4dc72465f9b7f945c38465f14b9f697' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", "public write"], ["token", "748dde888d52d452909f9944bd02682eb4dc72465f9b7f945c38465f14b9f697"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.0ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '49e0e2d85c0e32ad020276997e59f09cfa2858039c6ccc9bcf4ead692c1be93a' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", "public write"], ["token", "49e0e2d85c0e32ad020276997e59f09cfa2858039c6ccc9bcf4ead692c1be93a"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a135cd0fb68465ddb5ed3f49f90eb08df06eb18d774d86e33c5d0975d7061f11' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 142"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3359e1c78ae780242f0b4e36fca7c70674e417a430b185413e65a946f081135e"], ["uid", "a135cd0fb68465ddb5ed3f49f90eb08df06eb18d774d86e33c5d0975d7061f11"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd6f17e666d95f8bfebaaae9bd3c9aecbcacd58b96bae6f1bcf450c696b3b61ee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", "public write"], ["token", "d6f17e666d95f8bfebaaae9bd3c9aecbcacd58b96bae6f1bcf450c696b3b61ee"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1e5c386452c7a1d126c4860518c74f2f659b341aadc7725b348362cefde9a74c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 143"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a125a477c90cebef88f76a15a0d8ed92efbb186484c82aafab4be5305e47eb77"], ["uid", "1e5c386452c7a1d126c4860518c74f2f659b341aadc7725b348362cefde9a74c"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '4e97303375832b902ba90d36a65248a905b4fc38bef30d695a328b278206fb75' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", "public write"], ["token", "4e97303375832b902ba90d36a65248a905b4fc38bef30d695a328b278206fb75"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '649f3f19ba3d292fa471d9f9e6093c956f4fc7f1303a22a23e9d79546e6f0863' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 144"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4f3d4cc03976da1f9465f4fd09a5b24c69755930275fa2de650213ff75d44998"], ["uid", "649f3f19ba3d292fa471d9f9e6093c956f4fc7f1303a22a23e9d79546e6f0863"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '658dc52124c7eb9f255a4274b0361f6e1b577ea10eed60087c020fb53c61ed99' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 145"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "335fb17d4e65997b1ace2a066bc20aa39520a0ffcb57f95713776660409e00b3"], ["uid", "658dc52124c7eb9f255a4274b0361f6e1b577ea10eed60087c020fb53c61ed99"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'c7896455132c1cbbc0727e9aa20b0e4425ed41db1c1b38c05dc3e294e99de488' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", "public write"], ["token", "c7896455132c1cbbc0727e9aa20b0e4425ed41db1c1b38c05dc3e294e99de488"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9967c1c8b045aa2ad0ccea7dc75d12ba7876859b4c6699ba1b739429f3650359' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", "public write"], ["token", "9967c1c8b045aa2ad0ccea7dc75d12ba7876859b4c6699ba1b739429f3650359"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 28 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '34caee4f171746c967d27e3e6bd6151255a1545d7d10cf0a88b8c7e58535ab67' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 146"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "33762199ed0cec41b516b902f80ed48615ac4b598b2aad3e463d928d07661a2c"], ["uid", "34caee4f171746c967d27e3e6bd6151255a1545d7d10cf0a88b8c7e58535ab67"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '73fdc29e1f721bdc3f870fe76b1b5eb6c01b7fce94cfa33cf10cc5e3a92e140e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'b1b823b8de2ae11273c99ac860245eef59ae2d0cdeb8b711c8dbbef35eeeb75d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "b1b823b8de2ae11273c99ac860245eef59ae2d0cdeb8b711c8dbbef35eeeb75d"], ["resource_owner_id", 20], ["revoked_at", nil], ["scopes", nil], ["token", "73fdc29e1f721bdc3f870fe76b1b5eb6c01b7fce94cfa33cf10cc5e3a92e140e"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '34caee4f171746c967d27e3e6bd6151255a1545d7d10cf0a88b8c7e58535ab67' AND "oauth_applications"."secret" = '33762199ed0cec41b516b902f80ed48615ac4b598b2aad3e463d928d07661a2c' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd2aa2b84ceef0e3f34976ed0ded87e23639f8f9c3ad6fb33337a8db64ed71006' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 147"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0ed17cdd75cfe3d3b9269984680388cd043159f14f090ebbef4bfaf7cf4e34c7"], ["uid", "d2aa2b84ceef0e3f34976ed0ded87e23639f8f9c3ad6fb33337a8db64ed71006"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '191fcf5dbbba2d88941afec2e1824ea46bd1ed4444a18da17e942ad4279ba009' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '04ae3cc67ac65eeb01dc6054833cab357f8bd7ca7600ad38e9daaeb8e4bc4247' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "04ae3cc67ac65eeb01dc6054833cab357f8bd7ca7600ad38e9daaeb8e4bc4247"], ["resource_owner_id", 21], ["revoked_at", nil], ["scopes", nil], ["token", "191fcf5dbbba2d88941afec2e1824ea46bd1ed4444a18da17e942ad4279ba009"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd2aa2b84ceef0e3f34976ed0ded87e23639f8f9c3ad6fb33337a8db64ed71006' AND "oauth_applications"."secret" = '0ed17cdd75cfe3d3b9269984680388cd043159f14f090ebbef4bfaf7cf4e34c7' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fc0e3d2553b57942ec724667abaaccf47c5fb7d596edea853ebc3790689c1b01' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 148"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a137249a88c546322e50245a1ef67f00a37397ff02880dd55d10850cd7b52e8c"], ["uid", "fc0e3d2553b57942ec724667abaaccf47c5fb7d596edea853ebc3790689c1b01"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '93cf361274636a80f7659c88eedd4a162e282044adc51fc4e53095c41dbe0d8a' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '519f63cfb1e45414eef88bad511aa07e0e8b408c6277f495b3829d00188b6973' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "519f63cfb1e45414eef88bad511aa07e0e8b408c6277f495b3829d00188b6973"], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", nil], ["token", "93cf361274636a80f7659c88eedd4a162e282044adc51fc4e53095c41dbe0d8a"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fc0e3d2553b57942ec724667abaaccf47c5fb7d596edea853ebc3790689c1b01' AND "oauth_applications"."secret" = 'a137249a88c546322e50245a1ef67f00a37397ff02880dd55d10850cd7b52e8c' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ea1197594d679f5974ddc1382670d46e481ca9434b1e9d9a4ada1f7fbf38fce5' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5bfd67de12bce66227ea1ed38d0ee0eb35b595aa971a892587526ece9b14d790' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 120], ["refresh_token", "5bfd67de12bce66227ea1ed38d0ee0eb35b595aa971a892587526ece9b14d790"], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", ""], ["token", "ea1197594d679f5974ddc1382670d46e481ca9434b1e9d9a4ada1f7fbf38fce5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cc7c6ddad74e8882d362cb2afabecac36468de5c154566c5de5ab771029e678e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 149"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8e5e41bb3bace7b4d405f1c26753511f2adf0bfb705eefd71e987ca5a151bd44"], ["uid", "cc7c6ddad74e8882d362cb2afabecac36468de5c154566c5de5ab771029e678e"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '973a9684b502630b6d99bc599e398b7947d71fe6f8206e737488c0f4d7693ef7' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '961912935c01ef9715e1c507164024a4bc38101eb3019fca7d1c0f55e7b06537' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "961912935c01ef9715e1c507164024a4bc38101eb3019fca7d1c0f55e7b06537"], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", nil], ["token", "973a9684b502630b6d99bc599e398b7947d71fe6f8206e737488c0f4d7693ef7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cc7c6ddad74e8882d362cb2afabecac36468de5c154566c5de5ab771029e678e' AND "oauth_applications"."secret" = '8e5e41bb3bace7b4d405f1c26753511f2adf0bfb705eefd71e987ca5a151bd44' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c4eea9284fe90b731ef35350de0e509a61e09e2b64fe731058ff4b71d7ebee80' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 150"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b3ed7e70409629c966b1be57c5783c3b94118ab69f42475c8b2650394e23a463"], ["uid", "c4eea9284fe90b731ef35350de0e509a61e09e2b64fe731058ff4b71d7ebee80"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6f0945831ebfec7f4cc6f8be05a7fbf3778e9c69c3f662430a007014db4ecdaf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 151"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6eddf96f66d7acd464fe063e08bbe3d62bf69fa463ac51d2c319edb0d8b0bc2d"], ["uid", "6f0945831ebfec7f4cc6f8be05a7fbf3778e9c69c3f662430a007014db4ecdaf"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '09d7c01707d64f7f52850eafdbbfbe7ca5db151ba62297590a75faafd1831141' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5a344792700b9b07805fda7cd5d707833e09d7ab1416a1396bd1354aefe54208' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5a344792700b9b07805fda7cd5d707833e09d7ab1416a1396bd1354aefe54208"], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", nil], ["token", "09d7c01707d64f7f52850eafdbbfbe7ca5db151ba62297590a75faafd1831141"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6f0945831ebfec7f4cc6f8be05a7fbf3778e9c69c3f662430a007014db4ecdaf' AND "oauth_applications"."secret" = '6eddf96f66d7acd464fe063e08bbe3d62bf69fa463ac51d2c319edb0d8b0bc2d' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '932dd6522f60df1d4a1ab0992a09c7a54f76bbb201bdacd046c727bc9e8d1a1c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '020fbcfa32b9ca50f1661f3252da46989d3c9b837f1fe8a83433521686e4f85e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 120], ["refresh_token", "020fbcfa32b9ca50f1661f3252da46989d3c9b837f1fe8a83433521686e4f85e"], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", ""], ["token", "932dd6522f60df1d4a1ab0992a09c7a54f76bbb201bdacd046c727bc9e8d1a1c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2c36e5e5e764c3ee32614ba7c034b70e31ca077452b6e018bf935aa8962f5822' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 152"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "160542c0d8f05076d669dda86356665841c2321215f5c7c94e5da209dcdc1555"], ["uid", "2c36e5e5e764c3ee32614ba7c034b70e31ca077452b6e018bf935aa8962f5822"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bd875e1c5856941a98c776f0a3738230deaf7ba9c4641e1765ff633936b637fc' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '68fb70a28e2d22ce5cde67cbf0491aeebaa6ab5b8aad1da573bd9d1499915dec' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "68fb70a28e2d22ce5cde67cbf0491aeebaa6ab5b8aad1da573bd9d1499915dec"], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", nil], ["token", "bd875e1c5856941a98c776f0a3738230deaf7ba9c4641e1765ff633936b637fc"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = 'bd875e1c5856941a98c776f0a3738230deaf7ba9c4641e1765ff633936b637fc' AND "oauth_access_tokens"."id" != 1) LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = '68fb70a28e2d22ce5cde67cbf0491aeebaa6ab5b8aad1da573bd9d1499915dec' AND "oauth_access_tokens"."id" != 1) LIMIT 1
   (0.2ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -1 WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2c36e5e5e764c3ee32614ba7c034b70e31ca077452b6e018bf935aa8962f5822' AND "oauth_applications"."secret" = '160542c0d8f05076d669dda86356665841c2321215f5c7c94e5da209dcdc1555' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3f993da121023e699931e163f812d3cf3f0fe93686c94ba86338659edb23626c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 153"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f1711df197af7bc4d7d625a114e1b217f42bb2b2c8687f7e98f11173ad844245"], ["uid", "3f993da121023e699931e163f812d3cf3f0fe93686c94ba86338659edb23626c"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c73ba2d50201ce052f0de6bc49ff02e765d4e2b8d5821f8eac73ee965b2c1ed0' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'f01acde8767fa9d31b7610700842ede451856052b73ee566934eff8241d8b115' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "f01acde8767fa9d31b7610700842ede451856052b73ee566934eff8241d8b115"], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", nil], ["token", "c73ba2d50201ce052f0de6bc49ff02e765d4e2b8d5821f8eac73ee965b2c1ed0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3f993da121023e699931e163f812d3cf3f0fe93686c94ba86338659edb23626c' AND "oauth_applications"."secret" = 'f1711df197af7bc4d7d625a114e1b217f42bb2b2c8687f7e98f11173ad844245' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8a7c309a1ebdf2cf554e27743cfd5eadc3fb1e2c6f0a65d17481511407cd2e36' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a8883d5efc37075fe4b96f7673f794a03f3cfef62a41c30b6dc84321a4ff0391' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a8883d5efc37075fe4b96f7673f794a03f3cfef62a41c30b6dc84321a4ff0391"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", nil], ["token", "8a7c309a1ebdf2cf554e27743cfd5eadc3fb1e2c6f0a65d17481511407cd2e36"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b52ce3900c50e384bf70f83f96fb121a48fb6d77aed0019d7f97c7d775467a82' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '252923ba47e9edaf0b4e076f7d2599d1a4c76e81bc5f38227d46eb82b60722ba' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 120], ["refresh_token", "252923ba47e9edaf0b4e076f7d2599d1a4c76e81bc5f38227d46eb82b60722ba"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", ""], ["token", "b52ce3900c50e384bf70f83f96fb121a48fb6d77aed0019d7f97c7d775467a82"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46a5470b53393b3916718c41b02ae2c245a237fb4df6e47b3c0bf4b4497ca550' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 154"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a5953c5db97de22abcdb4ad526a13e1c1c436aedb6d277ba838e947260dd26d5"], ["uid", "46a5470b53393b3916718c41b02ae2c245a237fb4df6e47b3c0bf4b4497ca550"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e3cdba4f5f64ff24071c8f267b703c10b908e2f3342bf91f6bbe52d01dcaf49b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '1fda1a8a0ae9cbeb24e42050313a722ec552323e58584a3914412ceb5941ef77' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "1fda1a8a0ae9cbeb24e42050313a722ec552323e58584a3914412ceb5941ef77"], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", "public write"], ["token", "e3cdba4f5f64ff24071c8f267b703c10b908e2f3342bf91f6bbe52d01dcaf49b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46a5470b53393b3916718c41b02ae2c245a237fb4df6e47b3c0bf4b4497ca550' AND "oauth_applications"."secret" = 'a5953c5db97de22abcdb4ad526a13e1c1c436aedb6d277ba838e947260dd26d5' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '874c472f1783a844eed0db4b096f17b6445d4e7e751e773b9b71e514d764fac3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 155"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0f374c3485dab1ddaa73ac2220d1cee03924c6b88f92eb16000ca0b707c587d9"], ["uid", "874c472f1783a844eed0db4b096f17b6445d4e7e751e773b9b71e514d764fac3"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4819b335de24cf629e2261288796e8fb55d33e9d99e87c3e41be617b4d40f785' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '0ec2e25d41671afa0672400369b409c8ef516b4617baeab5f8349e5a951cc86b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "0ec2e25d41671afa0672400369b409c8ef516b4617baeab5f8349e5a951cc86b"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public write"], ["token", "4819b335de24cf629e2261288796e8fb55d33e9d99e87c3e41be617b4d40f785"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '874c472f1783a844eed0db4b096f17b6445d4e7e751e773b9b71e514d764fac3' AND "oauth_applications"."secret" = '0f374c3485dab1ddaa73ac2220d1cee03924c6b88f92eb16000ca0b707c587d9' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ca2eccc2e382ac7975b5eff7cbfc5b690e579cea967c0b2018b78cfca9c9e175' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'dead38e3aa481c1cd1b2c052fdd20a77c60c49b3c50094d1e899c97f43c6f4f3' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 120], ["refresh_token", "dead38e3aa481c1cd1b2c052fdd20a77c60c49b3c50094d1e899c97f43c6f4f3"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public write"], ["token", "ca2eccc2e382ac7975b5eff7cbfc5b690e579cea967c0b2018b78cfca9c9e175"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8923dbede54c8b8e0094b218f17900b7beae3d4086d6274e2d94301739385f30' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 156"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1a004bfc1a8e57f9a5564990d780a36c67b42ee23794d64e4a87696012b4dd76"], ["uid", "8923dbede54c8b8e0094b218f17900b7beae3d4086d6274e2d94301739385f30"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8b87c29d3a70fdee0a77b884b42a079024d633f99c1c17d87900e0f4e24a36e6' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '02529f16fc355b1d8ddfb049ef22950fe291c6a19a06b353361f6c06c23a924e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", "02529f16fc355b1d8ddfb049ef22950fe291c6a19a06b353361f6c06c23a924e"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", "public write"], ["token", "8b87c29d3a70fdee0a77b884b42a079024d633f99c1c17d87900e0f4e24a36e6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8923dbede54c8b8e0094b218f17900b7beae3d4086d6274e2d94301739385f30' AND "oauth_applications"."secret" = '1a004bfc1a8e57f9a5564990d780a36c67b42ee23794d64e4a87696012b4dd76' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3f1bfd8485bb159401613f517c7bc45bb7938a222c44b8f763c092250b3bb939' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e689e7ca92742b01963f5e646cb1cd78678cbf4e0b5ea8184c154d6b4edcd030' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 120], ["refresh_token", "e689e7ca92742b01963f5e646cb1cd78678cbf4e0b5ea8184c154d6b4edcd030"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", "public"], ["token", "3f1bfd8485bb159401613f517c7bc45bb7938a222c44b8f763c092250b3bb939"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ab8a6465e0b2a3c04a663d7c1859d7316448cac3e21c4d064cd9d6c6e282c8ac' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "11b4089ed5e0882db2bbc904248b0f7c6750c0c9530242cd19dbfe66d246852f"], ["uid", "ab8a6465e0b2a3c04a663d7c1859d7316448cac3e21c4d064cd9d6c6e282c8ac"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (12.9ms)
Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.1ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'ab8a6465e0b2a3c04a663d7c1859d7316448cac3e21c4d064cd9d6c6e282c8ac' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Serious app', "updated_at" = '2014-06-13 16:46:00.532319' WHERE "oauth_applications"."id" = 1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.7ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f60df51df5a4f93c6c1add7ff7cb15e065d371dde6f33d35f92d042f25bfb31f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "932e7fad3defc39215edaaec4ec26dfad2fd2d9dd6711b68dd32e7f27df9e47f"], ["uid", "f60df51df5a4f93c6c1add7ff7cb15e065d371dde6f33d35f92d042f25bfb31f"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (9.4ms)
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'f60df51df5a4f93c6c1add7ff7cb15e065d371dde6f33d35f92d042f25bfb31f' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (9.9ms)
Completed 200 OK in 20ms (Views: 12.1ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (8.5ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  commit transaction
   (0.1ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (12.2ms)
Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"My Application", "redirect_uri"=>"http://example.com"}, "commit"=>"Submit"}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '336c651bda9b43c92aa59f799d9c0f1a6f7b124f75ca049dd664bbeaece55cef' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "My Application"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "d264b98701def68200432d527f2e25967555494052027f3e4c56eedc6d6fd5b0"], ["uid", "336c651bda9b43c92aa59f799d9c0f1a6f7b124f75ca049dd664bbeaece55cef"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (8.4ms)
Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>""}, "commit"=>"Submit"}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7934c0f1454747c7d1ef9ed5cb54184d8247eadfa8a3f75d32aa2cb88740d229' LIMIT 1
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (9.1ms)
Completed 200 OK in 23ms (Views: 10.8ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0d653ae0eb1342c207b04a0888d16ed727400549a860a9e494fe96243bacec58' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 157"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0ad5776a394f2d9d63b4f2abc8f84f7b4ab5653a4ff4624bcbc9abd1a88501e0"], ["uid", "0d653ae0eb1342c207b04a0888d16ed727400549a860a9e494fe96243bacec58"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '01a1f8fba67d32cd10f2f74ecfc2133c306b2625549ebe695a7587c0a4c92350' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public"], ["token", "01a1f8fba67d32cd10f2f74ecfc2133c306b2625549ebe695a7587c0a4c92350"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=01a1f8fba67d32cd10f2f74ecfc2133c306b2625549ebe695a7587c0a4c92350&client_id=0d653ae0eb1342c207b04a0888d16ed727400549a860a9e494fe96243bacec58&client_secret=0ad5776a394f2d9d63b4f2abc8f84f7b4ab5653a4ff4624bcbc9abd1a88501e0&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"01a1f8fba67d32cd10f2f74ecfc2133c306b2625549ebe695a7587c0a4c92350", "client_id"=>"0d653ae0eb1342c207b04a0888d16ed727400549a860a9e494fe96243bacec58", "client_secret"=>"0ad5776a394f2d9d63b4f2abc8f84f7b4ab5653a4ff4624bcbc9abd1a88501e0", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46dccb274cd6b88d46f4b858c41dda34344131e8bf491266cd1af0e7bbef2602' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 158"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "df55bdafbc37818561dd1279b3f88c815b31a77ac5448dcb21fa9ce2ae205b89"], ["uid", "46dccb274cd6b88d46f4b858c41dda34344131e8bf491266cd1af0e7bbef2602"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '047ac63fd85bc9260a92a6731bf7ebf03d5fe6afc3f55a856e57f642dec5b6c1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", "public"], ["token", "047ac63fd85bc9260a92a6731bf7ebf03d5fe6afc3f55a856e57f642dec5b6c1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=047ac63fd85bc9260a92a6731bf7ebf03d5fe6afc3f55a856e57f642dec5b6c1&client_id=46dccb274cd6b88d46f4b858c41dda34344131e8bf491266cd1af0e7bbef2602&client_secret=df55bdafbc37818561dd1279b3f88c815b31a77ac5448dcb21fa9ce2ae205b89&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"047ac63fd85bc9260a92a6731bf7ebf03d5fe6afc3f55a856e57f642dec5b6c1", "client_id"=>"46dccb274cd6b88d46f4b858c41dda34344131e8bf491266cd1af0e7bbef2602", "client_secret"=>"df55bdafbc37818561dd1279b3f88c815b31a77ac5448dcb21fa9ce2ae205b89", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '62b83d344d01a5c19440328ad900bdcc082a0d4c6a30c1c20775e43702852acf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 159"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fff6d4596c91f1fe65381a9252fb434d809f3031273bd6a8ee7cbb021a331eb8"], ["uid", "62b83d344d01a5c19440328ad900bdcc082a0d4c6a30c1c20775e43702852acf"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6ce82912a4a6645fe84c9a9aee8d96763516bf0a8eaba88217eb1ef24b71ff2b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public"], ["token", "6ce82912a4a6645fe84c9a9aee8d96763516bf0a8eaba88217eb1ef24b71ff2b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=6ce82912a4a6645fe84c9a9aee8d96763516bf0a8eaba88217eb1ef24b71ff2b&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"6ce82912a4a6645fe84c9a9aee8d96763516bf0a8eaba88217eb1ef24b71ff2b", "client_id"=>nil, "client_secret"=>nil, "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6ce82912a4a6645fe84c9a9aee8d96763516bf0a8eaba88217eb1ef24b71ff2b' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '62b83d344d01a5c19440328ad900bdcc082a0d4c6a30c1c20775e43702852acf' AND "oauth_applications"."secret" = 'fff6d4596c91f1fe65381a9252fb434d809f3031273bd6a8ee7cbb021a331eb8' LIMIT 1
  SQL (0.2ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '183d0ad0bcf3c00b10b0ca452a590d5db449d18bfff51f324b36c78b7e5ee8c6' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public"], ["token", "183d0ad0bcf3c00b10b0ca452a590d5db449d18bfff51f324b36c78b7e5ee8c6"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 9ms (ActiveRecord: 1.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '14d64b42784afe9a1802ce6c3cbea76b77fbc4922914d56dff7d87a789044c87' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 160"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "65fd381a1facb7393ed6039570853683069a68445b1c4a952fe8beb9dd59f286"], ["uid", "14d64b42784afe9a1802ce6c3cbea76b77fbc4922914d56dff7d87a789044c87"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '936791cb9ec695abda7bd1de6deb327bfa0159272f8bb3a669b2b0d112cebaca' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public"], ["token", "936791cb9ec695abda7bd1de6deb327bfa0159272f8bb3a669b2b0d112cebaca"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=936791cb9ec695abda7bd1de6deb327bfa0159272f8bb3a669b2b0d112cebaca&client_id=14d64b42784afe9a1802ce6c3cbea76b77fbc4922914d56dff7d87a789044c87&client_secret=65fd381a1facb7393ed6039570853683069a68445b1c4a952fe8beb9dd59f286&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"936791cb9ec695abda7bd1de6deb327bfa0159272f8bb3a669b2b0d112cebaca", "client_id"=>"14d64b42784afe9a1802ce6c3cbea76b77fbc4922914d56dff7d87a789044c87", "client_secret"=>"65fd381a1facb7393ed6039570853683069a68445b1c4a952fe8beb9dd59f286", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4a860e9d3817fe93697bf73d87f4895ca5ea02ff21d10ff9f5933e6841d08aa1' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 161"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2a44dab60e6e49249f3053be9eeead5adc8112a627589b87b7411125d10c70a5"], ["uid", "4a860e9d3817fe93697bf73d87f4895ca5ea02ff21d10ff9f5933e6841d08aa1"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ad4a22305bd8db1a6966e99de823839777fad2bb7a07ed0a238eec0c3509a76f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public"], ["token", "ad4a22305bd8db1a6966e99de823839777fad2bb7a07ed0a238eec0c3509a76f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=ad4a22305bd8db1a6966e99de823839777fad2bb7a07ed0a238eec0c3509a76f&client_id=4a860e9d3817fe93697bf73d87f4895ca5ea02ff21d10ff9f5933e6841d08aa1&client_secret=2a44dab60e6e49249f3053be9eeead5adc8112a627589b87b7411125d10c70a5&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"ad4a22305bd8db1a6966e99de823839777fad2bb7a07ed0a238eec0c3509a76f", "client_id"=>"4a860e9d3817fe93697bf73d87f4895ca5ea02ff21d10ff9f5933e6841d08aa1", "client_secret"=>"2a44dab60e6e49249f3053be9eeead5adc8112a627589b87b7411125d10c70a5", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ad4a22305bd8db1a6966e99de823839777fad2bb7a07ed0a238eec0c3509a76f' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4a860e9d3817fe93697bf73d87f4895ca5ea02ff21d10ff9f5933e6841d08aa1' AND "oauth_applications"."secret" = '2a44dab60e6e49249f3053be9eeead5adc8112a627589b87b7411125d10c70a5' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '87a0ea3a9a7efec82926dd1c647b09a3cced1d1691703ad0983f427c726d9b1b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public"], ["token", "87a0ea3a9a7efec82926dd1c647b09a3cced1d1691703ad0983f427c726d9b1b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 11ms (ActiveRecord: 1.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7b6b78a09ad807953a44a5a9a10f84549beabc7abfa5f1fd8335ccba7964192a' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 162"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ad37d71067012e9e9daf05130a4dd01b3dfd56fc17d8eb2cd1cc06a0b7ab3870"], ["uid", "7b6b78a09ad807953a44a5a9a10f84549beabc7abfa5f1fd8335ccba7964192a"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '874733f6e5ff50c8fad0faba52f37cbb7fb4e44d25c0db15b5fe53efbe2753fe' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 34], ["revoked_at", nil], ["scopes", "public"], ["token", "874733f6e5ff50c8fad0faba52f37cbb7fb4e44d25c0db15b5fe53efbe2753fe"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=874733f6e5ff50c8fad0faba52f37cbb7fb4e44d25c0db15b5fe53efbe2753fe&client_id=7b6b78a09ad807953a44a5a9a10f84549beabc7abfa5f1fd8335ccba7964192a&client_secret=ad37d71067012e9e9daf05130a4dd01b3dfd56fc17d8eb2cd1cc06a0b7ab3870&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"874733f6e5ff50c8fad0faba52f37cbb7fb4e44d25c0db15b5fe53efbe2753fe", "client_id"=>"7b6b78a09ad807953a44a5a9a10f84549beabc7abfa5f1fd8335ccba7964192a", "client_secret"=>"ad37d71067012e9e9daf05130a4dd01b3dfd56fc17d8eb2cd1cc06a0b7ab3870", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '00c51b6f5f0ff546968e254ef308d60b1df881115d8e142c1d560e4137d60a95' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 163"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5d171c2fb99275a0fc0b023f1c8631ed7cc6a1860bcb03a49d85f8ba6f9c0616"], ["uid", "00c51b6f5f0ff546968e254ef308d60b1df881115d8e142c1d560e4137d60a95"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b5670742cd337fe108fc0b0df8b4b2dc59a70ca77ca6ae65064cc4876fcbd728' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 35], ["revoked_at", nil], ["scopes", "public"], ["token", "b5670742cd337fe108fc0b0df8b4b2dc59a70ca77ca6ae65064cc4876fcbd728"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=b5670742cd337fe108fc0b0df8b4b2dc59a70ca77ca6ae65064cc4876fcbd728&client_id=00c51b6f5f0ff546968e254ef308d60b1df881115d8e142c1d560e4137d60a95&client_secret=5d171c2fb99275a0fc0b023f1c8631ed7cc6a1860bcb03a49d85f8ba6f9c0616&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"b5670742cd337fe108fc0b0df8b4b2dc59a70ca77ca6ae65064cc4876fcbd728", "client_id"=>"00c51b6f5f0ff546968e254ef308d60b1df881115d8e142c1d560e4137d60a95", "client_secret"=>"5d171c2fb99275a0fc0b023f1c8631ed7cc6a1860bcb03a49d85f8ba6f9c0616", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b5670742cd337fe108fc0b0df8b4b2dc59a70ca77ca6ae65064cc4876fcbd728' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '00c51b6f5f0ff546968e254ef308d60b1df881115d8e142c1d560e4137d60a95' AND "oauth_applications"."secret" = '5d171c2fb99275a0fc0b023f1c8631ed7cc6a1860bcb03a49d85f8ba6f9c0616' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:00' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e214d5ef2c92b0c3d10c538861779fb92b60477b96cfd132af20ad1afbb46497' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", 35], ["revoked_at", nil], ["scopes", "public"], ["token", "e214d5ef2c92b0c3d10c538861779fb92b60477b96cfd132af20ad1afbb46497"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '127f62fdc9137c1f1bc0f388c94aef6eccec7704a08cc5b85cf043c45f28a69c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Oauth Dude"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2474af50615c327ecf4a584c7fb683c42dab9ca78fe63a4d881cea7074e0116c"], ["uid", "127f62fdc9137c1f1bc0f388c94aef6eccec7704a08cc5b85cf043c45f28a69c"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6103b0faee15e32a5a25fb44946201cc163416bfb82e889a5ddceff16883ee1f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Awesome App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ec1ec62d4ddc4f4d8de0a593d50d61240729e733c729265691d642b5ab4484ff"], ["uid", "6103b0faee15e32a5a25fb44946201cc163416bfb82e889a5ddceff16883ee1f"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (3.0ms)
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.9ms)
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '187f0f9d290e8cd802557879fe09556a51bd396674c694857429cb03db36108a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 164"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "611072a8d9b76dcc7ceb95d45c366a08870e5ab5b3144a5478dba23470470291"], ["uid", "187f0f9d290e8cd802557879fe09556a51bd396674c694857429cb03db36108a"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e9834da3d4cbf4344c44c290aaccb082ca8df463ad28ec68080516e282adbe87' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 165"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a2a5d6b27686535bf27cba84fa9f2217e557762c777c3551655406592aedbf39"], ["uid", "e9834da3d4cbf4344c44c290aaccb082ca8df463ad28ec68080516e282adbe87"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.1ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e6fc271d997e9989d46fdf995793ad23e3a0e87cd8af1f56133e8c66b78b90e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 166"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e963e269ff725abe1c6d6cbc66daa647bfe5dad80e438516d01bb6dcbba25759"], ["uid", "e6fc271d997e9989d46fdf995793ad23e3a0e87cd8af1f56133e8c66b78b90e7"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 12:46:00 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8b44b7b9f7e30c25b0b8b57a917aa0360e4914d12359b4df3170162c18033a94' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 167"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6c1ce0fa7ecff26bdf5ce45bbe8162fb5acd7a4f442078db2d164260225e5a6c"], ["uid", "8b44b7b9f7e30c25b0b8b57a917aa0360e4914d12359b4df3170162c18033a94"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '667b67dd9fc4a2e6a887997d92ebdd3847d07cda0b0ce096261869874baf6229' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", nil], ["token", "667b67dd9fc4a2e6a887997d92ebdd3847d07cda0b0ce096261869874baf6229"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.6ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa481210ef1c2459703eb5887d0f1095643099b8880b30ffde8a955d24cfda64' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 168"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e994920ac302bfc733821cc5aab39297ea39185688e781e3dab524e685adde92"], ["uid", "aa481210ef1c2459703eb5887d0f1095643099b8880b30ffde8a955d24cfda64"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e8a386fc52f6631ea6f1ea499d54bfec77fde237a71eebeda8c8dfc39031320' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", nil], ["token", "7e8a386fc52f6631ea6f1ea499d54bfec77fde237a71eebeda8c8dfc39031320"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 1.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '42242a752335296127eb47de67f974d20ffadb4ceb395cccd9f7aaf7276a3f40' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00], ["name", "Application 169"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0a1a7065946728a4fa11cfd3d6eae1c834fab18e78fc251ca263f2c976e20fb8"], ["uid", "42242a752335296127eb47de67f974d20ffadb4ceb395cccd9f7aaf7276a3f40"], ["updated_at", Fri, 13 Jun 2014 16:46:00 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '70d18fe922856e182dcc0e8c4c62f694c2006c8e39aa67653e3b3c50198efd57' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", nil], ["token", "70d18fe922856e182dcc0e8c4c62f694c2006c8e39aa67653e3b3c50198efd57"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 170"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f1e15fa8006c7e94398a63eecd5643f1afca9b6afd1d830b6d0f31662e6074a1"], ["uid", "1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.6ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1df5163b61b484b8b01146a45a65c3d6545cd8cc40b9348e0ecf4dae4adce7fa' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.3ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 171"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "02dac4ab93a444d5c7d7335f0d1e9ebfd45444129de6ab1c6344dc3a7b91ef1d"], ["uid", "78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '78659fa8429a1bc7dc45fa660e10a4a350c36ed8966e91604d6eb8747b303929' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '42d171be58920e38e3a9037f08b5e78082f1e1fe763c591642e83c0dad29349a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fd8d7cb7578c3f027b0c1b6931cb557d34b43fd0939fd3b484d72201ad6e2f42"], ["uid", "42d171be58920e38e3a9037f08b5e78082f1e1fe763c591642e83c0dad29349a"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=42d171be58920e38e3a9037f08b5e78082f1e1fe763c591642e83c0dad29349a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"42d171be58920e38e3a9037f08b5e78082f1e1fe763c591642e83c0dad29349a", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/sign_in
Filter chain halted as :authenticate_resource_owner! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa11f649be7c22a5d0117e29181ff4502f12d3ed7c9835625b20a2b95e965787' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4cb7edb4bd224df0ba5a688faefb0bbb8e36a884b0a254afbd9d7c43a32249db"], ["uid", "aa11f649be7c22a5d0117e29181ff4502f12d3ed7c9835625b20a2b95e965787"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=aa11f649be7c22a5d0117e29181ff4502f12d3ed7c9835625b20a2b95e965787&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"aa11f649be7c22a5d0117e29181ff4502f12d3ed7c9835625b20a2b95e965787", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa11f649be7c22a5d0117e29181ff4502f12d3ed7c9835625b20a2b95e965787' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd7ea418b2a0b44ec3544456ba7e0cc43aea2e3a72368474c81c274f07337472b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d607a7820d0d6224eef15ca465413d607d27c76a9bc73300fa94b47f2df3100f"], ["uid", "d7ea418b2a0b44ec3544456ba7e0cc43aea2e3a72368474c81c274f07337472b"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=d7ea418b2a0b44ec3544456ba7e0cc43aea2e3a72368474c81c274f07337472b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"d7ea418b2a0b44ec3544456ba7e0cc43aea2e3a72368474c81c274f07337472b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd7ea418b2a0b44ec3544456ba7e0cc43aea2e3a72368474c81c274f07337472b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ef03f546d740322500c65e147e607db7186ae779c8f51f0ad4379344a9799f5f' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ddbbce7a3d6f024f8228d79b8ffbe3ce17dd69986d07f9e9fae1574f7c41449f"], ["uid", "ef03f546d740322500c65e147e607db7186ae779c8f51f0ad4379344a9799f5f"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=ef03f546d740322500c65e147e607db7186ae779c8f51f0ad4379344a9799f5f&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"ef03f546d740322500c65e147e607db7186ae779c8f51f0ad4379344a9799f5f", "redirect_uri"=>"https://app.com/callback"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ef03f546d740322500c65e147e607db7186ae779c8f51f0ad4379344a9799f5f' LIMIT 1
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f20b37e8d0cd33823dc362cdfae55936c8e57674ff68ea225072a349e5ffad15' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "27b5d38a2a7d80d114db5c8360380764b9f77db04797f7d334bb09f48c004324"], ["uid", "f20b37e8d0cd33823dc362cdfae55936c8e57674ff68ea225072a349e5ffad15"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=f20b37e8d0cd33823dc362cdfae55936c8e57674ff68ea225072a349e5ffad15&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"f20b37e8d0cd33823dc362cdfae55936c8e57674ff68ea225072a349e5ffad15", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f20b37e8d0cd33823dc362cdfae55936c8e57674ff68ea225072a349e5ffad15' LIMIT 1
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.3ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '087ecb8cc8427cb6cb44b9b0ccc997cf9f2d7ddc7ba0016c17ad99263a8f5a6d' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "087ecb8cc8427cb6cb44b9b0ccc997cf9f2d7ddc7ba0016c17ad99263a8f5a6d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '801accf6072dcc5a0b62aa241798273379cffb3d4791b7fb44285c511dda3182' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "801accf6072dcc5a0b62aa241798273379cffb3d4791b7fb44285c511dda3182"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9404d71b12459fd81e7b896d43307c2d3500f574fffb3084d337ef93ccbd2a52' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Just another oauth app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4692065ed3d5ad884f8a63cdbf32c78a36c52b802f6468488fdbf781ed7d0935"], ["uid", "9404d71b12459fd81e7b896d43307c2d3500f574fffb3084d337ef93ccbd2a52"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65c2394b38c5bb98346ba84104fc1d40f4bc8626a00363328c6819b3dace2542' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 172"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "563dbdf8123e95b23840479fbd1a56a11199ae33ecb5391064e373b7742cdf8a"], ["uid", "65c2394b38c5bb98346ba84104fc1d40f4bc8626a00363328c6819b3dace2542"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '06c38fd8253f5e075417f010c21f8cbcd3918295365cd1c070bcb45ac0d171a3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "06c38fd8253f5e075417f010c21f8cbcd3918295365cd1c070bcb45ac0d171a3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/metal.json?access_token=06c38fd8253f5e075417f010c21f8cbcd3918295365cd1c070bcb45ac0d171a3" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '06c38fd8253f5e075417f010c21f8cbcd3918295365cd1c070bcb45ac0d171a3' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9c5db4d4d5a2e10c77581ea5e5e1bb9956bb5a94c0e599240e63cfbe7384ab6d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 173"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c1261057989913a24d3097374300518d568160e2acbdcf0f1da776a7ea2e09ee"], ["uid", "9c5db4d4d5a2e10c77581ea5e5e1bb9956bb5a94c0e599240e63cfbe7384ab6d"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '88f1662223e81eacd236e5de5db5832fe5a8c5adaf714fef05b9a7758f4a5e2c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "88f1662223e81eacd236e5de5db5832fe5a8c5adaf714fef05b9a7758f4a5e2c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '88f1662223e81eacd236e5de5db5832fe5a8c5adaf714fef05b9a7758f4a5e2c' LIMIT 1
Filter chain halted as #<Proc:0x007fa0ec901958@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd57080e8f663aba7e9738b5c5d9faa54ebf3011953285a640051a18f99b68dad' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 174"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "929816d73f9f73059731330ee6617758d86917e3b5288b9575bed27baa0302b0"], ["uid", "d57080e8f663aba7e9738b5c5d9faa54ebf3011953285a640051a18f99b68dad"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4ca54dc43403a2b2b1f9d0d21a3e836d0c44bf596efd96414b3a3accfc38911e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "4ca54dc43403a2b2b1f9d0d21a3e836d0c44bf596efd96414b3a3accfc38911e"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "scopes" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4ca54dc43403a2b2b1f9d0d21a3e836d0c44bf596efd96414b3a3accfc38911e' LIMIT 1
Filter chain halted as #<Proc:0x007fa0ec9001e8@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c9c41105cdd84c2742f529b141d11f9b10be5de4dc1cf9355faf2bbcdc84d9cd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 175"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e1117500ab245f62ca49bfbdc7db31e39c4f2349bb3c74f37b330b73a6b4e869"], ["uid", "c9c41105cdd84c2742f529b141d11f9b10be5de4dc1cf9355faf2bbcdc84d9cd"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9351776a09bcfea232a8abddf7091c14219be40cc1688aa1aa4112747b981a7e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "9351776a09bcfea232a8abddf7091c14219be40cc1688aa1aa4112747b981a7e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#index as HTML
Filter chain halted as #<Proc:0x007fa0ec901958@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f443e623ae82a67ee7ebcb4ae59a45446d1b2795cedb129ce6cc306e272ad6f4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 176"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7cb3dd5f7eb48b09407a49cee4a73a6dd7ba3bc3dd339c632c8ea206373affc1"], ["uid", "f443e623ae82a67ee7ebcb4ae59a45446d1b2795cedb129ce6cc306e272ad6f4"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a072cc6e3d831ba11987369746f5e4191563a1eda5cbbc13515679696cb4e37a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "a072cc6e3d831ba11987369746f5e4191563a1eda5cbbc13515679696cb4e37a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a072cc6e3d831ba11987369746f5e4191563a1eda5cbbc13515679696cb4e37a' LIMIT 1
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eaf304774dbdd4f28df2e05095703bdcdf0a14377ed855741fcba4fffa794a7b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 177"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a11e16fe1316c7bf5af4d9933e50ffc3402a24af6cefe60679d93c1dd64bd43a"], ["uid", "eaf304774dbdd4f28df2e05095703bdcdf0a14377ed855741fcba4fffa794a7b"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '00a89ffba0dbb00fd15ad59afafa75b2e983d2b0b29a5406e53a3e6877df068d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "00a89ffba0dbb00fd15ad59afafa75b2e983d2b0b29a5406e53a3e6877df068d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '00a89ffba0dbb00fd15ad59afafa75b2e983d2b0b29a5406e53a3e6877df068d' LIMIT 1
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8ad6a10cb69f80f60457050075d6cfa2391c406a5230615f16991cb4903f54ad' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 178"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "33c74c39fc26dae449c6d54696488b592b6a1affe7a215f75affc8de168310cc"], ["uid", "8ad6a10cb69f80f60457050075d6cfa2391c406a5230615f16991cb4903f54ad"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '463fad5e6a368d810c3eb1067f4512107368be9e25df70cdb3d3e37b935a5ae9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "463fad5e6a368d810c3eb1067f4512107368be9e25df70cdb3d3e37b935a5ae9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "scopes" = 'admin' WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '463fad5e6a368d810c3eb1067f4512107368be9e25df70cdb3d3e37b935a5ae9' LIMIT 1
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '51ab763b5ddd87b6e1e1e5e294aa579fe7cfa545cf122b9ffb51fda4c170c7d5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 179"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ee5aef6541f8d83fd33fd555a4ff427dd68f4efcd34a70533719233a1e14ec0a"], ["uid", "51ab763b5ddd87b6e1e1e5e294aa579fe7cfa545cf122b9ffb51fda4c170c7d5"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '87645b1d870f3164ce04e14e715f468ef783fcb2c4391dc22f7079a6ec7f787b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "87645b1d870f3164ce04e14e715f468ef783fcb2c4391dc22f7079a6ec7f787b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'invalid' LIMIT 1
Filter chain halted as #<Proc:0x007fa0ec901958@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 180"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fde2ddffe52866db52736c191158f1fcd4235752322e78b75ec2b3ff94b02109"], ["uid", "3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3d083892fb376f8a46a519fc140fcac2954123e1d77c45e4e3ef69205b2bb47d' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c2c17bbf98f08a30e8c0ffac8c85ce2ef474443b26c572057bc23b718ceb4d98' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c2c17bbf98f08a30e8c0ffac8c85ce2ef474443b26c572057bc23b718ceb4d98"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=c2c17bbf98f08a30e8c0ffac8c85ce2ef474443b26c572057bc23b718ceb4d98&token_type=bearer&expires_in=7200
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
Started GET "/callback" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by HomeController#callback as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aecebe5f90da25d8c38422afcab0ff973cc21c4941959ad9ddec2f34d62096b6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9412b7e01a18d255780c9928d6a00a09d07288e498549f2267aa59e5e885ed8b"], ["uid", "aecebe5f90da25d8c38422afcab0ff973cc21c4941959ad9ddec2f34d62096b6"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c2d957f48f93246dfd39788f8cf646ccd0fd9a8a6b694c960e9658ad0fda6009' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "c2d957f48f93246dfd39788f8cf646ccd0fd9a8a6b694c960e9658ad0fda6009"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (1.2ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.2ms)
Started DELETE "/oauth/authorized_applications/1" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 16:46:01' WHERE "oauth_access_tokens"."id" = 1
Redirected to http://www.example.com/oauth/authorized_applications
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cecee46efd8a339c40ca91f33b59f7d150521e695aa710809d387d242b4d1dd7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6cbd80b362cb055e57b0c8b8eee6c4ed16c5bbd696c41fc8bdaf7ff9730e74b5"], ["uid", "cecee46efd8a339c40ca91f33b59f7d150521e695aa710809d387d242b4d1dd7"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '743cf8c46eb31db04719d81fb7d38097a9e0a1563b5cc54dc60a50211f7d1405' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "743cf8c46eb31db04719d81fb7d38097a9e0a1563b5cc54dc60a50211f7d1405"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.8ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2752b02cf6292c9657421e6cb16c0394008bc0b7184366a6e5ee798687bd345b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e19bcf18c798127897a35e92baf874a0cb524229cb8aeb975239634b049d4e0"], ["uid", "2752b02cf6292c9657421e6cb16c0394008bc0b7184366a6e5ee798687bd345b"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ef361089b385ed7cde33263ac58a11e6323eb5134bfdda00a79b40ba5f6dcda0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "ef361089b385ed7cde33263ac58a11e6323eb5134bfdda00a79b40ba5f6dcda0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46cb5ead4c1cc95169e3cd27c08e77e7edff7ea7494de72b8d73171e8ee194d3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Another Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0dca38ec6ddc584bc6ce5baa85533561d83f32bf8c779d202ff2b451b70e0c14"], ["uid", "46cb5ead4c1cc95169e3cd27c08e77e7edff7ea7494de72b8d73171e8ee194d3"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6f2a47ea97e2a3d73c15f5c982ba8c27bcd1de50e9b403f73e794e0fc4d4e064' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "6f2a47ea97e2a3d73c15f5c982ba8c27bcd1de50e9b403f73e794e0fc4d4e064"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.6ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '700968543fcc26458107400333d4fa3af72b8b316d4ab07d36fbe1e04bc08706' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 181"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2cc15f0c1d702afd3338d49d6b4998fddae6bdfc9557c15a2f54f97d7e55eb44"], ["uid", "700968543fcc26458107400333d4fa3af72b8b316d4ab07d36fbe1e04bc08706"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=700968543fcc26458107400333d4fa3af72b8b316d4ab07d36fbe1e04bc08706&client_secret=bad_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"700968543fcc26458107400333d4fa3af72b8b316d4ab07d36fbe1e04bc08706", "client_secret"=>"bad_secret", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '700968543fcc26458107400333d4fa3af72b8b316d4ab07d36fbe1e04bc08706' AND "oauth_applications"."secret" = 'bad_secret' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9eb6d4cf0bae87053e6019e20887c56b7226381dbe28145199e27e2063e4c697' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 182"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "446ccb3d379148f899a3335c43eabc794f04f4ccb71dd55d60a670ad0262c17a"], ["uid", "9eb6d4cf0bae87053e6019e20887c56b7226381dbe28145199e27e2063e4c697"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f421ee0ee707b7144ee20c5995ef3d847270ba60722e284b4a35ebf7ee48c187' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "f421ee0ee707b7144ee20c5995ef3d847270ba60722e284b4a35ebf7ee48c187"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=9eb6d4cf0bae87053e6019e20887c56b7226381dbe28145199e27e2063e4c697&client_secret=446ccb3d379148f899a3335c43eabc794f04f4ccb71dd55d60a670ad0262c17a&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"9eb6d4cf0bae87053e6019e20887c56b7226381dbe28145199e27e2063e4c697", "client_secret"=>"446ccb3d379148f899a3335c43eabc794f04f4ccb71dd55d60a670ad0262c17a", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9eb6d4cf0bae87053e6019e20887c56b7226381dbe28145199e27e2063e4c697' AND "oauth_applications"."secret" = '446ccb3d379148f899a3335c43eabc794f04f4ccb71dd55d60a670ad0262c17a' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2c02894fb333c8a301e21306c83c4eb7b2fd31ad529c6fe71f147d4343dc4ed7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 183"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e2330c8d0556fe9081202e9d534707977e4d6e0f4da686a0876af104ab771df6"], ["uid", "2c02894fb333c8a301e21306c83c4eb7b2fd31ad529c6fe71f147d4343dc4ed7"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=2c02894fb333c8a301e21306c83c4eb7b2fd31ad529c6fe71f147d4343dc4ed7&client_secret=e2330c8d0556fe9081202e9d534707977e4d6e0f4da686a0876af104ab771df6&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"2c02894fb333c8a301e21306c83c4eb7b2fd31ad529c6fe71f147d4343dc4ed7", "client_secret"=>"e2330c8d0556fe9081202e9d534707977e4d6e0f4da686a0876af104ab771df6", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2c02894fb333c8a301e21306c83c4eb7b2fd31ad529c6fe71f147d4343dc4ed7' AND "oauth_applications"."secret" = 'e2330c8d0556fe9081202e9d534707977e4d6e0f4da686a0876af104ab771df6' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f93d036900d0ffeed034d4b3b4a3b5443a9b4217d787ace6254f37df0daf393c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "f93d036900d0ffeed034d4b3b4a3b5443a9b4217d787ace6254f37df0daf393c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9f8afab9364463cf8fb067ee46603ffa725c9f9517d96e57f0344107def91b25' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 184"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0d50920a6765e447eb32aa09bbc9706bc4110ec7bf6201be9e330b110e92593a"], ["uid", "9f8afab9364463cf8fb067ee46603ffa725c9f9517d96e57f0344107def91b25"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=9f8afab9364463cf8fb067ee46603ffa725c9f9517d96e57f0344107def91b25&client_secret=0d50920a6765e447eb32aa09bbc9706bc4110ec7bf6201be9e330b110e92593a&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"9f8afab9364463cf8fb067ee46603ffa725c9f9517d96e57f0344107def91b25", "client_secret"=>"0d50920a6765e447eb32aa09bbc9706bc4110ec7bf6201be9e330b110e92593a", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9f8afab9364463cf8fb067ee46603ffa725c9f9517d96e57f0344107def91b25' AND "oauth_applications"."secret" = '0d50920a6765e447eb32aa09bbc9706bc4110ec7bf6201be9e330b110e92593a' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e36193e848400e6afc4949757c51e4af4ea26acf34ff420dcdff71c7ddbe7bb3' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '540f45606f9201bc8c77e70536cbbbb51ae390391bde5eb5765cf3b08a706931' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", "540f45606f9201bc8c77e70536cbbbb51ae390391bde5eb5765cf3b08a706931"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "e36193e848400e6afc4949757c51e4af4ea26acf34ff420dcdff71c7ddbe7bb3"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 10ms (ActiveRecord: 1.3ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8533a73c3789fe4ee1a7bc650cca414bc6a21950774fba2994f5c6f10899cdf2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 185"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6d980754878e66f1fc8d429b83e7bdd9d28925b633159a60bbe2947299105824"], ["uid", "8533a73c3789fe4ee1a7bc650cca414bc6a21950774fba2994f5c6f10899cdf2"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>nil, "client_secret"=>nil, "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1f5559195743e2416fec2d485855d77c71d00fc72c5a39901ec792d026868f2a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "1f5559195743e2416fec2d485855d77c71d00fc72c5a39901ec792d026868f2a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6b04f6383ee5e8c01fd1db0d06372fae3db17ddf2719fd222009297b87314990' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 186"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f613dbe72b3619c30cde50f769e17867afb5d6b7d6792a41c6c0ac1d87532019"], ["uid", "6b04f6383ee5e8c01fd1db0d06372fae3db17ddf2719fd222009297b87314990"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=6b04f6383ee5e8c01fd1db0d06372fae3db17ddf2719fd222009297b87314990&client_secret=f613dbe72b3619c30cde50f769e17867afb5d6b7d6792a41c6c0ac1d87532019&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"6b04f6383ee5e8c01fd1db0d06372fae3db17ddf2719fd222009297b87314990", "client_secret"=>"f613dbe72b3619c30cde50f769e17867afb5d6b7d6792a41c6c0ac1d87532019", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'wrongpassword' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6b04f6383ee5e8c01fd1db0d06372fae3db17ddf2719fd222009297b87314990' AND "oauth_applications"."secret" = 'f613dbe72b3619c30cde50f769e17867afb5d6b7d6792a41c6c0ac1d87532019' LIMIT 1
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f980f6f0ae74f12c1194ed6d826918f15058091242125189c34f23be300639a8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Application 187"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a626b32e53a6ba5562af5b84022e84baae24d65c32a407fe8297c1aab79d227b"], ["uid", "f980f6f0ae74f12c1194ed6d826918f15058091242125189c34f23be300639a8"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:01 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=f980f6f0ae74f12c1194ed6d826918f15058091242125189c34f23be300639a8&client_secret=a626b32e53a6ba5562af5b84022e84baae24d65c32a407fe8297c1aab79d227b&username&password&grant_type=password" for 127.0.0.1 at 2014-06-13 12:46:01 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"f980f6f0ae74f12c1194ed6d826918f15058091242125189c34f23be300639a8", "client_secret"=>"a626b32e53a6ba5562af5b84022e84baae24d65c32a407fe8297c1aab79d227b", "username"=>nil, "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" IS NULL AND "users"."password" IS NULL LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f980f6f0ae74f12c1194ed6d826918f15058091242125189c34f23be300639a8' AND "oauth_applications"."secret" = 'a626b32e53a6ba5562af5b84022e84baae24d65c32a407fe8297c1aab79d227b' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"14"}
Filter chain halted as #<Proc:0x007fa0ec957f38@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fa0ebef87b8@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fa0ebef87b8@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fa0ec98d570@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Filter chain halted as #<Proc:0x007fa0ec98d570@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Filter chain halted as #<Proc:0x007fa0ec92c5e0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"bearer_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fa0ebf19cb0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Filter chain halted as #<Proc:0x007fa0ec911f60@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fa0ec96c488@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"5"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fa0ec8e9948@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 188"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a5f235ea8090d4bce65729396dcfae4088864cd112394ff9388310e63989e658"], ["uid", "11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807&client_id=11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac&client_secret=a5f235ea8090d4bce65729396dcfae4088864cd112394ff9388310e63989e658&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807", "client_id"=>"11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac", "client_secret"=>"a5f235ea8090d4bce65729396dcfae4088864cd112394ff9388310e63989e658", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '043331e712051b8541a25bc7fa078ef48a50a445f524d87663cc5f1a9db14807' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11e7d5b4f5e5af4e1a2ac39995ca006573890422af26e124ab207fb1804338ac' AND "oauth_applications"."secret" = 'a5f235ea8090d4bce65729396dcfae4088864cd112394ff9388310e63989e658' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:02' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c555f8eae98a658836f7eaed4e3d5b1debb873829ed53d45280e361e7a62b89b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c555f8eae98a658836f7eaed4e3d5b1debb873829ed53d45280e361e7a62b89b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 189"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e6404c64af75b12ad2a3ee037c1f1a5fe0840843382d87a30239a61c61b7193a"], ["uid", "6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6a3abcd38546f6273f73ee62b269430b1002f1e51cdded8f6e0a3defe43a8426' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '11f18e63b1b44eeef491efa257cacf185712a77b0a07cbdc0d94e4b1dbc398d1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "11f18e63b1b44eeef491efa257cacf185712a77b0a07cbdc0d94e4b1dbc398d1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=11f18e63b1b44eeef491efa257cacf185712a77b0a07cbdc0d94e4b1dbc398d1
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=11f18e63b1b44eeef491efa257cacf185712a77b0a07cbdc0d94e4b1dbc398d1" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"11f18e63b1b44eeef491efa257cacf185712a77b0a07cbdc0d94e4b1dbc398d1"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 190"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ce9c98b184c5b4e6f6372f9cf27b7caf7f00ab254fed9a765ae36b47dab1b987"], ["uid", "76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '76d8af3aef76a51975fa41b76819a38b3428c0e3f9ad4e0d18b5919b265fff60' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '10c930f69625a9432596383b20768fcfca44e9cc138abf656a0aeecdddaac02f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "10c930f69625a9432596383b20768fcfca44e9cc138abf656a0aeecdddaac02f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=10c930f69625a9432596383b20768fcfca44e9cc138abf656a0aeecdddaac02f&state=return-me
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=10c930f69625a9432596383b20768fcfca44e9cc138abf656a0aeecdddaac02f&state=return-me" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"10c930f69625a9432596383b20768fcfca44e9cc138abf656a0aeecdddaac02f", "state"=>"return-me"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 191"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9c5f13f1faac1e284d047b2ffaeca12f45aeeff064754dca9f623c1193f70974"], ["uid", "510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "redirect_uri" = 'urn:ietf:wg:oauth:2.0:oob', "updated_at" = '2014-06-13 16:46:02.285565' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '510aeb227833db20b4ff4c64317f09396e340e7ee74f9c8dba890c132898ea8b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a2159f1ea3b45c0238f45c3c1208cbaf9789d87324d1ce42a1d048edeaa6a7b2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "urn:ietf:wg:oauth:2.0:oob"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "a2159f1ea3b45c0238f45c3c1208cbaf9789d87324d1ce42a1d048edeaa6a7b2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/authorize/a2159f1ea3b45c0238f45c3c1208cbaf9789d87324d1ce42a1d048edeaa6a7b2
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/oauth/authorize/a2159f1ea3b45c0238f45c3c1208cbaf9789d87324d1ce42a1d048edeaa6a7b2" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#show as HTML
  Parameters: {"code"=>"a2159f1ea3b45c0238f45c3c1208cbaf9789d87324d1ce42a1d048edeaa6a7b2"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 192"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e2dcd742551ccd8ef75bbf073dd015edea8345caa88d8bb608c818cad03392eb"], ["uid", "e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e2bc13443855da8596600e8466232218cf96297e60d125dd40b37db40bc523c9' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a8715687313e40f2b2dabb0f78f4f9f2ab7c47def64202356952635371d426f2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "a8715687313e40f2b2dabb0f78f4f9f2ab7c47def64202356952635371d426f2"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=a8715687313e40f2b2dabb0f78f4f9f2ab7c47def64202356952635371d426f2
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=a8715687313e40f2b2dabb0f78f4f9f2ab7c47def64202356952635371d426f2" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"a8715687313e40f2b2dabb0f78f4f9f2ab7c47def64202356952635371d426f2"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 193"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f4f8cfbb8f2d1bdb994be0bb375f0efefd42cbc5e8da067a4425056d363d45c9"], ["uid", "d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a7d6a2748617d63cee1bc44f7a72c7a97b5cf13d4320c4440308b6ef9e81ccfa' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "a7d6a2748617d63cee1bc44f7a72c7a97b5cf13d4320c4440308b6ef9e81ccfa"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c"}
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c&client_id=d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586&client_secret=f4f8cfbb8f2d1bdb994be0bb375f0efefd42cbc5e8da067a4425056d363d45c9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c", "client_id"=>"d847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586", "client_secret"=>"f4f8cfbb8f2d1bdb994be0bb375f0efefd42cbc5e8da067a4425056d363d45c9", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '7bef9afa6a87a59e49d196c55d5b24c80cd162a5d99a02fb2a6ab2687789963c' LIMIT 1
  Doorkeeper::Application Load (0.3ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd847337eaa00b358a85e97da3ad448f31721cd6cd3089c7d87f4e9a9ef967586' AND "oauth_applications"."secret" = 'f4f8cfbb8f2d1bdb994be0bb375f0efefd42cbc5e8da067a4425056d363d45c9' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:02' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '396dd165a4f57dcdada3c45bacfd835ff2c3d22dc3a14715600e5e531e200c3e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "396dd165a4f57dcdada3c45bacfd835ff2c3d22dc3a14715600e5e531e200c3e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 8ms (ActiveRecord: 0.9ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.2ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 194"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ac283cfd35ac7405421c7c274a816a664336025cee95e85ed15106647ab010ec"], ["uid", "6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6affd9cbfc2377034c400cef43276554033e9ee67c861dc4aebb3e7263961a23' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '09449cd53125d8c2e0208d23bdd7213141fc688be8118e7db0610e58d41d8635' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "write"], ["token", "09449cd53125d8c2e0208d23bdd7213141fc688be8118e7db0610e58d41d8635"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=09449cd53125d8c2e0208d23bdd7213141fc688be8118e7db0610e58d41d8635
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
Started GET "/callback?code=09449cd53125d8c2e0208d23bdd7213141fc688be8118e7db0610e58d41d8635" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"09449cd53125d8c2e0208d23bdd7213141fc688be8118e7db0610e58d41d8635"}
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 195"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "34901b65dfa6fabc6b58ed6998f77f30ffb635caa60a9a6a0870062333759a7c"], ["uid", "67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5"}
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5&client_id=67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e&client_secret=34901b65dfa6fabc6b58ed6998f77f30ffb635caa60a9a6a0870062333759a7c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5", "client_id"=>"67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e", "client_secret"=>"34901b65dfa6fabc6b58ed6998f77f30ffb635caa60a9a6a0870062333759a7c", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'c28e5e52462c7e4b916fd99e3047bc854f81460e281ac1fa4df2a4d3b6a48db5' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67efe5b40a6cacbbcfec1cfcb787d568d4d639f088eb727904e4d31dd412596e' AND "oauth_applications"."secret" = '34901b65dfa6fabc6b58ed6998f77f30ffb635caa60a9a6a0870062333759a7c' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 16:46:02' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ff57adc2c0d9a348c9509395772ecb4ef4496de49e987cdc50da5fd004f68b98' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "ff57adc2c0d9a348c9509395772ecb4ef4496de49e987cdc50da5fd004f68b98"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.9ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 196"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "26848ba424aa734cc4265778ddcbb5a4788fb124b9082b6003a97b5ad77a9bb1"], ["uid", "731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '731f1076563a8734ace9c0ede6781cb98443b44435ebef2dae1c6f80f87481a8' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6d8719a504a2b77c8df242565f2576878dbc575a78f688048a94f2148af0c5a3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "6d8719a504a2b77c8df242565f2576878dbc575a78f688048a94f2148af0c5a3"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=6d8719a504a2b77c8df242565f2576878dbc575a78f688048a94f2148af0c5a3
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
Started GET "/callback?code=6d8719a504a2b77c8df242565f2576878dbc575a78f688048a94f2148af0c5a3" for 127.0.0.1 at 2014-06-13 12:46:02 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"6d8719a504a2b77c8df242565f2576878dbc575a78f688048a94f2148af0c5a3"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eb5ee06c377431cb308aabeea8d5a8269e6ec42a22ba417253370dfdae0d5a1f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 197"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fc952e3d712b72a341617dcf03ec17993cea53689e05c8f4bb85dad6b3acdf94"], ["uid", "eb5ee06c377431cb308aabeea8d5a8269e6ec42a22ba417253370dfdae0d5a1f"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'eb5ee06c377431cb308aabeea8d5a8269e6ec42a22ba417253370dfdae0d5a1f' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '120fca024caaa7ba858d4e04a44c750a4f965d3230f960486aae0e20eef957df' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 198"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "81757b47964681c83187cefb7cb4680856a20e346b440fda1a04cbdebb8db0a0"], ["uid", "120fca024caaa7ba858d4e04a44c750a4f965d3230f960486aae0e20eef957df"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '120fca024caaa7ba858d4e04a44c750a4f965d3230f960486aae0e20eef957df' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '216923d3363aa2653d0a4bc17896395c6f0eb4a60903c658ab2a58b6a1d88895' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 199"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "28face0943251041dc5c7a9ffcae47c3a1a2c1ca818436811ff41c81e5cb87cb"], ["uid", "216923d3363aa2653d0a4bc17896395c6f0eb4a60903c658ab2a58b6a1d88895"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '216923d3363aa2653d0a4bc17896395c6f0eb4a60903c658ab2a58b6a1d88895' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b15b898ff6cfe838e8c312e18b17635ca4a7ab17b26c123511e3470bcd075095' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 200"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ec692b21132fd8e5b8b6c82d307b38b0be2d7a4e30f3695bd006d20d56ad9f63"], ["uid", "b15b898ff6cfe838e8c312e18b17635ca4a7ab17b26c123511e3470bcd075095"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'b15b898ff6cfe838e8c312e18b17635ca4a7ab17b26c123511e3470bcd075095' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5907ac8049087beafa777029c82c3c15ece48d7132468a3ff4794eaecf19ebfa' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 201"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cc38ef4c574624669085161b3406506d3e775cb34c04be211b196fb900ab66ba"], ["uid", "5907ac8049087beafa777029c82c3c15ece48d7132468a3ff4794eaecf19ebfa"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '5907ac8049087beafa777029c82c3c15ece48d7132468a3ff4794eaecf19ebfa' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5c2063a316f095d9f954e3041e15cda5a9148c1e996f307e7ce9dd3a73aed0d1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 202"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6b247e75962854147ca236b7337988fbcd22ceda0fbbd2dfe630e95b1aa43f98"], ["uid", "5c2063a316f095d9f954e3041e15cda5a9148c1e996f307e7ce9dd3a73aed0d1"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '5c2063a316f095d9f954e3041e15cda5a9148c1e996f307e7ce9dd3a73aed0d1' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6289ddc80f0518c3a90adf5d06dcc620974e062d54a1b630e6e3a391e0ff7e12' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00], ["name", "Application 203"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0c4d577238dda613745543d9ce2e308cb05aeebfccbdf6a5d005bcd81202f32d"], ["uid", "6289ddc80f0518c3a90adf5d06dcc620974e062d54a1b630e6e3a391e0ff7e12"], ["updated_at", Fri, 13 Jun 2014 16:46:02 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '6289ddc80f0518c3a90adf5d06dcc620974e062d54a1b630e6e3a391e0ff7e12' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.0
   (0.7ms)  select sqlite_version(*)
   (0.3ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1b2d9f2b3c78f2cdbd45d6a2f4052db9f7193328a24a75639b4bbca39710a124' LIMIT 1
  SQL (0.9ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00], ["name", "Application 1"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ff153949acaa957e5c61c999916b52b53614512718c2072c12f7d52f9a8b659c"], ["uid", "1b2d9f2b3c78f2cdbd45d6a2f4052db9f7193328a24a75639b4bbca39710a124"], ["updated_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00], ["name", "Application 2"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a91b9fdf60f032b0f8f04abdd019f609ffa3eb9ff32febe669b080d82829425a"], ["uid", "4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302"], ["updated_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 13ms (Views: 5.9ms | ActiveRecord: 0.6ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4f43a5cb308ab0af50791d4d3ca4f888d79340b533739c5a953deb8af819d302' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '36e10640c1661b0712382da7449a79c0bc8e20bf55215f5a1065f5b23ed500e2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:49 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "36e10640c1661b0712382da7449a79c0bc8e20bf55215f5a1065f5b23ed500e2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=36e10640c1661b0712382da7449a79c0bc8e20bf55215f5a1065f5b23ed500e2&token_type=bearer&expires_in=7200
Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
Started GET "/callback" for 127.0.0.1 at 2014-06-13 13:06:49 -0400
Processing by HomeController#callback as HTML
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dd5149e894026a1d2d09bf423ac7b0bfed3dfb2690098b518424d4b7469e922f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 3"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6aa3644837138a61619636a50524f8519b957015281d13903d2141ab2678a489"], ["uid", "dd5149e894026a1d2d09bf423ac7b0bfed3dfb2690098b518424d4b7469e922f"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3d3290736068eea6514039b4d0ce71ede3bc8088c90ac12b58de9aeb74442ed3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public"], ["token", "3d3290736068eea6514039b4d0ce71ede3bc8088c90ac12b58de9aeb74442ed3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dba88a6b8974161d63af83679ad8bea0e241665533aa90f77c4ba71ce32c286b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 4"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f9ed0ae818c26a830920a16a494c3687875c65cf8628c5ef05de883ea607a5b0"], ["uid", "dba88a6b8974161d63af83679ad8bea0e241665533aa90f77c4ba71ce32c286b"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9c49658857c737b6ea0e71c7dce8dc499938db9d7fb786f976e2e2d4feadab01' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 5"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "965015fbb9c87f26ffe73c60e316872f543e53c9b3c96d7c27601066da5a5f80"], ["uid", "9c49658857c737b6ea0e71c7dce8dc499938db9d7fb786f976e2e2d4feadab01"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cd1164565c7153371c85814380445d28d8cfdd3b57fb87e5da0e27c00296ba5d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 6"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2b779fddf668b2569a5e6431c6f6b35b32dbf4aed8f15cb00811542d9a34eccc"], ["uid", "cd1164565c7153371c85814380445d28d8cfdd3b57fb87e5da0e27c00296ba5d"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" IS NULL AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4418ed711c6bda5cb8ff2092f59b1913e06b98c6750e2acf016287b3418b36fa' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 7"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2636f25904f25127597a29ff73948f894f27dde7b0049abe8e57a009dd73e2ea"], ["uid", "4418ed711c6bda5cb8ff2092f59b1913e06b98c6750e2acf016287b3418b36fa"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '4418ed711c6bda5cb8ff2092f59b1913e06b98c6750e2acf016287b3418b36fa' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '87faaf9c7ee1030f6f0a45606ac17a42e0f12f8fe724b779110ee36cdcebe2e3' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 8"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c68bea3b9f4ec786"], ["uid", "87faaf9c7ee1030f6f0a45606ac17a42e0f12f8fe724b779110ee36cdcebe2e3"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '625561d59160f7c66a1a4081d9163cb0b492338040e0c0c9fcda7eb349ccf0d4' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 9"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "725f990291b53000bab95f6cd3b4eecf6d17660377661d557491741218caf17f"], ["uid", "625561d59160f7c66a1a4081d9163cb0b492338040e0c0c9fcda7eb349ccf0d4"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd371a8804cd3c1608d7a68abd429c249a4ff477c7fe866b62f98522481b4e010' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 10"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "00f7daea103406a403f2008d363558845ed05ee4c8feb23d766aeec4297717c7"], ["uid", "d371a8804cd3c1608d7a68abd429c249a4ff477c7fe866b62f98522481b4e010"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.3ms)  UPDATE "oauth_applications" SET "uid" = '625561d59160f7c66a1a4081d9163cb0b492338040e0c0c9fcda7eb349ccf0d4', "updated_at" = '2014-06-13 17:06:50.140142' WHERE "oauth_applications"."id" = 2
SQLite3::ConstraintException: column uid is not unique: UPDATE "oauth_applications" SET "uid" = '625561d59160f7c66a1a4081d9163cb0b492338040e0c0c9fcda7eb349ccf0d4', "updated_at" = '2014-06-13 17:06:50.140142' WHERE "oauth_applications"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2b120afb63ca4e8861a33a06e4d8631e477d6205d78728d08ad0c5de0c982ec7' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '756659fe160167993b3e1f1e6c3b0cae0ff5fbaad4e30bd92887977cc9b35fd1' LIMIT 1
  SQL (0.6ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 12"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6907dfffee481864ddc134fe1fa5bbbf6583e123baf18fad01ee6d054a4eaed6"], ["uid", "756659fe160167993b3e1f1e6c3b0cae0ff5fbaad4e30bd92887977cc9b35fd1"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '756659fe160167993b3e1f1e6c3b0cae0ff5fbaad4e30bd92887977cc9b35fd1' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6ffb9a012e389f815b35e32d2bf5c7648f9ccf469fc355aeb32e573b59d5845f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 13"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "102f2890436a809837ef98b0eab880a055fdc5b53e52f8d1aa3456fdea20552f"], ["uid", "6ffb9a012e389f815b35e32d2bf5c7648f9ccf469fc355aeb32e573b59d5845f"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '76a28c3707b64559b6cedafa85d16f8a0b6c45209b8f6296d5a7c4bca9269514' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 14"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "21621e42284a3a3678168c62648fe2868093bce519a7a994a55e4af15e87f058"], ["uid", "76a28c3707b64559b6cedafa85d16f8a0b6c45209b8f6296d5a7c4bca9269514"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '6ffb9a012e389f815b35e32d2bf5c7648f9ccf469fc355aeb32e573b59d5845f' AND "oauth_applications"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c22e684f3de6ae6a' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 15"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "daf6e55ce03884b947f4e98631fb01f12dbeee6a3672851fc17de1b1e98ee252"], ["uid", "c22e684f3de6ae6a"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a1369d99ad20fd2553393aec69e914e50a08beffe877cab2111288b9ee0c0ede' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 16"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "101c936a7c688df58fc504c8c53a2a1e96002921e2159346df2ae3b167133121"], ["uid", "a1369d99ad20fd2553393aec69e914e50a08beffe877cab2111288b9ee0c0ede"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '82609343039cebf4a1a387573d5335c9e03acc28f17cf0438341bdd4bf74202f' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '75cbeb1c8ddfb701841395716b99a9dc8233f0dc46fa7c510bfd4a36cf53cec8' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bc283c3d381609e9c63242ac23859abed39db94f8ad8504cca2a54ba35cb9747' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a0e94821884da4d9cc5f0e1c6cfb0d66fe1e4f02090e6bb7e3c857811609300c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 20"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0c2875bcd45be2f768cb755b6e87af9a734fc6e9da8748017d089ab4704c0873"], ["uid", "a0e94821884da4d9cc5f0e1c6cfb0d66fe1e4f02090e6bb7e3c857811609300c"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a0e94821884da4d9cc5f0e1c6cfb0d66fe1e4f02090e6bb7e3c857811609300c' AND "oauth_applications"."secret" = '0c2875bcd45be2f768cb755b6e87af9a734fc6e9da8748017d089ab4704c0873' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2db4c2373d657dbbf4e4be4e7ef7d74802c0e74ccc62ec41330dfe309bc7111b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 21"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "67c79c5b246ce3856fd1687aadca8efa696883406c5d2437349338b40766e7a5"], ["uid", "2db4c2373d657dbbf4e4be4e7ef7d74802c0e74ccc62ec41330dfe309bc7111b"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'cd4c92ef07343f98700361b65a0f59e744a35349951d6e7069039a965692ce28' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "cd4c92ef07343f98700361b65a0f59e744a35349951d6e7069039a965692ce28"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ?  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ddbb90c21e04955e7c20c2ae4664c0617acd253ea38a8a908c55c2f47f44d372' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 22"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ebc393658148f2eb3beccd6d89bc9ffd3e4d3453f013003d998c0cc30624f98a"], ["uid", "ddbb90c21e04955e7c20c2ae4664c0617acd253ea38a8a908c55c2f47f44d372"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0d254ac3ed9817ffd880cbdd24ea7c8de6c5800a1d1d8bbfe94aaf7fac8e0542' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "0d254ac3ed9817ffd880cbdd24ea7c8de6c5800a1d1d8bbfe94aaf7fac8e0542"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '231552ebd57c08c16ca6af0d4fb9d9089108cc143cd911e843dd7b95e3b9bf03' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["scopes", nil], ["token", "231552ebd57c08c16ca6af0d4fb9d9089108cc143cd911e843dd7b95e3b9bf03"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 1]]
  SQL (0.0ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 2]]
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
WARNING: Can't mass-assign protected attributes: uid, secret
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'be393d68af3ff477d951e0def7f1b2ea387b8b7225808fb75576aee53256d3ce' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Something"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://somewhere.com/something"], ["secret", "606e9b765afb0ffc431d3acece082f4f5e6f2fc4ed838a83d8ca78f5c59e413f"], ["uid", "be393d68af3ff477d951e0def7f1b2ea387b8b7225808fb75576aee53256d3ce"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eca045755d9291e37aea3ef090c09dac4d494f02d6a26157cf53e8e8db66ddee' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 23"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d434bcd46c4070701668dbbcf512d8ee7f591663afb5b232030c3b52eb280521"], ["uid", "eca045755d9291e37aea3ef090c09dac4d494f02d6a26157cf53e8e8db66ddee"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5623593b5a53945a55132d4a06618e5009245bad6eef889f2300095b9e5c0a45' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", Wed, 11 Jun 2014 17:06:50 UTC +00:00], ["scopes", nil], ["token", "5623593b5a53945a55132d4a06618e5009245bad6eef889f2300095b9e5c0a45"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0fb5229b81c68d8ed8ff7442bfd5c4baa9a7cec1d5da71bebfc0efbfcebdb926' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 24"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "97b064c4c9a0158b590a1e8df9eceba196adb5b1f2847f675ca2b93a11673968"], ["uid", "0fb5229b81c68d8ed8ff7442bfd5c4baa9a7cec1d5da71bebfc0efbfcebdb926"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fc0365fc8bda3e7e49f6bfde5a9cd9a31ab465cde9640d9b686a863150cab0f4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "fc0365fc8bda3e7e49f6bfde5a9cd9a31ab465cde9640d9b686a863150cab0f4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '056712d51b04c5955be658a19e61a9b8556a9a0adf3faaf6c39d9ffd2b293519' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "056712d51b04c5955be658a19e61a9b8556a9a0adf3faaf6c39d9ffd2b293519"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.4ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7b496eba3c33b2eee492d0226bfe1bcbf2e906a32a094001e37630c9a2f0589f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 25"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5adf4902e8b051c13c00f77aa58af8ca98fbc024c23663e7c4eab26865b0192b"], ["uid", "7b496eba3c33b2eee492d0226bfe1bcbf2e906a32a094001e37630c9a2f0589f"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '41b2a7e0059ebdd6d24e6dde5eb603d57841881209f637340b7b73059a2ccb27' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", nil], ["token", "41b2a7e0059ebdd6d24e6dde5eb603d57841881209f637340b7b73059a2ccb27"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '059b423d11d0f768bf1aa1fdcbeed4b489824f120cce0c5c96dbb202d7a6783d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 26"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "34ea627ff8f1cbd2866bbab33df37f8b949a0dfbd98d49c3ebfc14d232ba0165"], ["uid", "059b423d11d0f768bf1aa1fdcbeed4b489824f120cce0c5c96dbb202d7a6783d"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '408d45c7a694cdfc96455b90920ae6266e7c233635c384e5a562ab6f8c383f38' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "408d45c7a694cdfc96455b90920ae6266e7c233635c384e5a562ab6f8c383f38"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '89a93cb15697fb15b477344fe659996f72dda6fa1d3ec86716550aa052d7ace9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 27"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e4579df57d22d6539370d3bd7d855fe25480d9622012f6cb42c06a68829786dc"], ["uid", "89a93cb15697fb15b477344fe659996f72dda6fa1d3ec86716550aa052d7ace9"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4bb7af0c4ae201e96d3fcba7820bc51c4c76c142ae87c5e0bb6d3abd89b5fdef' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "4bb7af0c4ae201e96d3fcba7820bc51c4c76c142ae87c5e0bb6d3abd89b5fdef"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '27e7932a0574970884c828228d4a33af9b84667f042419bac0e6d03510079a74' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 28"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9fed4e5019765269cd24f6db4eceba7277c128b00e8e69245ca063019e8ff0ef"], ["uid", "27e7932a0574970884c828228d4a33af9b84667f042419bac0e6d03510079a74"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '45d52eeb02f3073ff990c7d718bac314d7b79fa67c6c6157a6c92033f8244e75' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "45d52eeb02f3073ff990c7d718bac314d7b79fa67c6c6157a6c92033f8244e75"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.7ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.2ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Filter chain halted as #<Proc:0x007fcbbc4f1c28@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fcbbc508608@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fcbbc508608@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"14"}
Filter chain halted as #<Proc:0x007fcbbc54bcc8@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fcbbc578228@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"5"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fcbbc599130@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Filter chain halted as #<Proc:0x007fcbbc599130@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fcbbc4c9818@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Filter chain halted as #<Proc:0x007fcbbc528318@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"bearer_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fcbbc5b1988@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4cbac8ff78035b2f5d00d953fafc2d7fece817edf01c93b2e40d2ab023089ef8' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 29"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "231d8f9f64e0eeeb1793a08d6e05f7cf794a1e34d6b43046f39af3046f54e619"], ["uid", "4cbac8ff78035b2f5d00d953fafc2d7fece817edf01c93b2e40d2ab023089ef8"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '39183c006891e20ec9cb66d73b71bb49c6c16ca778215193f07222791ec5a2f0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "39183c006891e20ec9cb66d73b71bb49c6c16ca778215193f07222791ec5a2f0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "scopes" = 'admin' WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '39183c006891e20ec9cb66d73b71bb49c6c16ca778215193f07222791ec5a2f0' LIMIT 1
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0bcce9772651ac171c718dc0e561aa8a3e693e23802e933863fb571f06bbb035' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 30"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c73c46ffee0887a13392e95e54b6099b69cb6a6c8ee75bf51045a65ec15c39eb"], ["uid", "0bcce9772651ac171c718dc0e561aa8a3e693e23802e933863fb571f06bbb035"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e344eba57595db0d582dfc3b5354f2954bb3cc9df23a986363acca3a004bb6b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7e344eba57595db0d582dfc3b5354f2954bb3cc9df23a986363acca3a004bb6b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.0ms)  UPDATE "oauth_access_tokens" SET "scopes" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e344eba57595db0d582dfc3b5354f2954bb3cc9df23a986363acca3a004bb6b' LIMIT 1
Filter chain halted as #<Proc:0x007fcbbc4e0400@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4848fa215c717afe6374cc9e85fbe68813deac686758c7e8933e56c1c115d83b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 31"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bab6dd8bdb919d285fb48b6e7f563a7277aaaa24f44fb5dbb9f6d14df4bb35cb"], ["uid", "4848fa215c717afe6374cc9e85fbe68813deac686758c7e8933e56c1c115d83b"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fc57bd4226acd0cbff2c483b3d5b62272d3aadfa10b065b9c15da2a613ee9221' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "fc57bd4226acd0cbff2c483b3d5b62272d3aadfa10b065b9c15da2a613ee9221"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.0ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fc57bd4226acd0cbff2c483b3d5b62272d3aadfa10b065b9c15da2a613ee9221' LIMIT 1
Filter chain halted as #<Proc:0x007fcbbc4e1b70@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8f2e66fab330c643738f84c60a55584a8d216c590cfd83968c82436ce71eddba' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 32"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4a138a8eef2545b504ab158ed93cdc8bf48dfbbe54641d245b6f3f82055490d0"], ["uid", "8f2e66fab330c643738f84c60a55584a8d216c590cfd83968c82436ce71eddba"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7cf8704d10e8661fff7988953202f36384173ba709c20d91edb400da519cb7a9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7cf8704d10e8661fff7988953202f36384173ba709c20d91edb400da519cb7a9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'invalid' LIMIT 1
Filter chain halted as #<Proc:0x007fcbbc4e1b70@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '20c21d5d8228b17afab61e262c311bce80d36afb57f40ed9e63998d0f0005af1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 33"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5fc3bcc83de121aeea7123745bab29c312d4bfffa402ca117a6ab921c50fbfd4"], ["uid", "20c21d5d8228b17afab61e262c311bce80d36afb57f40ed9e63998d0f0005af1"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd5c5f7157a85651fb7a0b3d9541dc50cf8611b73c594c2aff664d282d9aaeae3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "d5c5f7157a85651fb7a0b3d9541dc50cf8611b73c594c2aff664d282d9aaeae3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#index as HTML
Filter chain halted as #<Proc:0x007fcbbc4e1b70@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '054584201358430f1c29b16c57a0d38172d0d57dd6b99300126c718a39e678d9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 34"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4c8357c4dab6e3a990e2f96df5d478c9ab8e47921ee4e108f261df5299afc392"], ["uid", "054584201358430f1c29b16c57a0d38172d0d57dd6b99300126c718a39e678d9"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '79f8b850374b27f3e06772ee510ef39a2ab950cbcb7a088a3b759a934145c84b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "79f8b850374b27f3e06772ee510ef39a2ab950cbcb7a088a3b759a934145c84b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '79f8b850374b27f3e06772ee510ef39a2ab950cbcb7a088a3b759a934145c84b' LIMIT 1
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1b23086c88b65fa3cf461ca44eea252794b593f4713a2ed19a5fb0b5f95693bc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 35"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1975d215da3e437575db969fa021a408ddf118a95208ccf60504e1b9e6ece032"], ["uid", "1b23086c88b65fa3cf461ca44eea252794b593f4713a2ed19a5fb0b5f95693bc"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ecffdf10ec1637a4273dd943bc706ae6dc9599ab91f108a847e68ed4272531ca' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "ecffdf10ec1637a4273dd943bc706ae6dc9599ab91f108a847e68ed4272531ca"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ecffdf10ec1637a4273dd943bc706ae6dc9599ab91f108a847e68ed4272531ca' LIMIT 1
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c757e5ce3b8bb4a7436c175bdb447c9c64d644af267b4ef9cfcca7b1509498cf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "c757e5ce3b8bb4a7436c175bdb447c9c64d644af267b4ef9cfcca7b1509498cf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3ad2480a0d0fbc1686b618e96d4e9c689b6d1d0749fdda5442200b958ed8348b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "3ad2480a0d0fbc1686b618e96d4e9c689b6d1d0749fdda5442200b958ed8348b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 36"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9"], ["uid", "0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75&client_id=0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b&client_secret=e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75", "client_id"=>"0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b", "client_secret"=>"e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b' AND "oauth_applications"."secret" = 'e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:50' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '757c849f634038bc0040a7d69a8d360ea326b048521d1550472e7f3299609801' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "757c849f634038bc0040a7d69a8d360ea326b048521d1550472e7f3299609801"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.8ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code=6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75&client_id=0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b&client_secret=e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75", "client_id"=>"0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b", "client_secret"=>"e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6f926c47faf9cca45ddfd82cbc79bd5d093c61b39a87f790f7e4d90bc84d1e75' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0984f3d2b21a5ec0a3ee2c64df64c479458638bd7499edb6beb3356d1c319a8b' AND "oauth_applications"."secret" = 'e8621f8ae645bff8a21052b50b1b9475eb3d9c39e31ca8d16bd1f2511df713f9' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35f2897ffc738fbbb5fd451f4efeb59e85bd3d0e0bcf752a3b3c2d44b53fceb8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Application 37"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e52fbf712607f5377af2a1e3f718f46aed11e340a4e2995dc5be3581c4de2907"], ["uid", "35f2897ffc738fbbb5fd451f4efeb59e85bd3d0e0bcf752a3b3c2d44b53fceb8"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '530e69dfa35f8e9e0e3df130d46fdb67a03b98d45ad3a338246db11596006dd4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", "public write"], ["token", "530e69dfa35f8e9e0e3df130d46fdb67a03b98d45ad3a338246db11596006dd4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=invalid&client_id=35f2897ffc738fbbb5fd451f4efeb59e85bd3d0e0bcf752a3b3c2d44b53fceb8&client_secret=e52fbf712607f5377af2a1e3f718f46aed11e340a4e2995dc5be3581c4de2907&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"invalid", "client_id"=>"35f2897ffc738fbbb5fd451f4efeb59e85bd3d0e0bcf752a3b3c2d44b53fceb8", "client_secret"=>"e52fbf712607f5377af2a1e3f718f46aed11e340a4e2995dc5be3581c4de2907", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35f2897ffc738fbbb5fd451f4efeb59e85bd3d0e0bcf752a3b3c2d44b53fceb8' AND "oauth_applications"."secret" = 'e52fbf712607f5377af2a1e3f718f46aed11e340a4e2995dc5be3581c4de2907' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '66103114dbe13e0ea0f670388d866509c6764f33a089ca1463e37ed0eaf02f69' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "559af8e9fa7e35144cbcf523178c2fd8933d5ce6e5feffced53615ffdb5e59e1"], ["uid", "66103114dbe13e0ea0f670388d866509c6764f33a089ca1463e37ed0eaf02f69"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=66103114dbe13e0ea0f670388d866509c6764f33a089ca1463e37ed0eaf02f69&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"66103114dbe13e0ea0f670388d866509c6764f33a089ca1463e37ed0eaf02f69", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/sign_in
Filter chain halted as :authenticate_resource_owner! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a67eb6ba9f30223cdb0f767dbbd89613bbb7b131be43a2db2242ba19e67439e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b523594b43c76fe618003321df76e23be26e60addfe43ac37ffb06b8cb41a420"], ["uid", "a67eb6ba9f30223cdb0f767dbbd89613bbb7b131be43a2db2242ba19e67439e7"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=a67eb6ba9f30223cdb0f767dbbd89613bbb7b131be43a2db2242ba19e67439e7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"a67eb6ba9f30223cdb0f767dbbd89613bbb7b131be43a2db2242ba19e67439e7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a67eb6ba9f30223cdb0f767dbbd89613bbb7b131be43a2db2242ba19e67439e7' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e1f0d4514d914c98c46ed19bb8348e5adee5c69e34449b48dc45f8cb7742583b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dc9f0c05c13d07577fa98bc7b2f07a321e8fe88df2332fccea27d1c31358e965"], ["uid", "e1f0d4514d914c98c46ed19bb8348e5adee5c69e34449b48dc45f8cb7742583b"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=e1f0d4514d914c98c46ed19bb8348e5adee5c69e34449b48dc45f8cb7742583b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"e1f0d4514d914c98c46ed19bb8348e5adee5c69e34449b48dc45f8cb7742583b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e1f0d4514d914c98c46ed19bb8348e5adee5c69e34449b48dc45f8cb7742583b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '23aa76ee3c44818cea45df3664132e59ce802b9357868ebca5f13c2390ae3dbd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "28191ae396f2277f7b5218927bd3ed231892eaf5124ea287110495523598ee38"], ["uid", "23aa76ee3c44818cea45df3664132e59ce802b9357868ebca5f13c2390ae3dbd"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:50 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:50 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=23aa76ee3c44818cea45df3664132e59ce802b9357868ebca5f13c2390ae3dbd&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"23aa76ee3c44818cea45df3664132e59ce802b9357868ebca5f13c2390ae3dbd", "redirect_uri"=>"https://app.com/callback"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '23aa76ee3c44818cea45df3664132e59ce802b9357868ebca5f13c2390ae3dbd' LIMIT 1
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3186727e98dede9f75f05e4c00fc0c2ee069cbab88fdd03397209747b67b0074' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2c0cb7eaa30e86cf26cd5b687fbb526effb3e620610083f682f2b865f4f47735"], ["uid", "3186727e98dede9f75f05e4c00fc0c2ee069cbab88fdd03397209747b67b0074"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=3186727e98dede9f75f05e4c00fc0c2ee069cbab88fdd03397209747b67b0074&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"3186727e98dede9f75f05e4c00fc0c2ee069cbab88fdd03397209747b67b0074", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3186727e98dede9f75f05e4c00fc0c2ee069cbab88fdd03397209747b67b0074' LIMIT 1
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (11.2ms)
Completed 200 OK in 17ms (Views: 17.0ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"My Application", "redirect_uri"=>"http://example.com"}, "commit"=>"Submit"}
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd39622baf83d00bccbdab199df53fadd86a6bf5cf0ca58ccc976d1afae180996' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "My Application"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "10ef485715be743b4a535d452bfa54d8765dee266b7058fcb3b0b9507ca7e05c"], ["uid", "d39622baf83d00bccbdab199df53fadd86a6bf5cf0ca58ccc976d1afae180996"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.7ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (8.0ms)
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>""}, "commit"=>"Submit"}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eed57c1d351352ff534c40735f58a7c4c630c2ce112029406389b52e3f79ef9f' LIMIT 1
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (8.0ms)
Completed 200 OK in 20ms (Views: 9.5ms | ActiveRecord: 0.2ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '154756ba6853de5d7983a200c916a7294c2badc9464c59b3ddcbc1f6c5b1562b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c44919e126b8d2d41dcd8947e963a535ff6e5efd88bcbc4f78567ecfdefea847"], ["uid", "154756ba6853de5d7983a200c916a7294c2badc9464c59b3ddcbc1f6c5b1562b"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '45f8b98539bf9719fa7767b127a566986265a296990771a1e546db78c5ddfae8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "45f8b98539bf9719fa7767b127a566986265a296990771a1e546db78c5ddfae8"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (1.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.2ms)
Started DELETE "/oauth/authorized_applications/1" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:51' WHERE "oauth_access_tokens"."id" = 1
Redirected to http://www.example.com/oauth/authorized_applications
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7f79548841f93cbd3c2e53cc72710cc4cf81f3056a64008350b3c602cbaa3854' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "81b731f885eb047a6dd4ed7ca47f432ed6c5a0622a11e5329360bc1ae22f16cd"], ["uid", "7f79548841f93cbd3c2e53cc72710cc4cf81f3056a64008350b3c602cbaa3854"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fd267707be0ff09be2654d50d8274365b959a82dc6f2707b64626e7dcd7cf2a4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "fd267707be0ff09be2654d50d8274365b959a82dc6f2707b64626e7dcd7cf2a4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0cd7fb9c86d40af83487473c83aaee0b9140991ea14dbc98ca8e399a95a4ca61' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Another Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e14b7900327d04fe66789a6f839ee248fe493e231ccbeb7e13a4c011efb82fe3"], ["uid", "0cd7fb9c86d40af83487473c83aaee0b9140991ea14dbc98ca8e399a95a4ca61"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '58ee5b9f2aaff88f3c6567dab45a8e583593e58e0878bdce84eece9ebaa79d24' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "58ee5b9f2aaff88f3c6567dab45a8e583593e58e0878bdce84eece9ebaa79d24"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8746fe6a96d7e61bb3c6037a44a238bf57752aace6794edfc91a94cd99782414' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "22246a12d253b115fa9d7bc2daf01cb408d0d53775345cc18ac7b0353e2e341e"], ["uid", "8746fe6a96d7e61bb3c6037a44a238bf57752aace6794edfc91a94cd99782414"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c92efb333ef3223f6c018ba6518da0852ba0c33290711a29419a642faa524e50' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "c92efb333ef3223f6c018ba6518da0852ba0c33290711a29419a642faa524e50"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e754dd3af4c3cd2e485f0e0885a2e7bc6bf4fa205101ba06417856fc261740b8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 38"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e5644616f88e370ad1de153065ca7f3ec427c4d37c691431b00afead39f96162"], ["uid", "e754dd3af4c3cd2e485f0e0885a2e7bc6bf4fa205101ba06417856fc261740b8"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '76a93a00f4d3294f7d0a9c7ca300ee206b3c941130d8be5ad5c24f7bcd13a1cd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", nil], ["token", "76a93a00f4d3294f7d0a9c7ca300ee206b3c941130d8be5ad5c24f7bcd13a1cd"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.7ms)
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e21386560dc8187dbee915f30341d7e9bbc1bcd64948416c4528746fc5edac61' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 39"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7c3cc4f242c49ca783e56a78485f8caef7b105373d440c0bb84e15e4ab7789e1"], ["uid", "e21386560dc8187dbee915f30341d7e9bbc1bcd64948416c4528746fc5edac61"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '94842cd9c993c2442e2354b8a6aee681d8439a163e7437b38d02a2b95e98daaf' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", nil], ["token", "94842cd9c993c2442e2354b8a6aee681d8439a163e7437b38d02a2b95e98daaf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '19a570e2be95f30e36f32f8c54d8f350be511a39be1043ac3b2c60dc4efea2f1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 40"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f1af84a84abd000c15c930dd6a2b85cc4a2a2d251bc43d2032305638c81bf2af"], ["uid", "19a570e2be95f30e36f32f8c54d8f350be511a39be1043ac3b2c60dc4efea2f1"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'db404327b5cc9a32f47e216a27aed4d263be5d908f7b732500a36cc520b6be87' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 5], ["revoked_at", nil], ["scopes", nil], ["token", "db404327b5cc9a32f47e216a27aed4d263be5d908f7b732500a36cc520b6be87"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a1b6a37741c6d5a2ae8f4ac2b98f253dfa5355655fa43840e8d84d0a4f63ee8e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 41"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "85ce73f4f94108ee122997ab6a10628f57b15cf0939d8b50a49dab1352be0534"], ["uid", "a1b6a37741c6d5a2ae8f4ac2b98f253dfa5355655fa43840e8d84d0a4f63ee8e"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '79fb3035a2f7853d338b4f7d0adf72c3df27e2de5bf4120452967cf7915671ba' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ad5d5d16e07a2a572a27757155b3468a1d7b4018bff8ae4d40f462b48d00a819' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 42"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4b15628ad05ca100fdfb4340f423dd5e90185d55857d96a2e408358185bfc88f"], ["uid", "ad5d5d16e07a2a572a27757155b3468a1d7b4018bff8ae4d40f462b48d00a819"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a93f4f967000955cc849b3be545fd773f4b22526652828e955964c2cbd3aca28' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 90], ["revoked_at", nil], ["scopes", nil], ["token", "a93f4f967000955cc849b3be545fd773f4b22526652828e955964c2cbd3aca28"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dee0379714121a99536506a341e1bf1d41e7efd213f0bd93bad8dd053dcd8033' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 43"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a0a52ce28f3ad33a5b572cf7a52562598991270dd92d376ea1274ac17de1d921"], ["uid", "dee0379714121a99536506a341e1bf1d41e7efd213f0bd93bad8dd053dcd8033"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e94fa4fd037cc64c09ed0a9ffc0c6bbdeffb0a04cd8828d1be0861f65219793' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 44"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c568aa0d55b0faca7dab09b951221b06477b1a0404888de5c52eef347d9a1fdd"], ["uid", "7e94fa4fd037cc64c09ed0a9ffc0c6bbdeffb0a04cd8828d1be0861f65219793"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b7e4b572039aad38886c9594734bc6c6962e2a5f590988f3c7a73ce8c7d85978' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "b7e4b572039aad38886c9594734bc6c6962e2a5f590988f3c7a73ce8c7d85978"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fa66a0e0d0eca4d25fe1b922e02f28258167ce7fe0d14820f35bff4873f7a357' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 45"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "031c50e2cba7e644a5629c7d4c6d56f51cab3018a9cac1e77e0fcb5cef63cd86"], ["uid", "fa66a0e0d0eca4d25fe1b922e02f28258167ce7fe0d14820f35bff4873f7a357"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '63103ab2753fb50d7c9267b1e8fdb7407c39cd6259b742121b904acf65409fca' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "63103ab2753fb50d7c9267b1e8fdb7407c39cd6259b742121b904acf65409fca"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.0ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:51' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5502b336a9e0fefcc0a9c996c8a5533bd259350fb41f52d6815623589a5d4d2b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 46"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e35892314dc11b518ba9f81757666c811a928d7c7acd57cd9b6d92e161f7778"], ["uid", "5502b336a9e0fefcc0a9c996c8a5533bd259350fb41f52d6815623589a5d4d2b"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6f7125d55433e99f5148425c6d85d03dd175f68c1e634ac76a166b186686eda8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "6f7125d55433e99f5148425c6d85d03dd175f68c1e634ac76a166b186686eda8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bbc05ca5b182106d25bb7a5ff0d30c345fad6f2620852b0a54db8329c1812d96' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "bbc05ca5b182106d25bb7a5ff0d30c345fad6f2620852b0a54db8329c1812d96"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '77c7f019bcf4fc5a2c63aaac7d26df1255f85d3ad0689f9b1a438cb2a5635b0c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 47"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "196252e5f53a1bba584177528d30061bcfb0c962e6b39d032d2c34178e8c8523"], ["uid", "77c7f019bcf4fc5a2c63aaac7d26df1255f85d3ad0689f9b1a438cb2a5635b0c"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8542fb413167b13b031064e60740c730553081b41442379ca17ea13df2ab3150' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "8542fb413167b13b031064e60740c730553081b41442379ca17ea13df2ab3150"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9fa2b3dcf1a246181df6f04137ca6eb259e1384c9525a58099a1e2ecef17af1b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "9fa2b3dcf1a246181df6f04137ca6eb259e1384c9525a58099a1e2ecef17af1b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8af0bbcf8d5289511688b16d2d0b818e260b4d9e13c93584f1c2b21f1db06ef3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 48"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7d6843bf02f2bcd4ee0e48314e8d58fe09970042c04bc9519ab710ed0efa3fe0"], ["uid", "8af0bbcf8d5289511688b16d2d0b818e260b4d9e13c93584f1c2b21f1db06ef3"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f89feae987cd1635d3dafbdccba764294ecc0a4eb009f63e4e5b5ebd90abb373' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "f89feae987cd1635d3dafbdccba764294ecc0a4eb009f63e4e5b5ebd90abb373"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eb418b722b99f158bcd84391a0cf580bbe8faefa12a899b6b387893d61b2c180' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 49"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ceb3dfb17f889446cb4fd6792b884f449d0ea9b9991332eebf795ce925b0a247"], ["uid", "eb418b722b99f158bcd84391a0cf580bbe8faefa12a899b6b387893d61b2c180"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fa9eb9b8074cda7845e7fe9eb335c19ab82e2d9e05ee754e1bf12f90eb1bf310' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "fa9eb9b8074cda7845e7fe9eb335c19ab82e2d9e05ee754e1bf12f90eb1bf310"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a07552008aa6dec1f201cdd0bde2277336ea5beb8dc8adceafb7190abee757fa' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 50"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "285245b86625889b7e06e79080ca4d800b7d48173a7bd9299eada2b32042ee07"], ["uid", "a07552008aa6dec1f201cdd0bde2277336ea5beb8dc8adceafb7190abee757fa"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bf18e5fc39062e1f8d9709ffb686188343701aea71d465630eb65b27066fd840' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "bf18e5fc39062e1f8d9709ffb686188343701aea71d465630eb65b27066fd840"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '553fb0e1f6ea2d8a63b1c41cc603781b557273edf7e58b00fb1908e7261c2dee' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 51"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ee4bd46af5e648d3b68df84f8a1aa04ec09131c68617eb8321a5211429704ea3"], ["uid", "553fb0e1f6ea2d8a63b1c41cc603781b557273edf7e58b00fb1908e7261c2dee"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '60fd20b8cd2d9ac9796a78d22519eadfa83162361c0a53cdbbd3081ce58afbee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "60fd20b8cd2d9ac9796a78d22519eadfa83162361c0a53cdbbd3081ce58afbee"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4710a6bbc6154467e1e349c71b50668df92f9cedebe58093201c6569dd87ffe0' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 52"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "588261c380b57612b47850a52d18eb5df048c0d4ee2f5bf5102d85acfa5719f4"], ["uid", "4710a6bbc6154467e1e349c71b50668df92f9cedebe58093201c6569dd87ffe0"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '075039112f9ba3266fd0f107dc3081026c427a3ddb0f65df12be73d2a67441d4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7], ["revoked_at", nil], ["scopes", nil], ["token", "075039112f9ba3266fd0f107dc3081026c427a3ddb0f65df12be73d2a67441d4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9dc5bbd7a6e0c97c5fb0b4db862e72fec8eef7b7f01ede433906d45c8b0ac66e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 53"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d06dfcecfbefc957c727b5fda77253b4906abcaf6dfafa9b0e9222824cda277e"], ["uid", "9dc5bbd7a6e0c97c5fb0b4db862e72fec8eef7b7f01ede433906d45c8b0ac66e"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2121831b2d256eb4d0a505df71021fc834d63e9e88c14baea0ea93bccaaa6b54' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'c588fd31383f871290650679b45d52bba11dad38e2c1377a3c02f6c87b6c6112' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", "c588fd31383f871290650679b45d52bba11dad38e2c1377a3c02f6c87b6c6112"], ["resource_owner_id", 8], ["revoked_at", nil], ["scopes", nil], ["token", "2121831b2d256eb4d0a505df71021fc834d63e9e88c14baea0ea93bccaaa6b54"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '422a86e82f51971a3249f1a641703b0c81acffbec7a57d8a11db71b9658a4134' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 54"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ac5ab2d6bfb45372031191243d28f89c4919aded41b40bb5b6275d15293efb54"], ["uid", "422a86e82f51971a3249f1a641703b0c81acffbec7a57d8a11db71b9658a4134"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1ef681faf7194b9585101682c32cf94fe03b21d10d33784ec89b23a03340a5fb' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '16ef7a39559316c92b58cbbbbe8acd95caf13b4ef04741359b338c9fe4bedaf1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", "16ef7a39559316c92b58cbbbbe8acd95caf13b4ef04741359b338c9fe4bedaf1"], ["resource_owner_id", 9], ["revoked_at", nil], ["scopes", nil], ["token", "1ef681faf7194b9585101682c32cf94fe03b21d10d33784ec89b23a03340a5fb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '27ed7821e5132152b71d0e0ef823cb859a44d2eb16b133fd2947e2cd50516f75' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 55"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "772e404f1f754c4f6219d9c502287e967f6d660030354a4c0d014c9bdecc4fb6"], ["uid", "27ed7821e5132152b71d0e0ef823cb859a44d2eb16b133fd2947e2cd50516f75"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '385bf583bdaac5c7872db61b69de1887c8c5738b2a63ef7b0f50a70f5e1b2e30' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '348675f208206d6feaae113aa17c5d2827c07478cda7c680a645d153756eaa42' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", "348675f208206d6feaae113aa17c5d2827c07478cda7c680a645d153756eaa42"], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "385bf583bdaac5c7872db61b69de1887c8c5738b2a63ef7b0f50a70f5e1b2e30"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '286475d24b012f4bf61ce422cbb72af02615a0a29f415e7274a9bb64d3f69e4a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 56"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "20914747960bcb0da18cb02da3d0c3a7ca2cf187cb392688261d8115fe7d6ffb"], ["uid", "286475d24b012f4bf61ce422cbb72af02615a0a29f415e7274a9bb64d3f69e4a"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a162af4afa4e8f568a7167ef23babec2f5054b8a506d63dbf59d8c98dc844589' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'b64be9502159800c8a4f39d8d48488d47ca5b472088da72149cc67f7c84315a9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", "b64be9502159800c8a4f39d8d48488d47ca5b472088da72149cc67f7c84315a9"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", nil], ["token", "a162af4afa4e8f568a7167ef23babec2f5054b8a506d63dbf59d8c98dc844589"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '558c35f821b9eb9d7473ed15a7c40895fb002707e2db5a77eac7503ea02d9622' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 57"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8af8289c971735bc315d0f9a943c5d664edaef5f68e5be60a698c7e1c0999833"], ["uid", "558c35f821b9eb9d7473ed15a7c40895fb002707e2db5a77eac7503ea02d9622"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4de131a98bc7d55caecb57aabdf83bca17adbdfd3903c6756c5bf5f72164d4e7' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '64684a7fb6816fcdfa6f9d189434a6e0c309622240bf4af34b523ab9655787fe' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", "64684a7fb6816fcdfa6f9d189434a6e0c309622240bf4af34b523ab9655787fe"], ["resource_owner_id", 12], ["revoked_at", nil], ["scopes", nil], ["token", "4de131a98bc7d55caecb57aabdf83bca17adbdfd3903c6756c5bf5f72164d4e7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = '4de131a98bc7d55caecb57aabdf83bca17adbdfd3903c6756c5bf5f72164d4e7' AND "oauth_access_tokens"."id" != 2) LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = 'b64be9502159800c8a4f39d8d48488d47ca5b472088da72149cc67f7c84315a9' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f1bcf3a8eda541adb885db5c2d30c56f6cccd7bd6c36b14f4a97a0b7b7f8973b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 58"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bb163b62de8c40a7a7ec7437cfbe76b758e7997b1af64f9f03e9b5260cf8bc27"], ["uid", "f1bcf3a8eda541adb885db5c2d30c56f6cccd7bd6c36b14f4a97a0b7b7f8973b"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '469db8c22b1b44ef46d4e78c817a49ee77f79e19515ba5595fe15cc2b2ee8a1c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", nil], ["token", "469db8c22b1b44ef46d4e78c817a49ee77f79e19515ba5595fe15cc2b2ee8a1c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '852941edd87fdcea991f2ea6a1ecb14d25d5144128c9407cd6262b8e2c4dd983' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 59"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6316b27d2534b984d31bf8ce97fdba92d7580b6f0f1dd0ff93e926fb5119f356"], ["uid", "852941edd87fdcea991f2ea6a1ecb14d25d5144128c9407cd6262b8e2c4dd983"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0ac67b18fc9037bf3fa94b07ca12b809d9737d222ad67af8390d2d60df25a4db' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", nil], ["token", "0ac67b18fc9037bf3fa94b07ca12b809d9737d222ad67af8390d2d60df25a4db"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  UPDATE "oauth_access_tokens" SET "token" = '469db8c22b1b44ef46d4e78c817a49ee77f79e19515ba5595fe15cc2b2ee8a1c' WHERE "oauth_access_tokens"."id" = 2
SQLite3::ConstraintException: column token is not unique: UPDATE "oauth_access_tokens" SET "token" = '469db8c22b1b44ef46d4e78c817a49ee77f79e19515ba5595fe15cc2b2ee8a1c' WHERE "oauth_access_tokens"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bb775a5e48b9064724693ebef523cd2f14b980ae0e878aa341adfdfe3a5f1202' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 60"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b4b5a6a8811c80de8e6685592f87008a8fe906ffbed135d7c5c7a74145341d40"], ["uid", "bb775a5e48b9064724693ebef523cd2f14b980ae0e878aa341adfdfe3a5f1202"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd263be225abe85d61e6a08caa9de22943a58aef5a76c0eb40b50bf36fa898088' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 15], ["revoked_at", nil], ["scopes", nil], ["token", "d263be225abe85d61e6a08caa9de22943a58aef5a76c0eb40b50bf36fa898088"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de4234a91f9c94f755b68a7bdf46a87ceeb8219b1c7e48992feb351e76681d01' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 61"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d5ecdd2d79bdf8eb24e09da65c70223e818412316ddab48fb85d618a4a591ea8"], ["uid", "de4234a91f9c94f755b68a7bdf46a87ceeb8219b1c7e48992feb351e76681d01"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '63fe62ef6759cd87b5204cbd48af73397590f81d21b72f644ddfe7ffca4e84a1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 16], ["revoked_at", nil], ["scopes", nil], ["token", "63fe62ef6759cd87b5204cbd48af73397590f81d21b72f644ddfe7ffca4e84a1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = 'd263be225abe85d61e6a08caa9de22943a58aef5a76c0eb40b50bf36fa898088' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '047e4057c81d1f3cb2e86d8db24e235d7999a5666a7171560dc4baa5f89b16b9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 62"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7e5ccb4ef202bd0be9fd5f6326276e3fda519146f615fcdb6cbf36e2a94b9cc3"], ["uid", "047e4057c81d1f3cb2e86d8db24e235d7999a5666a7171560dc4baa5f89b16b9"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a86fee43c980a2da2f18ba84f23fbd196dd50b5cb2eddf9d887bc26f57896e6d' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0db5e89428219ffb46e4d9f5ca7a2d0d2b068e318c2ade1d8c52920eccc697b2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 63"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3d70ec536733d78819c7e1a353dce883ba7620769f5292a86493bc3afb3753d2"], ["uid", "0db5e89428219ffb46e4d9f5ca7a2d0d2b068e318c2ade1d8c52920eccc697b2"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1d881fb14d2078ae40cbcc4c8872269e53a16380e570fd45358b617faf698614' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 18], ["revoked_at", nil], ["scopes", nil], ["token", "1d881fb14d2078ae40cbcc4c8872269e53a16380e570fd45358b617faf698614"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '430563b6f8af7a55c3fb5c74f924f94caded2f5ad0388a8897e0e590ed958dc6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 64"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "fdac7744775c6ae6a80f893a2a9fdf6d6e476a0739fe0963813a325ab3f05f35"], ["uid", "430563b6f8af7a55c3fb5c74f924f94caded2f5ad0388a8897e0e590ed958dc6"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '300accf606454ce140284225443f428768d03bda124426d354038f85945383ce' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 19], ["revoked_at", nil], ["scopes", nil], ["token", "300accf606454ce140284225443f428768d03bda124426d354038f85945383ce"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:51' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8abfd37b5eda06a041f516fe46527a2e9ec7dfa0ba1af00adfac142ffd2d6ea2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 65"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f8f2f527514c7f277134adf520efb5e48f6cb936c3e1b0c39dfaf166aaf9b65b"], ["uid", "8abfd37b5eda06a041f516fe46527a2e9ec7dfa0ba1af00adfac142ffd2d6ea2"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3404e86adb8e892d9cb0aea6f7d5a3d9e23d0f9391b6d318cfd1b44f47516687' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "3404e86adb8e892d9cb0aea6f7d5a3d9e23d0f9391b6d318cfd1b44f47516687"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8ed2005b4f79700cab872889eb8d40b1914a22bc0cd49e547c2efa66c7eb6944' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 66"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a90ab551a9ad0606ced0e19b84c46c83a37a19818b4798d68ad5c1d96ac88e42"], ["uid", "8ed2005b4f79700cab872889eb8d40b1914a22bc0cd49e547c2efa66c7eb6944"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b369e9401fbf6aceaba6479d345485bfb38f2927fdbc8b271bc361b5b9aa7bb7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "b369e9401fbf6aceaba6479d345485bfb38f2927fdbc8b271bc361b5b9aa7bb7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '66d6713c9c79f843ab7b18f4724be3f3eaf9c22a75968d64b8d634f13c0d8427' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 67"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ec816ea8ab6866d601cb43ecda00432ce2db967619ef19582f00e868d93c7ce0"], ["uid", "66d6713c9c79f843ab7b18f4724be3f3eaf9c22a75968d64b8d634f13c0d8427"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.2ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7b7484753f581c8c412d747d1dd5953bba18f3ce8c9309d5bad505a7a0809579' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public write"], ["token", "7b7484753f581c8c412d747d1dd5953bba18f3ce8c9309d5bad505a7a0809579"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" IS NULL AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd31b49925b3aa5ec1997db2fd23b26a7d32fc6b81a9ca59a5e81627f89d4c84c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 68"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7c786ad6c85666b3b0964c688f627bfade2db68ad71eb4269e5ecb1c32217d2e"], ["uid", "d31b49925b3aa5ec1997db2fd23b26a7d32fc6b81a9ca59a5e81627f89d4c84c"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a4bbf9c44745eb3399c5c06f86573a08bafb11c41465e07818ea995459cc275a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", Thu, 12 Jun 2014 17:06:51 UTC +00:00], ["scopes", "public write"], ["token", "a4bbf9c44745eb3399c5c06f86573a08bafb11c41465e07818ea995459cc275a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a3acb00ad6c00375e3b6616dfbcc5ab04ade864d5041d622d5fa22164ca1ea8f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 69"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "08044d1fc42460994544070eb8f82d8b9c9a82eab5c7f8d94ffe78655007409c"], ["uid", "a3acb00ad6c00375e3b6616dfbcc5ab04ade864d5041d622d5fa22164ca1ea8f"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9a1680f272960271c8af71397ad95f3c28df4fbf061133ca4dec1de7f041198a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public email"], ["token", "9a1680f272960271c8af71397ad95f3c28df4fbf061133ca4dec1de7f041198a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2bb543374d0d81a680e4eda8c7a7c94cb80caded34fb8956c0daa55242293ae3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 70"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0e1213e70f6743dabcfbffebb1a6eca6e9d1a8e2e441df7273da3c01a5ac4ed1"], ["uid", "2bb543374d0d81a680e4eda8c7a7c94cb80caded34fb8956c0daa55242293ae3"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '21de6293542b910c7cb7041948e7224da2d06d3f6bd831b1fcaa865df499fabe' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "21de6293542b910c7cb7041948e7224da2d06d3f6bd831b1fcaa865df499fabe"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ae2805ffa3e4adb9db8ca2513f854a8274522237140004dd7c5f296b2efd9c53' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 71"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bf591234d671a56d3bc8d460d911131aa25cac2ffafb10dde941b739e75893f4"], ["uid", "ae2805ffa3e4adb9db8ca2513f854a8274522237140004dd7c5f296b2efd9c53"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.2ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b0bc4b5a7cf6c68b7159d9f383e3fa8ed16394e97d9d34367ac96a7980706de3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Thu, 12 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "b0bc4b5a7cf6c68b7159d9f383e3fa8ed16394e97d9d34367ac96a7980706de3"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '97ea364a3e2e25ff899fbb33b7eff5e861c79fc63a805c57f59ae93386d26580' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "97ea364a3e2e25ff899fbb33b7eff5e861c79fc63a805c57f59ae93386d26580"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd8e3dfca9b08436d72ca42fed450a4fadaebddffbbe7f7cdac61f3f1deeb58d4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 72"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dcd139ca6a3b63bb52d825fd107cc85f0f30b41aa1070e0117100ddcfe54b606"], ["uid", "d8e3dfca9b08436d72ca42fed450a4fadaebddffbbe7f7cdac61f3f1deeb58d4"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4e98904c85efe347a9bde9040f1b0e97a8db7eb6e55aabdcb65e92e543ab4392' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "4e98904c85efe347a9bde9040f1b0e97a8db7eb6e55aabdcb65e92e543ab4392"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '060b6bc0ac0a73023a69a9ad7a569642c1a6b0d106543681b782008a86ca5a9d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 73"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c439205d91de1167045f50485857cb2da8afa416f93ceabd60cadc4968a20b35"], ["uid", "060b6bc0ac0a73023a69a9ad7a569642c1a6b0d106543681b782008a86ca5a9d"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '212c710b42e385961af16bcfe94ddbd71704f4d7bedd00752dec527c1229aae4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 74"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "604ecaf73263af142fa926d31d4ef34803974fb4c3339549cb28d205222b8460"], ["uid", "212c710b42e385961af16bcfe94ddbd71704f4d7bedd00752dec527c1229aae4"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4bbfdd617900fda5e1b6d974f7cffc04ed624e3a93afacf552a172bb436b3642' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "4bbfdd617900fda5e1b6d974f7cffc04ed624e3a93afacf552a172bb436b3642"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '09098d61f4f7217c9fce753376710c2b0bc5a10536255eda5c3b9c19b1cf8983' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 75"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1b03908ffc8bed218c47a84d05e68c07873c0c48d5d8cacb25dfc8932eb8798f"], ["uid", "09098d61f4f7217c9fce753376710c2b0bc5a10536255eda5c3b9c19b1cf8983"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd83fb0ed29cebfd385bebfd4dfb62a56f51f77bb612a443e16be83d7f5f4847d' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f84c588bb12e96568eadadf8a403eb5f8d91a7d776719df2e5e57b68d0da046e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 76"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "aba252c403b930a010357fa97e4a405ff695538727fc9efdf8fe092683ebe125"], ["uid", "f84c588bb12e96568eadadf8a403eb5f8d91a7d776719df2e5e57b68d0da046e"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f57d1af7c634d5fb0a6f0d77232c4e8511d15a3ed96acb8d4331f039c4353862' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 77"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9869783f34c42ce9035061046c7fe4aa613bc4d4550d20366203ea921abbf937"], ["uid", "f57d1af7c634d5fb0a6f0d77232c4e8511d15a3ed96acb8d4331f039c4353862"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ae064ebc68b09779d32a6addc32de90b47f757f8176871a896b47fb52448ad97' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 78"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8e6d69aca6ab40e19d7ff163e7129f9b7a9e7c55d5e68a0c86f04b3d824148a7"], ["uid", "ae064ebc68b09779d32a6addc32de90b47f757f8176871a896b47fb52448ad97"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2edd9c78a8cd842c8339a73c92204d6ef327ee15269dfc0593e6def2883bcf4d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "2edd9c78a8cd842c8339a73c92204d6ef327ee15269dfc0593e6def2883bcf4d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ae064ebc68b09779d32a6addc32de90b47f757f8176871a896b47fb52448ad97' AND "oauth_applications"."secret" = '8e6d69aca6ab40e19d7ff163e7129f9b7a9e7c55d5e68a0c86f04b3d824148a7' LIMIT 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 99 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6f96dc1742b242c484feba34ac964be078ddab10fb2853dcdd58fb394e0bc46c' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 79"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9d408e604b897d2a7fbacf3664eaf575aab22e615a0175246459d7e373af549c"], ["uid", "6f96dc1742b242c484feba34ac964be078ddab10fb2853dcdd58fb394e0bc46c"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3116c0b036d10eb1e508cadefd13429319cb44da19d705ca1ce2605f9f302346' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "3116c0b036d10eb1e508cadefd13429319cb44da19d705ca1ce2605f9f302346"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6f96dc1742b242c484feba34ac964be078ddab10fb2853dcdd58fb394e0bc46c' AND "oauth_applications"."secret" = '9d408e604b897d2a7fbacf3664eaf575aab22e615a0175246459d7e373af549c' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a478da50f046941de0c976a249704ef88fb292b7f235956755cd00c17af2a26f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "a478da50f046941de0c976a249704ef88fb292b7f235956755cd00c17af2a26f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b592813f30d18c570931d0b1fe87c805d4e2c403b1c00816cbb679b3b1768099' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 80"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "868bc7c0a8a209cf406f838c7e61b26cab5b98c91978db8964d789368f1007c7"], ["uid", "b592813f30d18c570931d0b1fe87c805d4e2c403b1c00816cbb679b3b1768099"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b592813f30d18c570931d0b1fe87c805d4e2c403b1c00816cbb679b3b1768099' AND "oauth_applications"."secret" = '868bc7c0a8a209cf406f838c7e61b26cab5b98c91978db8964d789368f1007c7' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e68693ecdb79c4d7d047c34e8937e7ebd79d29ee3085f7d03f17210e1eb7e7c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 81"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "96d12b976935e4045246317f96c238edecd54239d793bec8c80e2f2d59957bc9"], ["uid", "3e68693ecdb79c4d7d047c34e8937e7ebd79d29ee3085f7d03f17210e1eb7e7c"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e68693ecdb79c4d7d047c34e8937e7ebd79d29ee3085f7d03f17210e1eb7e7c' AND "oauth_applications"."secret" = '96d12b976935e4045246317f96c238edecd54239d793bec8c80e2f2d59957bc9' LIMIT 1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2525aa67000e8e0df2e1b36c47dbf25f52c1e0259bffff5d33d2b93d0eb32bb3' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 82"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f22e7de7f9ae3fc9b3143e250f04482821a76659a0cd7905410f5f8fa5487c12"], ["uid", "2525aa67000e8e0df2e1b36c47dbf25f52c1e0259bffff5d33d2b93d0eb32bb3"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2525aa67000e8e0df2e1b36c47dbf25f52c1e0259bffff5d33d2b93d0eb32bb3' AND "oauth_applications"."secret" = 'f22e7de7f9ae3fc9b3143e250f04482821a76659a0cd7905410f5f8fa5487c12' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6ad81ffe577aaa87380e6c8b9cc4363346ec69a1a9a4fb0bf1014acc42a3f1f1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "6ad81ffe577aaa87380e6c8b9cc4363346ec69a1a9a4fb0bf1014acc42a3f1f1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9a24d8fbe620a744e1dc68e8eec69a66a35a94ea15e92cd6acb64d572b7fabe3' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 83"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9a66e74bfaa8b8f8c74b980c1b351eaf81659b549667a3f1ad353989fc3bca22"], ["uid", "9a24d8fbe620a744e1dc68e8eec69a66a35a94ea15e92cd6acb64d572b7fabe3"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9a24d8fbe620a744e1dc68e8eec69a66a35a94ea15e92cd6acb64d572b7fabe3' AND "oauth_applications"."secret" = '9a66e74bfaa8b8f8c74b980c1b351eaf81659b549667a3f1ad353989fc3bca22' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bc170da64d0cdd96921a5366ea51ead66ebd825c29f4a5b47153a5352cc1e35f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 84"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cbec3146d30f5b589483037c9858d332c790c7c4f0d52c84e2615b1f5ef1609a"], ["uid", "bc170da64d0cdd96921a5366ea51ead66ebd825c29f4a5b47153a5352cc1e35f"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bc170da64d0cdd96921a5366ea51ead66ebd825c29f4a5b47153a5352cc1e35f' AND "oauth_applications"."secret" = 'cbec3146d30f5b589483037c9858d332c790c7c4f0d52c84e2615b1f5ef1609a' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c1bf6019bce7316a6596f75fc08ebac94b2c524974d2f16f4dd49a5d894f12a5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "c1bf6019bce7316a6596f75fc08ebac94b2c524974d2f16f4dd49a5d894f12a5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'acb198b34d3c42ef1f72fb27eccd14f28389010e9528615ef080c5bfeecd8529' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 85"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "474ff790ac41a9b5e64255e2eac55869f5ab220fdcaedb612d3eb86b5da69983"], ["uid", "acb198b34d3c42ef1f72fb27eccd14f28389010e9528615ef080c5bfeecd8529"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'acb198b34d3c42ef1f72fb27eccd14f28389010e9528615ef080c5bfeecd8529' AND "oauth_applications"."secret" = '474ff790ac41a9b5e64255e2eac55869f5ab220fdcaedb612d3eb86b5da69983' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8dd3cd20e6e34ae58e47ae4affeddb850001ab7d021f452e7d38a90294212296' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 86"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "514338954e29bc3a9b014c26f25d4c45fdc15d449ff15c4e836ace0802a1bc8d"], ["uid", "8dd3cd20e6e34ae58e47ae4affeddb850001ab7d021f452e7d38a90294212296"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8dd3cd20e6e34ae58e47ae4affeddb850001ab7d021f452e7d38a90294212296' AND "oauth_applications"."secret" = '514338954e29bc3a9b014c26f25d4c45fdc15d449ff15c4e836ace0802a1bc8d' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8b219778bd12ffe5d96441b5dbf27d56c249d7bb887cff54266a79a5c7854ad5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", "public"], ["token", "8b219778bd12ffe5d96441b5dbf27d56c249d7bb887cff54266a79a5c7854ad5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '39af56ce03b36d783941440e15e482ca8c9e124d515bb1a88066719d1fca0585' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "39af56ce03b36d783941440e15e482ca8c9e124d515bb1a88066719d1fca0585"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '9e471f1fe4ffeee5404162a741dcfb38a7eeb471a038ac5846496a41a718ae7f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "9e471f1fe4ffeee5404162a741dcfb38a7eeb471a038ac5846496a41a718ae7f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4464b991bc2198755da4839c77f2464d3b346eb032cd497db9a7dfa20a30b177' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7df8785fb84772683b33f824b5e82e757274c4108f2225e021a0d95c6f5a6aa8"], ["uid", "4464b991bc2198755da4839c77f2464d3b346eb032cd497db9a7dfa20a30b177"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (10.9ms)
Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.1ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '4464b991bc2198755da4839c77f2464d3b346eb032cd497db9a7dfa20a30b177' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Serious app', "updated_at" = '2014-06-13 17:06:51.696603' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90d3bf09f132cef27915f6d5e82f1241873410bbc433ef9239a9577a50c11312' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5a99329c3b1d9508c96f379df6f1fd948131d8022d0bfd47bc87e8c6773c22c5"], ["uid", "90d3bf09f132cef27915f6d5e82f1241873410bbc433ef9239a9577a50c11312"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (8.0ms)
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '90d3bf09f132cef27915f6d5e82f1241873410bbc433ef9239a9577a50c11312' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (8.3ms)
Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2ec2b42550fdac01780c2879bdadb15ee1be99e128e488bf05b72030227e15ac' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Oauth Dude"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ca7c4245d54c17d2a950ab543a619d6536686d689b3c40e848d4161c47c1bb6f"], ["uid", "2ec2b42550fdac01780c2879bdadb15ee1be99e128e488bf05b72030227e15ac"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '92541fb2ac13d8491ec829aa1de303f9aa6b15a71d3736fc6f89f3c372487a49' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Awesome App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a0efb3ed8cf1d30186b77973dc573ef6568eff81cc2fb3695dbf7aa693d0ace6"], ["uid", "92541fb2ac13d8491ec829aa1de303f9aa6b15a71d3736fc6f89f3c372487a49"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (2.5ms)
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.3ms)
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 87"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e00e917c5bb08447afb8e3af6af27e0df434e8347f5c21c3ef98744a2daa6db5"], ["uid", "10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '10b3feab506834cb4ec2125d172067c65bf07760c5a932504fbcadd6ec687b5a' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '4751851d0a2a3e74424bcb7593effba074c80b8d3e487ebed61ad9af3e1ee4b6' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "4751851d0a2a3e74424bcb7593effba074c80b8d3e487ebed61ad9af3e1ee4b6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=4751851d0a2a3e74424bcb7593effba074c80b8d3e487ebed61ad9af3e1ee4b6
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/callback?code=4751851d0a2a3e74424bcb7593effba074c80b8d3e487ebed61ad9af3e1ee4b6" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"4751851d0a2a3e74424bcb7593effba074c80b8d3e487ebed61ad9af3e1ee4b6"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 88"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "690080645c894887fa3ee7bca1154462f98e886a994f414cdf8ad95e92a96408"], ["uid", "c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/callback?code=b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700&client_id=c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49&client_secret=690080645c894887fa3ee7bca1154462f98e886a994f414cdf8ad95e92a96408&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700", "client_id"=>"c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49", "client_secret"=>"690080645c894887fa3ee7bca1154462f98e886a994f414cdf8ad95e92a96408", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b83a66344c496dad897d040345b00f2a6e70d13f7b18a97400c1d0d055e59700' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c35b8cdecbce990ebc2c4fe80a45e874bcaafa1fa26c053fee4464559f4e7a49' AND "oauth_applications"."secret" = '690080645c894887fa3ee7bca1154462f98e886a994f414cdf8ad95e92a96408' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:51' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '75ee76fe237571598d6627c213fae75c79e13321050bca8142757be062a46634' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "75ee76fe237571598d6627c213fae75c79e13321050bca8142757be062a46634"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 89"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "91c455c517aa718285bb80f61f3d98a88af15c5001602d765202642fdbb4007e"], ["uid", "6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.2ms)  UPDATE "oauth_applications" SET "redirect_uri" = 'urn:ietf:wg:oauth:2.0:oob', "updated_at" = '2014-06-13 17:06:51.881005' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6eb87f5ce29b5eb3980065c32f77e93edeb20542e28513033b09bc919d55bc5c' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '0972181d2cb8580aa813566b3c70ccd58d1109005676797639911913eee204b8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "urn:ietf:wg:oauth:2.0:oob"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "0972181d2cb8580aa813566b3c70ccd58d1109005676797639911913eee204b8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/authorize/0972181d2cb8580aa813566b3c70ccd58d1109005676797639911913eee204b8
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/oauth/authorize/0972181d2cb8580aa813566b3c70ccd58d1109005676797639911913eee204b8" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#show as HTML
  Parameters: {"code"=>"0972181d2cb8580aa813566b3c70ccd58d1109005676797639911913eee204b8"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 90"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cfd6356f2721b88675ae95f4d2925a1bfc00c3e3e3b9e605d57d42b536d47893"], ["uid", "bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bfca914fcd364f1a2188e2baa991ac658fad1a8371a95b447c9edf16862c27bc' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '448fb770410f9e30523ce0e6cea41b0db0c1b1e1814a546eb61e92ecd5ce1859' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "448fb770410f9e30523ce0e6cea41b0db0c1b1e1814a546eb61e92ecd5ce1859"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=448fb770410f9e30523ce0e6cea41b0db0c1b1e1814a546eb61e92ecd5ce1859&state=return-me
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=448fb770410f9e30523ce0e6cea41b0db0c1b1e1814a546eb61e92ecd5ce1859&state=return-me" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"448fb770410f9e30523ce0e6cea41b0db0c1b1e1814a546eb61e92ecd5ce1859", "state"=>"return-me"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 91"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d81a292a12930cde136a3990b11c78387f9101022361cebf50001a5d6862da3a"], ["uid", "26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ee5ae58fedb30153fd002fdf7ef1641d1ee5f1529113416c5e9f6752ec3c3f74' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "ee5ae58fedb30153fd002fdf7ef1641d1ee5f1529113416c5e9f6752ec3c3f74"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/callback?code=51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c&client_id=26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585&client_secret=d81a292a12930cde136a3990b11c78387f9101022361cebf50001a5d6862da3a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c", "client_id"=>"26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585", "client_secret"=>"d81a292a12930cde136a3990b11c78387f9101022361cebf50001a5d6862da3a", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '51e6151eb6f56405b870c275aee87cb4eeaeb296493d6f04065b563d4ae8808c' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '26dd69381420571d52ebe4b723e7ccb4a59d030bf80c91efa5364c4f43db3585' AND "oauth_applications"."secret" = 'd81a292a12930cde136a3990b11c78387f9101022361cebf50001a5d6862da3a' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:51' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5affb6acddc2bbb3795e3bfb146dfda07ad7ff59f9f81d72e63b4e7255a67027' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "5affb6acddc2bbb3795e3bfb146dfda07ad7ff59f9f81d72e63b4e7255a67027"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Application 92"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "712ba29adea679e000912f71dd1012d005423325ecbc67a818bd8398d8c0ccdd"], ["uid", "50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:51 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:51 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '50bd53d9b8260ef8a4d4e9a4a3ca1f45e7ca045def39134f81d29154562deb71' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '0916c087baed812ae9c146f3b1d0bf4dbc122536c2031c03fbdf907c004ed6a0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "write"], ["token", "0916c087baed812ae9c146f3b1d0bf4dbc122536c2031c03fbdf907c004ed6a0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=0916c087baed812ae9c146f3b1d0bf4dbc122536c2031c03fbdf907c004ed6a0
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/callback?code=0916c087baed812ae9c146f3b1d0bf4dbc122536c2031c03fbdf907c004ed6a0" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"0916c087baed812ae9c146f3b1d0bf4dbc122536c2031c03fbdf907c004ed6a0"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 93"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e355bf2453d3efceb1255ec7f4914024ec8ebb426daffa500a2545dc370ef4c1"], ["uid", "265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '265a491ef3b5caa7975efab2e451ed96137c468dc6a970702174db2ab6084c26' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '0b3d2be5ac2b9220024022377579672069aa16c8677d767ca4babcb66a8012a7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "0b3d2be5ac2b9220024022377579672069aa16c8677d767ca4babcb66a8012a7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=0b3d2be5ac2b9220024022377579672069aa16c8677d767ca4babcb66a8012a7
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=0b3d2be5ac2b9220024022377579672069aa16c8677d767ca4babcb66a8012a7" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"0b3d2be5ac2b9220024022377579672069aa16c8677d767ca4babcb66a8012a7"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 94"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e90c9fbcacf25a606410548ec83c0021aeb98245dabed3c37899358af212d83d"], ["uid", "c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c915d9f550d13c95113af57c96059fc8f68f9b7aa99e31faf6cce6a23db7389e' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '17f253bcd135d008f37d8b905ad8f552d561554c2db30a92b85c58f7c0747ad0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "17f253bcd135d008f37d8b905ad8f552d561554c2db30a92b85c58f7c0747ad0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=17f253bcd135d008f37d8b905ad8f552d561554c2db30a92b85c58f7c0747ad0
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=17f253bcd135d008f37d8b905ad8f552d561554c2db30a92b85c58f7c0747ad0" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"17f253bcd135d008f37d8b905ad8f552d561554c2db30a92b85c58f7c0747ad0"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 95"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f6e713c3417356c622f2d9ace0e654b53fc06a5b0a521aa200aa4b214db5016c"], ["uid", "b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
Started GET "/callback?code=ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62&client_id=b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3&client_secret=f6e713c3417356c622f2d9ace0e654b53fc06a5b0a521aa200aa4b214db5016c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62", "client_id"=>"b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3", "client_secret"=>"f6e713c3417356c622f2d9ace0e654b53fc06a5b0a521aa200aa4b214db5016c", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ae19577de0b2138b226074b87b0573ff9580fe2e4eca32bba06999b51c2d5a62' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b0e40bcc248d1ba2ad6ac50dbaa89c75e52914329fa52e5ef177a3e111be03f3' AND "oauth_applications"."secret" = 'f6e713c3417356c622f2d9ace0e654b53fc06a5b0a521aa200aa4b214db5016c' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '444bcdf7ade0fc7620d50138d35c8491bedf5aebfb58814a486dabfba4f1f862' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "444bcdf7ade0fc7620d50138d35c8491bedf5aebfb58814a486dabfba4f1f862"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 96"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15"], ["uid", "7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '71ca4045733d8aad86b2141e160efb2bacabcce45a91daf521644d354a4a177d' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e68f3d1755b6637c85a206fef04167e5a626864d8d2ee5bf2bf5ba43eb4514ba' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "e68f3d1755b6637c85a206fef04167e5a626864d8d2ee5bf2bf5ba43eb4514ba"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "71ca4045733d8aad86b2141e160efb2bacabcce45a91daf521644d354a4a177d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?code&client_id=7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27&client_secret=a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27", "client_secret"=>"a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27' AND "oauth_applications"."secret" = 'a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a7cccb26e2f97e6e71c1920bf46cb67e880adc1a44a2692a1218fdc9418d755b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5febb1d4cc5f54481efd40e8cf8c4c434d7d5300e32860d76773529b71b067f3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5febb1d4cc5f54481efd40e8cf8c4c434d7d5300e32860d76773529b71b067f3"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "a7cccb26e2f97e6e71c1920bf46cb67e880adc1a44a2692a1218fdc9418d755b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
Started POST "/oauth/token?refresh_token=e68f3d1755b6637c85a206fef04167e5a626864d8d2ee5bf2bf5ba43eb4514ba&client_id=7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27&client_secret=a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"e68f3d1755b6637c85a206fef04167e5a626864d8d2ee5bf2bf5ba43eb4514ba", "client_id"=>"7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27", "client_secret"=>"a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e68f3d1755b6637c85a206fef04167e5a626864d8d2ee5bf2bf5ba43eb4514ba' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d6773310a5a3426b296e1802c2109183497a2546fa4dd6364f16fce813dda27' AND "oauth_applications"."secret" = 'a774b3f77bb4b682c630c1c98943f3ba12f81375d0547a347140d0e4eb9a5c15' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ecafd3a1b60d8401fb4a86fe50eed26d5ec1e7849e9b1520f32f415f8c237e37' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'afdbaef38c4111f46b53d1c281f78ec5bb3b86a7c21f4e28c687de812f64ab5b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "afdbaef38c4111f46b53d1c281f78ec5bb3b86a7c21f4e28c687de812f64ab5b"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "ecafd3a1b60d8401fb4a86fe50eed26d5ec1e7849e9b1520f32f415f8c237e37"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 9ms (ActiveRecord: 0.9ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '75b33dafc2183df250d10659ae3203c424399ee341907572f9328775bf5d494a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 97"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6730bf08817eeca6f9aa7b04be085eddd43c9f38835d07876124ec54eac6f441"], ["uid", "75b33dafc2183df250d10659ae3203c424399ee341907572f9328775bf5d494a"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ce7afd5e926454f3abb712bb40f32659e84d141fec55854841361b2edd67e0a0' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '93a7f7ac6d7865e49a0a158cc7b561f50aa5ae38451dc21d2ae58ca0847f3196' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "93a7f7ac6d7865e49a0a158cc7b561f50aa5ae38451dc21d2ae58ca0847f3196"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "ce7afd5e926454f3abb712bb40f32659e84d141fec55854841361b2edd67e0a0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=93a7f7ac6d7865e49a0a158cc7b561f50aa5ae38451dc21d2ae58ca0847f3196&client_id=75b33dafc2183df250d10659ae3203c424399ee341907572f9328775bf5d494a&client_secret=6730bf08817eeca6f9aa7b04be085eddd43c9f38835d07876124ec54eac6f441&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"93a7f7ac6d7865e49a0a158cc7b561f50aa5ae38451dc21d2ae58ca0847f3196", "client_id"=>"75b33dafc2183df250d10659ae3203c424399ee341907572f9328775bf5d494a", "client_secret"=>"6730bf08817eeca6f9aa7b04be085eddd43c9f38835d07876124ec54eac6f441", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '93a7f7ac6d7865e49a0a158cc7b561f50aa5ae38451dc21d2ae58ca0847f3196' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '75b33dafc2183df250d10659ae3203c424399ee341907572f9328775bf5d494a' AND "oauth_applications"."secret" = '6730bf08817eeca6f9aa7b04be085eddd43c9f38835d07876124ec54eac6f441' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '321bf79922576516bb36a93252afc2b318b9d675bd683e90f762985b8e86a676' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a56e2542fcd206cb6c4e8127ca36f084ed78e9d508180a1bd394799f7878f77a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a56e2542fcd206cb6c4e8127ca36f084ed78e9d508180a1bd394799f7878f77a"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "321bf79922576516bb36a93252afc2b318b9d675bd683e90f762985b8e86a676"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '77bdb341a9b6a89ddd4d3c015c5fce5e619f107ac86c4d267dfd64895ffdc578' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 98"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ddfab2e398519a79ce85c8d15efc20d51c98394177e5a71019db8ed68c13fe84"], ["uid", "77bdb341a9b6a89ddd4d3c015c5fce5e619f107ac86c4d267dfd64895ffdc578"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7edfc3e8835effb168924f353dfc363c0fc76218fbb67fc10baf911027b16c12' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7788196aab3cbc8670e66e0303a7a9f8ffdb39b9615554fea265ef89f9d05a11' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "7788196aab3cbc8670e66e0303a7a9f8ffdb39b9615554fea265ef89f9d05a11"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7edfc3e8835effb168924f353dfc363c0fc76218fbb67fc10baf911027b16c12"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=7788196aab3cbc8670e66e0303a7a9f8ffdb39b9615554fea265ef89f9d05a11&client_id=77bdb341a9b6a89ddd4d3c015c5fce5e619f107ac86c4d267dfd64895ffdc578&client_secret=ddfab2e398519a79ce85c8d15efc20d51c98394177e5a71019db8ed68c13fe84&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"7788196aab3cbc8670e66e0303a7a9f8ffdb39b9615554fea265ef89f9d05a11", "client_id"=>"77bdb341a9b6a89ddd4d3c015c5fce5e619f107ac86c4d267dfd64895ffdc578", "client_secret"=>"ddfab2e398519a79ce85c8d15efc20d51c98394177e5a71019db8ed68c13fe84", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7788196aab3cbc8670e66e0303a7a9f8ffdb39b9615554fea265ef89f9d05a11' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '77bdb341a9b6a89ddd4d3c015c5fce5e619f107ac86c4d267dfd64895ffdc578' AND "oauth_applications"."secret" = 'ddfab2e398519a79ce85c8d15efc20d51c98394177e5a71019db8ed68c13fe84' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'db4e6b4cb5558d828c3230d1a15714d8007a758512d843fdcfedd78d24801029' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 99"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9412fcd42a3a8e7cd268dbdf37bd53db13b70de354cadd3f900494dc3e324f03"], ["uid", "db4e6b4cb5558d828c3230d1a15714d8007a758512d843fdcfedd78d24801029"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9cf379c8d4ea98ba20d4f7b4247d89e2b1a5360d5a5864bf049a9986adbe4c31' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '83ca29636cf378826e0c491ca1aadb866bfbca9beb969dc356e9129803f10f53' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "83ca29636cf378826e0c491ca1aadb866bfbca9beb969dc356e9129803f10f53"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "9cf379c8d4ea98ba20d4f7b4247d89e2b1a5360d5a5864bf049a9986adbe4c31"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=83ca29636cf378826e0c491ca1aadb866bfbca9beb969dc356e9129803f10f53&client_id=db4e6b4cb5558d828c3230d1a15714d8007a758512d843fdcfedd78d24801029&client_secret=9412fcd42a3a8e7cd268dbdf37bd53db13b70de354cadd3f900494dc3e324f03&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"83ca29636cf378826e0c491ca1aadb866bfbca9beb969dc356e9129803f10f53", "client_id"=>"db4e6b4cb5558d828c3230d1a15714d8007a758512d843fdcfedd78d24801029", "client_secret"=>"9412fcd42a3a8e7cd268dbdf37bd53db13b70de354cadd3f900494dc3e324f03", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '83ca29636cf378826e0c491ca1aadb866bfbca9beb969dc356e9129803f10f53' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'db4e6b4cb5558d828c3230d1a15714d8007a758512d843fdcfedd78d24801029' AND "oauth_applications"."secret" = '9412fcd42a3a8e7cd268dbdf37bd53db13b70de354cadd3f900494dc3e324f03' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '12999401a76bfe8c5fecdac651f48e448c40ed5de4ec4dad57396ae22635c3db' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5b4d7459a4eec7043607ec7cfac2254f21c89c11cbe662e0ce5f54cf32c03f11' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5b4d7459a4eec7043607ec7cfac2254f21c89c11cbe662e0ce5f54cf32c03f11"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "12999401a76bfe8c5fecdac651f48e448c40ed5de4ec4dad57396ae22635c3db"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ffbc1682131792daf81859de7757466372a28e67606649a83c14d81c06d17b1c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 100"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4d368d3d9a8059b91e1feae867776a116526d404b3f0c8dd669b6e65de6b91ac"], ["uid", "ffbc1682131792daf81859de7757466372a28e67606649a83c14d81c06d17b1c"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '17b4c05778fc0f6cde0443701651a039bc547687127481faa9e4f9849dcdff46' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '990dea4c2644bad8cb90e244f736dd4fa8b85c81beae497e1882c570198cc4f5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "990dea4c2644bad8cb90e244f736dd4fa8b85c81beae497e1882c570198cc4f5"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "17b4c05778fc0f6cde0443701651a039bc547687127481faa9e4f9849dcdff46"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=invalid&client_id=ffbc1682131792daf81859de7757466372a28e67606649a83c14d81c06d17b1c&client_secret=4d368d3d9a8059b91e1feae867776a116526d404b3f0c8dd669b6e65de6b91ac&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"invalid", "client_id"=>"ffbc1682131792daf81859de7757466372a28e67606649a83c14d81c06d17b1c", "client_secret"=>"4d368d3d9a8059b91e1feae867776a116526d404b3f0c8dd669b6e65de6b91ac", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ffbc1682131792daf81859de7757466372a28e67606649a83c14d81c06d17b1c' AND "oauth_applications"."secret" = '4d368d3d9a8059b91e1feae867776a116526d404b3f0c8dd669b6e65de6b91ac' LIMIT 1
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 101"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a"], ["uid", "e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'fcc1681b1b35232eece06120a938549816b7760776a7ed1364d65a55fcc03a4c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", "public write"], ["token", "fcc1681b1b35232eece06120a938549816b7760776a7ed1364d65a55fcc03a4c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=fcc1681b1b35232eece06120a938549816b7760776a7ed1364d65a55fcc03a4c&client_id=e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec&client_secret=2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"fcc1681b1b35232eece06120a938549816b7760776a7ed1364d65a55fcc03a4c", "client_id"=>"e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec", "client_secret"=>"2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'fcc1681b1b35232eece06120a938549816b7760776a7ed1364d65a55fcc03a4c' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec' AND "oauth_applications"."secret" = '2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '504b37a0a99ff9af77b19ee4176dcc293e16a757eecbab26f1dea949f427d3e9' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '38ffb121114563be887c776aa0fec3a02266c4f612d1c60aeb7098f8f68b4c09' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "38ffb121114563be887c776aa0fec3a02266c4f612d1c60aeb7098f8f68b4c09"], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", "public write"], ["token", "504b37a0a99ff9af77b19ee4176dcc293e16a757eecbab26f1dea949f427d3e9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
Started POST "/oauth/token?refresh_token=38ffb121114563be887c776aa0fec3a02266c4f612d1c60aeb7098f8f68b4c09&client_id=e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec&client_secret=2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"38ffb121114563be887c776aa0fec3a02266c4f612d1c60aeb7098f8f68b4c09", "client_id"=>"e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec", "client_secret"=>"2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '38ffb121114563be887c776aa0fec3a02266c4f612d1c60aeb7098f8f68b4c09' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e4e72486592d7f8a33f20a20ad488cae1e27267806596b3e05eb84070975b9ec' AND "oauth_applications"."secret" = '2d9d08f54b6bd92aa364bb02f6cd873a442c814b2641cabb6c29adba4180fe9a' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f2e6af0cc02f4125287a66ad5fad806a1b0e97db43a1c3e4761dd36f42b5e0f4' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '1eea78e15a48db1e7d98b55a6013a6b39065d83a72591ff54509a4542284256b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "1eea78e15a48db1e7d98b55a6013a6b39065d83a72591ff54509a4542284256b"], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", "public write"], ["token", "f2e6af0cc02f4125287a66ad5fad806a1b0e97db43a1c3e4761dd36f42b5e0f4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
Processing by Doorkeeper::ApplicationsController#index as HTML
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5203ce598132bc1d364ea1fe5b6af09311afcbe558eb77c1ab647ab186f888b6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 102"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c2ff51ba760041a5197da638a9560fa133c3af75a57cb025a1ecd5a1b39959fe"], ["uid", "5203ce598132bc1d364ea1fe5b6af09311afcbe558eb77c1ab647ab186f888b6"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}, "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '5203ce598132bc1d364ea1fe5b6af09311afcbe558eb77c1ab647ab186f888b6' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Example', "redirect_uri" = 'http://example.com', "updated_at" = '2014-06-13 17:06:52.304355' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8ee631c43ba1cc688e71df52b38f46f5eb8d387f2d957fb07a37ca21f2f2e7c5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 103"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cbff627ff28011637d78f8e0298e60159f314b77500a4a8362ac84f46f30c176"], ["uid", "8ee631c43ba1cc688e71df52b38f46f5eb8d387f2d957fb07a37ca21f2f2e7c5"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '8ee631c43ba1cc688e71df52b38f46f5eb8d387f2d957fb07a37ca21f2f2e7c5' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b92242e2ff7b44b2586f01ec1d58f9c7e2a5a3cd52b6e613a4ca39d2e12d68d2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Example"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "9fc56f9c7ea58e7289ad3bf25f6859e25a1586f81a3ff8c7f615ff37475c9ca0"], ["uid", "b92242e2ff7b44b2586f01ec1d58f9c7e2a5a3cd52b6e613a4ca39d2e12d68d2"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b86d0a9b723d82782b1373c9d9950f31f07b30d80e73e7cb483d4b6a6ff6e202' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 104"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "85f27316d105e66c52071041eec2edea0184c1efd804a8e4bf546b5ee72cd249"], ["uid", "b86d0a9b723d82782b1373c9d9950f31f07b30d80e73e7cb483d4b6a6ff6e202"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '634c38024b85f088ec5a971540bd0c306c3c21269f90391bc41c8a184ec06cae' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7904e09726357fdedd32e2120ba672b386ff3a0633faa1c53e24a6160063db8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 105"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d01d731b12b41d054c7e7b7ffb8b1adc6ea73f144025b3d374c9dc7571979e32"], ["uid", "f7904e09726357fdedd32e2120ba672b386ff3a0633faa1c53e24a6160063db8"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6861743852b23e0c1c398c8d671b09651eae18a89559b539821c4b86421882bd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 106"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a840e7b2cd5f355a3e5c7ab0abaee6fcb76e3b151acecbf11a85a1ba38712214"], ["uid", "6861743852b23e0c1c398c8d671b09651eae18a89559b539821c4b86421882bd"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '40d97acc29e445652991fe9bbc61cbdf9fcf766d13430c5ade4afb2d9f5518df' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 107"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "56396f1aac577e888e12178308a98d7a8d354a2fddedd4b0e16b127a4fc7bdea"], ["uid", "40d97acc29e445652991fe9bbc61cbdf9fcf766d13430c5ade4afb2d9f5518df"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd593e5c7cb76f90b7ebae239aa173ef2440f70d8d085207ca384689ff08dd251' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4b514a22e09399f9607811f3cb6d12eb06d11701811c9624ed229b400fd1d0f1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 108"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f5bb5be3a11d8dfca3c290cfb4d9fd86d1eb5791858d8d800f8dc92eeea72e92"], ["uid", "4b514a22e09399f9607811f3cb6d12eb06d11701811c9624ed229b400fd1d0f1"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd611e8b3ed51df954cd5b1e9cee10a64b1e1191647d228a493c416af5f85c965' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e3ff37c6f9713b337f2cca7c52a31886c90b8142c686ee5e3bc80598bc178915' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 109"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2ac7008105bf8c0fab368a4a61d57c2b18feb89d1d0360c85d01ed84f3799781"], ["uid", "e3ff37c6f9713b337f2cca7c52a31886c90b8142c686ee5e3bc80598bc178915"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '5c693a9ff53e41ff49f2c3e9899f913ad50f070fc86710e442287bfb6b1206a3' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c525c6738907f53d20004398762bdb089190c924d6ffdb4bb21643c58b665be1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 110"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "50fd95010c07d9290157f6f3a146b1b0315ccf6a6b9ac2eeb251393fb5f64a22"], ["uid", "c525c6738907f53d20004398762bdb089190c924d6ffdb4bb21643c58b665be1"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '8e0716f8fdc42f5f8af56a1d57365ff1cd78c18e25b8ff497c133adcd4057bb8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "8e0716f8fdc42f5f8af56a1d57365ff1cd78c18e25b8ff497c133adcd4057bb8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" IS NULL AND "oauth_access_grants"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd8b598f962e4d294b94b0b38dcc1b5feff9e1c7ecf7d5b950183651d4344a86e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 111"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bbdb5b1bc21ee0119b78692485a577ceaeb8a5d6ddb77cfd1001aa7d2d96d322"], ["uid", "d8b598f962e4d294b94b0b38dcc1b5feff9e1c7ecf7d5b950183651d4344a86e"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '30f3c65d70cb67101fca15bde100da04972ee3b5499a2cf4180ed947f43ffb01' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 12], ["revoked_at", nil], ["scopes", "public write"], ["token", "30f3c65d70cb67101fca15bde100da04972ee3b5499a2cf4180ed947f43ffb01"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fd7d61dd21edf23025c640d8344f5fee79013b5e2595782beb027b05038939a7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 112"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2c5352c624eb64170b3ef5392c84e3d7c4b6fbbd2be44a67a9665e41bb6d04e8"], ["uid", "fd7d61dd21edf23025c640d8344f5fee79013b5e2595782beb027b05038939a7"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '92934e8db8100c33492169a7e506be46e23d9c9d6f8b0f57edc3690c425e8b64' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", "public write"], ["token", "92934e8db8100c33492169a7e506be46e23d9c9d6f8b0f57edc3690c425e8b64"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8c4f661b73dfb6f35493503a6bcc559b2df52353e3c78ae473f92f59d05b2da3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 113"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d3898f68b7686eb050eb6760bf07a15d71cb4f8241507982204eef6095a4c0aa"], ["uid", "8c4f661b73dfb6f35493503a6bcc559b2df52353e3c78ae473f92f59d05b2da3"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '63f0233d6a6bf3273f6007a535d4b5f523fd2bc3947a65525ac295c3c44dac7f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", "public write"], ["token", "63f0233d6a6bf3273f6007a535d4b5f523fd2bc3947a65525ac295c3c44dac7f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c7b40b74374284b93d1fc7e3a1f7aef14e809440e460ea5af28a402f64c35d11' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 114"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d42d23e070a869ec8b5e27bc3033c9d71d0241a439eb02ffb83e8ac010ba367d"], ["uid", "c7b40b74374284b93d1fc7e3a1f7aef14e809440e460ea5af28a402f64c35d11"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '8585c2b37a1dd482c41a9e1cf041ceef63a74406c7a1b3e5f0fa1b7001dc8ea3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 15], ["revoked_at", nil], ["scopes", "public write"], ["token", "8585c2b37a1dd482c41a9e1cf041ceef63a74406c7a1b3e5f0fa1b7001dc8ea3"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  UPDATE "oauth_access_grants" SET "token" = '63f0233d6a6bf3273f6007a535d4b5f523fd2bc3947a65525ac295c3c44dac7f' WHERE "oauth_access_grants"."id" = 2
SQLite3::ConstraintException: column token is not unique: UPDATE "oauth_access_grants" SET "token" = '63f0233d6a6bf3273f6007a535d4b5f523fd2bc3947a65525ac295c3c44dac7f' WHERE "oauth_access_grants"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '408e029c5bac7a0c8ecd1a8ddd90cff8c52ee888311a350fcb2ace860ab9023f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 115"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "312b64857b6f1c72e0338909d7bc4cc35cdd279eb68bdd49ad19c66b14771b0c"], ["uid", "408e029c5bac7a0c8ecd1a8ddd90cff8c52ee888311a350fcb2ace860ab9023f"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '37cee98c259bb708d49f1292e3d77d9ebbd94f5778fd8f61a948660544466d42' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 16], ["revoked_at", nil], ["scopes", "public write"], ["token", "37cee98c259bb708d49f1292e3d77d9ebbd94f5778fd8f61a948660544466d42"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '07c7d5a85230dc806da0869eca32a82bbcd56d53c7dd5767f0ef10ab17bb75c5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 116"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d64f43b9dbe5ac35d575c160c1ca244fead46cf3f43a04d77f6a27cb5e8bea4a"], ["uid", "07c7d5a85230dc806da0869eca32a82bbcd56d53c7dd5767f0ef10ab17bb75c5"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'fc41196c7903587794a2805c80da57bb00a9548ccc09af3aec74267fe37244bf' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", "public write"], ["token", "fc41196c7903587794a2805c80da57bb00a9548ccc09af3aec74267fe37244bf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" = '37cee98c259bb708d49f1292e3d77d9ebbd94f5778fd8f61a948660544466d42' AND "oauth_access_grants"."id" != 2) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6a728b07a85fef87d73bd33d9d3fa39a75c6ab859494a5bd56c3a29a0c5ae606' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 117"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3cb001548c7e068930200ce8a368e54fd3e308001d5dfb1b1456464c77dfccf9"], ["uid", "6a728b07a85fef87d73bd33d9d3fa39a75c6ab859494a5bd56c3a29a0c5ae606"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '2ca90175b924207cb78fcd168e05c65d840f1c64e390c3590a143e4c06ea85e0' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b824a3c1db0a151d666915e7beb33f37b5c4274c883e1e43a993b000c0c9c722' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 118"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "008262cea2859161681d7e324a5fa153d2f3b54a3d35512638831ee0162ff656"], ["uid", "b824a3c1db0a151d666915e7beb33f37b5c4274c883e1e43a993b000c0c9c722"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd1f04853b95caa843973bbcdd0f3eec22ef8f97abb1ca1c721fe5c231bdc4859' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 19], ["revoked_at", nil], ["scopes", "public"], ["token", "d1f04853b95caa843973bbcdd0f3eec22ef8f97abb1ca1c721fe5c231bdc4859"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=d1f04853b95caa843973bbcdd0f3eec22ef8f97abb1ca1c721fe5c231bdc4859&client_id=b824a3c1db0a151d666915e7beb33f37b5c4274c883e1e43a993b000c0c9c722&client_secret=008262cea2859161681d7e324a5fa153d2f3b54a3d35512638831ee0162ff656&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"d1f04853b95caa843973bbcdd0f3eec22ef8f97abb1ca1c721fe5c231bdc4859", "client_id"=>"b824a3c1db0a151d666915e7beb33f37b5c4274c883e1e43a993b000c0c9c722", "client_secret"=>"008262cea2859161681d7e324a5fa153d2f3b54a3d35512638831ee0162ff656", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eb76e27026e9d400936b968fe74524614d563771d3fb71995958848c9b0053d3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 119"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "60a0cffe813c52a0a65d4c42a2262a52da9832509a74db5454d2b35df0f57fb8"], ["uid", "eb76e27026e9d400936b968fe74524614d563771d3fb71995958848c9b0053d3"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '0b4c531fd0e7db8bead0bcd87709ba63ce3e21af2279ce1467be04a9156f79df' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 20], ["revoked_at", nil], ["scopes", "public"], ["token", "0b4c531fd0e7db8bead0bcd87709ba63ce3e21af2279ce1467be04a9156f79df"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=0b4c531fd0e7db8bead0bcd87709ba63ce3e21af2279ce1467be04a9156f79df&client_id=eb76e27026e9d400936b968fe74524614d563771d3fb71995958848c9b0053d3&client_secret=60a0cffe813c52a0a65d4c42a2262a52da9832509a74db5454d2b35df0f57fb8&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"0b4c531fd0e7db8bead0bcd87709ba63ce3e21af2279ce1467be04a9156f79df", "client_id"=>"eb76e27026e9d400936b968fe74524614d563771d3fb71995958848c9b0053d3", "client_secret"=>"60a0cffe813c52a0a65d4c42a2262a52da9832509a74db5454d2b35df0f57fb8", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dc685478ca8c8d986956835f49c02a846e578e566478f5626ff0ef757a35f7c7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 120"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ccd149de6da8c3aabf112196f66d9eba66a673d5135e6f556812b538cf0e4f7a"], ["uid", "dc685478ca8c8d986956835f49c02a846e578e566478f5626ff0ef757a35f7c7"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'edf2c1908021051881ea1e9da3c22b71531f554158463745f7cfea5083808d18' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 21], ["revoked_at", nil], ["scopes", "public"], ["token", "edf2c1908021051881ea1e9da3c22b71531f554158463745f7cfea5083808d18"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=edf2c1908021051881ea1e9da3c22b71531f554158463745f7cfea5083808d18&client_id=dc685478ca8c8d986956835f49c02a846e578e566478f5626ff0ef757a35f7c7&client_secret=ccd149de6da8c3aabf112196f66d9eba66a673d5135e6f556812b538cf0e4f7a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"edf2c1908021051881ea1e9da3c22b71531f554158463745f7cfea5083808d18", "client_id"=>"dc685478ca8c8d986956835f49c02a846e578e566478f5626ff0ef757a35f7c7", "client_secret"=>"ccd149de6da8c3aabf112196f66d9eba66a673d5135e6f556812b538cf0e4f7a", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '00380f7732d948d585112da40cd5749e2397d06199f7205320939c16bcfa4e2c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 121"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4e07c47b2439ee953a29068933c8c8d36b6e1be74cca08b6a6452d5bda10d047"], ["uid", "00380f7732d948d585112da40cd5749e2397d06199f7205320939c16bcfa4e2c"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '314e52a26c7dfb61f10f24af5217d8a7a36c42c20c6be0b93f38999eeeaf74b2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", "public"], ["token", "314e52a26c7dfb61f10f24af5217d8a7a36c42c20c6be0b93f38999eeeaf74b2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=314e52a26c7dfb61f10f24af5217d8a7a36c42c20c6be0b93f38999eeeaf74b2&client_id=00380f7732d948d585112da40cd5749e2397d06199f7205320939c16bcfa4e2c&client_secret=4e07c47b2439ee953a29068933c8c8d36b6e1be74cca08b6a6452d5bda10d047&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"314e52a26c7dfb61f10f24af5217d8a7a36c42c20c6be0b93f38999eeeaf74b2", "client_id"=>"00380f7732d948d585112da40cd5749e2397d06199f7205320939c16bcfa4e2c", "client_secret"=>"4e07c47b2439ee953a29068933c8c8d36b6e1be74cca08b6a6452d5bda10d047", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '314e52a26c7dfb61f10f24af5217d8a7a36c42c20c6be0b93f38999eeeaf74b2' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '00380f7732d948d585112da40cd5749e2397d06199f7205320939c16bcfa4e2c' AND "oauth_applications"."secret" = '4e07c47b2439ee953a29068933c8c8d36b6e1be74cca08b6a6452d5bda10d047' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0b48e93ade9614d54d76b7a357b041dcdde39327e2369fc549fb003651d849d0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", "public"], ["token", "0b48e93ade9614d54d76b7a357b041dcdde39327e2369fc549fb003651d849d0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'da41962ee5c310de412ebafdc32ff5a54939388148f4bd4599fd98b1bafcb48f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 122"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1f1d9fe340ce14130cfd35815114e5c1d8da9ae798556544003ea92a39b34d26"], ["uid", "da41962ee5c310de412ebafdc32ff5a54939388148f4bd4599fd98b1bafcb48f"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '951fbfd12901548f2fbdf7fba4bdc70f1838062ebc58dc352d85d8d66acaca4c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", "public"], ["token", "951fbfd12901548f2fbdf7fba4bdc70f1838062ebc58dc352d85d8d66acaca4c"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=951fbfd12901548f2fbdf7fba4bdc70f1838062ebc58dc352d85d8d66acaca4c&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"951fbfd12901548f2fbdf7fba4bdc70f1838062ebc58dc352d85d8d66acaca4c", "client_id"=>nil, "client_secret"=>nil, "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '951fbfd12901548f2fbdf7fba4bdc70f1838062ebc58dc352d85d8d66acaca4c' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'da41962ee5c310de412ebafdc32ff5a54939388148f4bd4599fd98b1bafcb48f' AND "oauth_applications"."secret" = '1f1d9fe340ce14130cfd35815114e5c1d8da9ae798556544003ea92a39b34d26' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f212d882e4429534f7c1b3bd122a622df37aa370ff0331d8ea757cd6caffcce8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", "public"], ["token", "f212d882e4429534f7c1b3bd122a622df37aa370ff0331d8ea757cd6caffcce8"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b782faabcd52c87bf1059613f97f395ee278ccafb2a063f1d771964fc4c06fd1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 123"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "02c67581094a17ca7afa4b3c624a213ec47af1ba2c579e4dee38474e35eaddd4"], ["uid", "b782faabcd52c87bf1059613f97f395ee278ccafb2a063f1d771964fc4c06fd1"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '0a68b38d4c24982d2e03779720266a7bd636dd6387dea0ae1d51c1f89a5b9ec4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", "public"], ["token", "0a68b38d4c24982d2e03779720266a7bd636dd6387dea0ae1d51c1f89a5b9ec4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=0a68b38d4c24982d2e03779720266a7bd636dd6387dea0ae1d51c1f89a5b9ec4&client_id=b782faabcd52c87bf1059613f97f395ee278ccafb2a063f1d771964fc4c06fd1&client_secret=02c67581094a17ca7afa4b3c624a213ec47af1ba2c579e4dee38474e35eaddd4&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"0a68b38d4c24982d2e03779720266a7bd636dd6387dea0ae1d51c1f89a5b9ec4", "client_id"=>"b782faabcd52c87bf1059613f97f395ee278ccafb2a063f1d771964fc4c06fd1", "client_secret"=>"02c67581094a17ca7afa4b3c624a213ec47af1ba2c579e4dee38474e35eaddd4", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5855d4fca0a75a7b0b541a7f0f7d5b44675138221673f5335c1aae0508b690e3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 124"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e0e2260120a3e06e4863ffaed1d77c81655a9509d4a7fe480082e1430e491dfd"], ["uid", "5855d4fca0a75a7b0b541a7f0f7d5b44675138221673f5335c1aae0508b690e3"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'eb9dc0f9c3d5043f0be44dfef8e0debef607db159038b4d3b78eed2b550556ad' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", "public"], ["token", "eb9dc0f9c3d5043f0be44dfef8e0debef607db159038b4d3b78eed2b550556ad"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=eb9dc0f9c3d5043f0be44dfef8e0debef607db159038b4d3b78eed2b550556ad&client_id=5855d4fca0a75a7b0b541a7f0f7d5b44675138221673f5335c1aae0508b690e3&client_secret=e0e2260120a3e06e4863ffaed1d77c81655a9509d4a7fe480082e1430e491dfd&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"eb9dc0f9c3d5043f0be44dfef8e0debef607db159038b4d3b78eed2b550556ad", "client_id"=>"5855d4fca0a75a7b0b541a7f0f7d5b44675138221673f5335c1aae0508b690e3", "client_secret"=>"e0e2260120a3e06e4863ffaed1d77c81655a9509d4a7fe480082e1430e491dfd", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'eb9dc0f9c3d5043f0be44dfef8e0debef607db159038b4d3b78eed2b550556ad' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5855d4fca0a75a7b0b541a7f0f7d5b44675138221673f5335c1aae0508b690e3' AND "oauth_applications"."secret" = 'e0e2260120a3e06e4863ffaed1d77c81655a9509d4a7fe480082e1430e491dfd' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:52' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0f6d75702458f670bf3c4f0e6e7502c5c601fee2b63ad5e2646d9630ae5158f8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", "public"], ["token", "0f6d75702458f670bf3c4f0e6e7502c5c601fee2b63ad5e2646d9630ae5158f8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd0b470e06a2784a55b35db839031d8cb4fe3e2eeab3263be48dfe11e60554880' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 125"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cd30b66a5d2f6d6f266896f9920a9769f6a51787a333c4d54ec94c7c921cd215"], ["uid", "d0b470e06a2784a55b35db839031d8cb4fe3e2eeab3263be48dfe11e60554880"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'invalid' LIMIT 1
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b49fda746f445247f3a73a904a726c4623826c0754354f814f5b94de1b957172' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 126"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "71c4a7e18c2c079df31ffbfe04b0f22f41ec48ea4c4177bfbd501c71ed14a390"], ["uid", "b49fda746f445247f3a73a904a726c4623826c0754354f814f5b94de1b957172"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=b49fda746f445247f3a73a904a726c4623826c0754354f814f5b94de1b957172&response_type=token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"b49fda746f445247f3a73a904a726c4623826c0754354f814f5b94de1b957172", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b49fda746f445247f3a73a904a726c4623826c0754354f814f5b94de1b957172' LIMIT 1
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd80cebe5539febb8343670faf062dd8e20f706ca957c7a77617785eba87c840c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 127"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eae829ce9ec0b51919846d19d8b19cee5d4977649f569de32e48ca8e03026887"], ["uid", "d80cebe5539febb8343670faf062dd8e20f706ca957c7a77617785eba87c840c"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d565285069b802f94c196bd40c505d3ad9d6214727c13d27f08693379b345cc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 128"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f4c567cac8c8dae6df235d7777aeeae4d480ebb867bc3d927ab0a7a09d6c14dc"], ["uid", "7d565285069b802f94c196bd40c505d3ad9d6214727c13d27f08693379b345cc"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=7d565285069b802f94c196bd40c505d3ad9d6214727c13d27f08693379b345cc&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7d565285069b802f94c196bd40c505d3ad9d6214727c13d27f08693379b345cc", "redirect_uri"=>"invalid", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d565285069b802f94c196bd40c505d3ad9d6214727c13d27f08693379b345cc' LIMIT 1
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '54a98339b6650b2a3531da0bd191277b9d09c2a8bb2ac60793555b09a8088f67' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 129"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e96a0a0b1f13adbebe34b976b844fba6834a4b20f2166e82212aba3928701c06"], ["uid", "54a98339b6650b2a3531da0bd191277b9d09c2a8bb2ac60793555b09a8088f67"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '83a919eabe66b5b30f2939d24dd5894080a9df8f450a20e730116c124339c405' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "83a919eabe66b5b30f2939d24dd5894080a9df8f450a20e730116c124339c405"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/metal.json?access_token=83a919eabe66b5b30f2939d24dd5894080a9df8f450a20e730116c124339c405" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '83a919eabe66b5b30f2939d24dd5894080a9df8f450a20e730116c124339c405' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cd4864b85daf9d182022420c61ad94db7b5b34b4239ced97a965e73a4bca69c1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 130"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9effcf1795a73830bca182011ffc7f492ac48229875a19e82dbd883c940bed1b"], ["uid", "cd4864b85daf9d182022420c61ad94db7b5b34b4239ced97a965e73a4bca69c1"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=cd4864b85daf9d182022420c61ad94db7b5b34b4239ced97a965e73a4bca69c1&client_secret=bad_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"cd4864b85daf9d182022420c61ad94db7b5b34b4239ced97a965e73a4bca69c1", "client_secret"=>"bad_secret", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cd4864b85daf9d182022420c61ad94db7b5b34b4239ced97a965e73a4bca69c1' AND "oauth_applications"."secret" = 'bad_secret' LIMIT 1
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b2e572606c5d4d4cd32bd05158bed5841e29cee68c48484e67ed33230cd3c854' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 131"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7dc37a079b1f0cc7f159afc207eff18c66ca78d698f1104c0a258d1ebd7734ea"], ["uid", "b2e572606c5d4d4cd32bd05158bed5841e29cee68c48484e67ed33230cd3c854"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=b2e572606c5d4d4cd32bd05158bed5841e29cee68c48484e67ed33230cd3c854&client_secret=7dc37a079b1f0cc7f159afc207eff18c66ca78d698f1104c0a258d1ebd7734ea&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"b2e572606c5d4d4cd32bd05158bed5841e29cee68c48484e67ed33230cd3c854", "client_secret"=>"7dc37a079b1f0cc7f159afc207eff18c66ca78d698f1104c0a258d1ebd7734ea", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'wrongpassword' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b2e572606c5d4d4cd32bd05158bed5841e29cee68c48484e67ed33230cd3c854' AND "oauth_applications"."secret" = '7dc37a079b1f0cc7f159afc207eff18c66ca78d698f1104c0a258d1ebd7734ea' LIMIT 1
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '148d72f2af7a6e25c9a08ecb06fadd1582a2cee832168f86243bc7245ef8ceb9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 132"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "005c612bc9cd2e39012fc13bcc35b8167d2ba8113c239da0e0f6e0e8376fe554"], ["uid", "148d72f2af7a6e25c9a08ecb06fadd1582a2cee832168f86243bc7245ef8ceb9"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=148d72f2af7a6e25c9a08ecb06fadd1582a2cee832168f86243bc7245ef8ceb9&client_secret=005c612bc9cd2e39012fc13bcc35b8167d2ba8113c239da0e0f6e0e8376fe554&username&password&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"148d72f2af7a6e25c9a08ecb06fadd1582a2cee832168f86243bc7245ef8ceb9", "client_secret"=>"005c612bc9cd2e39012fc13bcc35b8167d2ba8113c239da0e0f6e0e8376fe554", "username"=>nil, "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" IS NULL AND "users"."password" IS NULL LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '148d72f2af7a6e25c9a08ecb06fadd1582a2cee832168f86243bc7245ef8ceb9' AND "oauth_applications"."secret" = '005c612bc9cd2e39012fc13bcc35b8167d2ba8113c239da0e0f6e0e8376fe554' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '16e6310a9e8706fe3431ef091dd1de9de933b31886363c4a5af709de45f33099' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 133"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "29880512972a070be8a7848d0971dd27fac011168ee432a13c825707acfa793a"], ["uid", "16e6310a9e8706fe3431ef091dd1de9de933b31886363c4a5af709de45f33099"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=16e6310a9e8706fe3431ef091dd1de9de933b31886363c4a5af709de45f33099&client_secret=29880512972a070be8a7848d0971dd27fac011168ee432a13c825707acfa793a&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"16e6310a9e8706fe3431ef091dd1de9de933b31886363c4a5af709de45f33099", "client_secret"=>"29880512972a070be8a7848d0971dd27fac011168ee432a13c825707acfa793a", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '16e6310a9e8706fe3431ef091dd1de9de933b31886363c4a5af709de45f33099' AND "oauth_applications"."secret" = '29880512972a070be8a7848d0971dd27fac011168ee432a13c825707acfa793a' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1808b6211603de1dd4d5d34d8733cfe6bf55e3484e9c0939d98009062b2b260f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "1808b6211603de1dd4d5d34d8733cfe6bf55e3484e9c0939d98009062b2b260f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4f1e32a065b376cdd64d73df3d4aaa44cceca9c57086b0f32140451bc5b70a09' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 134"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "19c7ec21d1784dcb462df5982a40be5a7aa9947affacf0513eb88fca8ac46ced"], ["uid", "4f1e32a065b376cdd64d73df3d4aaa44cceca9c57086b0f32140451bc5b70a09"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '287b9193d02f072d865a7a91845ff062bbb32b570df1cc0fb6b7fff1eb9f2ce6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "287b9193d02f072d865a7a91845ff062bbb32b570df1cc0fb6b7fff1eb9f2ce6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=4f1e32a065b376cdd64d73df3d4aaa44cceca9c57086b0f32140451bc5b70a09&client_secret=19c7ec21d1784dcb462df5982a40be5a7aa9947affacf0513eb88fca8ac46ced&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"4f1e32a065b376cdd64d73df3d4aaa44cceca9c57086b0f32140451bc5b70a09", "client_secret"=>"19c7ec21d1784dcb462df5982a40be5a7aa9947affacf0513eb88fca8ac46ced", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4f1e32a065b376cdd64d73df3d4aaa44cceca9c57086b0f32140451bc5b70a09' AND "oauth_applications"."secret" = '19c7ec21d1784dcb462df5982a40be5a7aa9947affacf0513eb88fca8ac46ced' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a7f6565c1cfccccc712b17feab46abea76ca96fa25c0f03224d282db111af648' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 135"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "951e16b4ffd888b02276f9248521dd972a021f05ab80d937d2a28c6340c07386"], ["uid", "a7f6565c1cfccccc712b17feab46abea76ca96fa25c0f03224d282db111af648"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>nil, "client_secret"=>nil, "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6df3d831387d933183df38400ba0c2c9afa92f8283eed15d250723819359e8ab' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "6df3d831387d933183df38400ba0c2c9afa92f8283eed15d250723819359e8ab"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b5c3751361c202543475e92fdbf137f6beeb479497ec66e1614e73a8b47a7afe' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 136"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0f99634e1d59ed4a6e371dfadeba8f595f5aa1446bafd6a87814e9f5ffe9553f"], ["uid", "b5c3751361c202543475e92fdbf137f6beeb479497ec66e1614e73a8b47a7afe"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=b5c3751361c202543475e92fdbf137f6beeb479497ec66e1614e73a8b47a7afe&client_secret=0f99634e1d59ed4a6e371dfadeba8f595f5aa1446bafd6a87814e9f5ffe9553f&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2014-06-13 13:06:52 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"b5c3751361c202543475e92fdbf137f6beeb479497ec66e1614e73a8b47a7afe", "client_secret"=>"0f99634e1d59ed4a6e371dfadeba8f595f5aa1446bafd6a87814e9f5ffe9553f", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b5c3751361c202543475e92fdbf137f6beeb479497ec66e1614e73a8b47a7afe' AND "oauth_applications"."secret" = '0f99634e1d59ed4a6e371dfadeba8f595f5aa1446bafd6a87814e9f5ffe9553f' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c04fd41b85f50ab6c8f87deb28d10792d5607316cbbb7a52edc1425ce410d056' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'cdb3648985f925d17e54229a715e07a97ef804a0107f036022120b5ac06517d1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", "cdb3648985f925d17e54229a715e07a97ef804a0107f036022120b5ac06517d1"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c04fd41b85f50ab6c8f87deb28d10792d5607316cbbb7a52edc1425ce410d056"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e1fd033906d4667b5c23ff82c8e95f6946d13d3802227ebd356156ff1c10d76e' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 137"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3f225926bec90b233ee42d6d09fec4c93f9e88377bb79c2518000e4fd2c08dd5"], ["uid", "e1fd033906d4667b5c23ff82c8e95f6946d13d3802227ebd356156ff1c10d76e"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'e1fd033906d4667b5c23ff82c8e95f6946d13d3802227ebd356156ff1c10d76e' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'db63dcadca1e3cf04b15ef22a05f2dec492fb2a7dd3e9baf23477b0099acce75' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 138"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8a325290c9cf657f7220ced426e760ff2926ab265d67f9657654cdc669f0712d"], ["uid", "db63dcadca1e3cf04b15ef22a05f2dec492fb2a7dd3e9baf23477b0099acce75"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'db63dcadca1e3cf04b15ef22a05f2dec492fb2a7dd3e9baf23477b0099acce75' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9d6bd12aef8fe4d2e16bd90090a7da32546dbb6171ec3e672b058da4d7c8778b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 139"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9709123f0a9547fc395285a15a638454bae9036aa4d63d0debaf36b2312891d3"], ["uid", "9d6bd12aef8fe4d2e16bd90090a7da32546dbb6171ec3e672b058da4d7c8778b"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '9d6bd12aef8fe4d2e16bd90090a7da32546dbb6171ec3e672b058da4d7c8778b' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ff4438a70c7c008eeaf20c0de9be1be96d9910bc035980c596ebdeb6d59cbe26' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 140"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f766b16d7ee8f11c1cfccb6fcf6465bda219dca40057678c84a759ce531bf682"], ["uid", "ff4438a70c7c008eeaf20c0de9be1be96d9910bc035980c596ebdeb6d59cbe26"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'ff4438a70c7c008eeaf20c0de9be1be96d9910bc035980c596ebdeb6d59cbe26' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cb87bcfa223d47a34ab1f321d0ed647871241ef1679f9ec02544afdfda39214c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 141"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6ea64c49ae68a96b576857efa7ff09a12d6c798a76531ddbe3af7a19ae74402b"], ["uid", "cb87bcfa223d47a34ab1f321d0ed647871241ef1679f9ec02544afdfda39214c"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'cb87bcfa223d47a34ab1f321d0ed647871241ef1679f9ec02544afdfda39214c' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bb2d4543030e5330667feb6e01b7b12098202b82b562ec68bc1a105f0bceb4f6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 142"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f364eb635525041b633094b071656def44fbb5ccc92df7b6a891d2cd6550dfd2"], ["uid", "bb2d4543030e5330667feb6e01b7b12098202b82b562ec68bc1a105f0bceb4f6"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'bb2d4543030e5330667feb6e01b7b12098202b82b562ec68bc1a105f0bceb4f6' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cc3637ba13998db2965b09f9989088af294aa0665415cd2b1d954656ad1bee7c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 143"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e4fbfb6db6715d306efd43d3a760d0b11a29c63cf396c8e55cd75b03b5826948"], ["uid", "cc3637ba13998db2965b09f9989088af294aa0665415cd2b1d954656ad1bee7c"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'cc3637ba13998db2965b09f9989088af294aa0665415cd2b1d954656ad1bee7c' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '70a306f41fcf76fbf2894816407d1dcd3f834f622c26c53fb34212d148f9c519' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 144"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1e82da17124202da1c1cd75a94a97dc5fafd5642503df2969638b9e3fec9ad08"], ["uid", "70a306f41fcf76fbf2894816407d1dcd3f834f622c26c53fb34212d148f9c519"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"70a306f41fcf76fbf2894816407d1dcd3f834f622c26c53fb34212d148f9c519", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '70a306f41fcf76fbf2894816407d1dcd3f834f622c26c53fb34212d148f9c519' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd74e89a55d9c7faf18811d9a9625fce918ed78629f5993e7abaf6f467cbf96bb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "d74e89a55d9c7faf18811d9a9625fce918ed78629f5993e7abaf6f467cbf96bb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=d74e89a55d9c7faf18811d9a9625fce918ed78629f5993e7abaf6f467cbf96bb&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b2c4bf1a0716323da56c5faff504468cff932b60079583a339ced11aefc6cbc4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 145"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e36637b504de4f5c60e4f9f473bd335a3ffc3f08b6bfc4a15ba494e7ef91ec7f"], ["uid", "b2c4bf1a0716323da56c5faff504468cff932b60079583a339ced11aefc6cbc4"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"b2c4bf1a0716323da56c5faff504468cff932b60079583a339ced11aefc6cbc4", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b2c4bf1a0716323da56c5faff504468cff932b60079583a339ced11aefc6cbc4' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '538e9ad0e0d5477bfbf83deb7474a087ddf537dc0fe1271a40eea485d30a3f70' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "538e9ad0e0d5477bfbf83deb7474a087ddf537dc0fe1271a40eea485d30a3f70"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=538e9ad0e0d5477bfbf83deb7474a087ddf537dc0fe1271a40eea485d30a3f70&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e473d33c7412dc49718aeab0132ca0b1e93d3032651753e7eacb3b501e564fa7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 146"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "611efa6524dd1bbefbb42247e25ea1688a71cbbe87cc1530c3dd9ee08105874c"], ["uid", "e473d33c7412dc49718aeab0132ca0b1e93d3032651753e7eacb3b501e564fa7"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"e473d33c7412dc49718aeab0132ca0b1e93d3032651753e7eacb3b501e564fa7", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e473d33c7412dc49718aeab0132ca0b1e93d3032651753e7eacb3b501e564fa7' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '116f476563b255a20f2526fc17b0a6759d2a6ef2ac307281c0ceb8e30360bd4d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "116f476563b255a20f2526fc17b0a6759d2a6ef2ac307281c0ceb8e30360bd4d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=116f476563b255a20f2526fc17b0a6759d2a6ef2ac307281c0ceb8e30360bd4d&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4af46fd49e3718ab937346a39cf6cc2268e5a75a47977e6d8ff3b13f79b67607' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 147"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e9b05e8394eec79f8614f9adad3e00d2b6fa793c7121643b1e88b9f0728d8b07"], ["uid", "4af46fd49e3718ab937346a39cf6cc2268e5a75a47977e6d8ff3b13f79b67607"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"4af46fd49e3718ab937346a39cf6cc2268e5a75a47977e6d8ff3b13f79b67607", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4af46fd49e3718ab937346a39cf6cc2268e5a75a47977e6d8ff3b13f79b67607' LIMIT 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c325bc63ee962df449bd8f0d694cd57fe8c4415644a79a2da8247297b0c7d65f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c325bc63ee962df449bd8f0d694cd57fe8c4415644a79a2da8247297b0c7d65f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=c325bc63ee962df449bd8f0d694cd57fe8c4415644a79a2da8247297b0c7d65f&token_type=bearer&expires_in=7200
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ed2f644799f1f69bd7750af89ca8c61790fbee18a8640b089bb78944faf6f07' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 148"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6a950ded4c69a9cc7b15f9ac8c2ad09d3195840294aa7c2d2042cd47734db1e6"], ["uid", "7ed2f644799f1f69bd7750af89ca8c61790fbee18a8640b089bb78944faf6f07"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7ed2f644799f1f69bd7750af89ca8c61790fbee18a8640b089bb78944faf6f07", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ed2f644799f1f69bd7750af89ca8c61790fbee18a8640b089bb78944faf6f07' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '53005a8a69b24e0e207651a1e6c7fe2d5e3f38afda76fe517627a4bb3f2d66f9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "53005a8a69b24e0e207651a1e6c7fe2d5e3f38afda76fe517627a4bb3f2d66f9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=53005a8a69b24e0e207651a1e6c7fe2d5e3f38afda76fe517627a4bb3f2d66f9&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2594a1aa99d3ff74091fa440b6ffdae669d2c05eee673e2fe9e0f8d23f7839a3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 149"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4ace5e78a75a2c6aa2d0b2f2614e73b76577ba09e6676f9f313a9359953b4c15"], ["uid", "2594a1aa99d3ff74091fa440b6ffdae669d2c05eee673e2fe9e0f8d23f7839a3"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"2594a1aa99d3ff74091fa440b6ffdae669d2c05eee673e2fe9e0f8d23f7839a3", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2594a1aa99d3ff74091fa440b6ffdae669d2c05eee673e2fe9e0f8d23f7839a3' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '48241da87a05121c33127eb9c567288eaa077f4d473889f71f44e64ea918ee0d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "48241da87a05121c33127eb9c567288eaa077f4d473889f71f44e64ea918ee0d"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=48241da87a05121c33127eb9c567288eaa077f4d473889f71f44e64ea918ee0d&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5a9d5116f87c07236b907013fbbe2fa8044f9550643a56b2f2c8919d6f393ba4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 150"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1406c7f40443fe9e05e8387722433ef3823fa754d07ebb6ab63ab3ae30f40839"], ["uid", "5a9d5116f87c07236b907013fbbe2fa8044f9550643a56b2f2c8919d6f393ba4"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"5a9d5116f87c07236b907013fbbe2fa8044f9550643a56b2f2c8919d6f393ba4", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5a9d5116f87c07236b907013fbbe2fa8044f9550643a56b2f2c8919d6f393ba4' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '69439d72c62ccf9ccaf3b296f6b28dc11591e304f3a779283e1fce5c133b77bc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 151"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "23edf64632e6dd87221820217e6e795154f21cbcff8cc8a0b50fd44ef0925245"], ["uid", "69439d72c62ccf9ccaf3b296f6b28dc11591e304f3a779283e1fce5c133b77bc"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"69439d72c62ccf9ccaf3b296f6b28dc11591e304f3a779283e1fce5c133b77bc", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '69439d72c62ccf9ccaf3b296f6b28dc11591e304f3a779283e1fce5c133b77bc' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9f7f88a006db3932a97581ec311c8d97f494e9c6d200a8274ad8c9fd9b7afa04' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 152"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e70ac73024e2a2547bc9f1f510f7b31e1562b5d8f637d753daffda3b83afb36"], ["uid", "9f7f88a006db3932a97581ec311c8d97f494e9c6d200a8274ad8c9fd9b7afa04"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"9f7f88a006db3932a97581ec311c8d97f494e9c6d200a8274ad8c9fd9b7afa04", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9f7f88a006db3932a97581ec311c8d97f494e9c6d200a8274ad8c9fd9b7afa04' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e98611f903aeac4a8caf14efb46d386333cb135d31fc37b026c79aca0ccc19a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 153"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bff961a2e1cd5747acbbb6bbef978171a0b11df4dee5dd69c35fb5c6f1daf090"], ["uid", "7e98611f903aeac4a8caf14efb46d386333cb135d31fc37b026c79aca0ccc19a"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"7e98611f903aeac4a8caf14efb46d386333cb135d31fc37b026c79aca0ccc19a", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e98611f903aeac4a8caf14efb46d386333cb135d31fc37b026c79aca0ccc19a' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cbd0b56dbdfa27738ff8a016ae19890a5af10171acece6f6dcd75262a218aeb5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 154"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "77fb6d71cd6277cb80358fe2264b720f36cea1debb54d3c0da5ac5ce7bc9f850"], ["uid", "cbd0b56dbdfa27738ff8a016ae19890a5af10171acece6f6dcd75262a218aeb5"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"cbd0b56dbdfa27738ff8a016ae19890a5af10171acece6f6dcd75262a218aeb5", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cbd0b56dbdfa27738ff8a016ae19890a5af10171acece6f6dcd75262a218aeb5' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1caba0fdd0d2a3e65ed1e88a2291091f9a004dd4554815aef7cc23b6e2758a46' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 155"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "037d2e7539b6bcd953954a77a0a4f572d7a0d29634a282424e6e722c09f0436c"], ["uid", "1caba0fdd0d2a3e65ed1e88a2291091f9a004dd4554815aef7cc23b6e2758a46"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"1caba0fdd0d2a3e65ed1e88a2291091f9a004dd4554815aef7cc23b6e2758a46", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1caba0fdd0d2a3e65ed1e88a2291091f9a004dd4554815aef7cc23b6e2758a46' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9a15acc8c7f9019508fd72cc31a4c602fab465b923985451bd783f495b5c7f61' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 156"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a2b3f10639fd1d8986890fb191ded8316ae567ec8c87d551ed1572fee4dd5116"], ["uid", "9a15acc8c7f9019508fd72cc31a4c602fab465b923985451bd783f495b5c7f61"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"9a15acc8c7f9019508fd72cc31a4c602fab465b923985451bd783f495b5c7f61", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9a15acc8c7f9019508fd72cc31a4c602fab465b923985451bd783f495b5c7f61' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8a7ad7230cac36366b2ede8337fceaa254dca45e75c3c437d22126cccac843b4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "8a7ad7230cac36366b2ede8337fceaa254dca45e75c3c437d22126cccac843b4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=8a7ad7230cac36366b2ede8337fceaa254dca45e75c3c437d22126cccac843b4&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4ad8adf5fcd5fd061563d87257f9c98ad8c3e160ede136f39deda28f3abbfab1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 157"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "087939e82604b250877feb9a5b3eafae82a9c83d9eaabde01aaa9dc2b968fa0e"], ["uid", "4ad8adf5fcd5fd061563d87257f9c98ad8c3e160ede136f39deda28f3abbfab1"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"4ad8adf5fcd5fd061563d87257f9c98ad8c3e160ede136f39deda28f3abbfab1", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4ad8adf5fcd5fd061563d87257f9c98ad8c3e160ede136f39deda28f3abbfab1' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '16948e7eefb4f6507a49d681b5b7321eef62815c2aa049161f9ea5cd2560ffba' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "16948e7eefb4f6507a49d681b5b7321eef62815c2aa049161f9ea5cd2560ffba"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=16948e7eefb4f6507a49d681b5b7321eef62815c2aa049161f9ea5cd2560ffba&token_type=bearer&expires_in=7200
Completed 302 Found in 14ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b5f56c068c67da17c53edaa4a990f6987cb93901d8127d122af00f67fa478ff5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 158"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c3db57da85eb664edb33ee38b5a515a71532498da8e45ed1fbec57d8a5f98044"], ["uid", "b5f56c068c67da17c53edaa4a990f6987cb93901d8127d122af00f67fa478ff5"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"b5f56c068c67da17c53edaa4a990f6987cb93901d8127d122af00f67fa478ff5", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b5f56c068c67da17c53edaa4a990f6987cb93901d8127d122af00f67fa478ff5' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0b546cbd1a21284fe16c670484cbaae50fe147d885b975ff1875d47a7cd50582' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "0b546cbd1a21284fe16c670484cbaae50fe147d885b975ff1875d47a7cd50582"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=0b546cbd1a21284fe16c670484cbaae50fe147d885b975ff1875d47a7cd50582&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6645a939128b31d0ea2b54135fd24791a4d6a81bcb15e4557af2cccbfb9504fa' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Application 159"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6716635b49dbcc93a73359d9264a869522509b7a9fb0b60cee965c89f1ce544c"], ["uid", "6645a939128b31d0ea2b54135fd24791a4d6a81bcb15e4557af2cccbfb9504fa"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"6645a939128b31d0ea2b54135fd24791a4d6a81bcb15e4557af2cccbfb9504fa", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6645a939128b31d0ea2b54135fd24791a4d6a81bcb15e4557af2cccbfb9504fa' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c9f8971501a608eac60fd1421b4b613dba6b8c4e6119540e4a2dbadd8b82f06d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c9f8971501a608eac60fd1421b4b613dba6b8c4e6119540e4a2dbadd8b82f06d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=c9f8971501a608eac60fd1421b4b613dba6b8c4e6119540e4a2dbadd8b82f06d&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:52 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '92a7e69a4ff09c72a19bf0e78b34a921d781afd4ae91e45b7c0aca4b3df81aff' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 160"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "806a655879e81626c6b1023d6e4f8579c733bf81427d10c9c936cc6367982662"], ["uid", "92a7e69a4ff09c72a19bf0e78b34a921d781afd4ae91e45b7c0aca4b3df81aff"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"92a7e69a4ff09c72a19bf0e78b34a921d781afd4ae91e45b7c0aca4b3df81aff", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '92a7e69a4ff09c72a19bf0e78b34a921d781afd4ae91e45b7c0aca4b3df81aff' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f9d6c5b370f9807b55801af206f31f3420c356e5e165b8d7e0f410c486869870' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "f9d6c5b370f9807b55801af206f31f3420c356e5e165b8d7e0f410c486869870"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=f9d6c5b370f9807b55801af206f31f3420c356e5e165b8d7e0f410c486869870&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c8c4f0ef28526cd5f5ef511ca25a411d257e36f330cacd250ab206661c75ed18' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 161"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "24a40907864d44a7a6b485fdbab1c0e0ae76c2e9ca71ce4fdd3d74f2220ddb52"], ["uid", "c8c4f0ef28526cd5f5ef511ca25a411d257e36f330cacd250ab206661c75ed18"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"c8c4f0ef28526cd5f5ef511ca25a411d257e36f330cacd250ab206661c75ed18", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c8c4f0ef28526cd5f5ef511ca25a411d257e36f330cacd250ab206661c75ed18' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5df5d95c797465926a7745197fa2cad6a9fd49b7956ccf73780de40909580324' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "5df5d95c797465926a7745197fa2cad6a9fd49b7956ccf73780de40909580324"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=5df5d95c797465926a7745197fa2cad6a9fd49b7956ccf73780de40909580324&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ed2432fcbc48d98c8f6ef1334e49ff94a34d0285404abcab810899cc3f8efb43' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 162"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bec9906071d20e75032e12f3aefc613d0edc8237dd122087578cdbdd4d0b9ab8"], ["uid", "ed2432fcbc48d98c8f6ef1334e49ff94a34d0285404abcab810899cc3f8efb43"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"ed2432fcbc48d98c8f6ef1334e49ff94a34d0285404abcab810899cc3f8efb43", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ed2432fcbc48d98c8f6ef1334e49ff94a34d0285404abcab810899cc3f8efb43' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '16cdba90620b03f4851c7a5bd8e08ec556f181067e6317ef7cdacd8a27911d49' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "16cdba90620b03f4851c7a5bd8e08ec556f181067e6317ef7cdacd8a27911d49"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=16cdba90620b03f4851c7a5bd8e08ec556f181067e6317ef7cdacd8a27911d49&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dbb95727fc00837ce7fd6bef3b8c5058a20771e2f1f6e268452f167699ce3f52' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 163"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e302662652f2cbd7a0428f7fa4d86e14f934a382b0448c487f6faa9feaadd771"], ["uid", "dbb95727fc00837ce7fd6bef3b8c5058a20771e2f1f6e268452f167699ce3f52"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"dbb95727fc00837ce7fd6bef3b8c5058a20771e2f1f6e268452f167699ce3f52", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dbb95727fc00837ce7fd6bef3b8c5058a20771e2f1f6e268452f167699ce3f52' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '93c195001a2a576f7f6cb60906dd92485588eb5ce1a89d4e810b565890e8f54d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 164"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "601db90394d532a534232fafafed0f41b2787cf22c5183a394f8ca3d2aff7087"], ["uid", "93c195001a2a576f7f6cb60906dd92485588eb5ce1a89d4e810b565890e8f54d"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '08e9ffd9ded1bc654b43735c05872fed6375b586e6cd46f42891275312c03288' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", "public write"], ["token", "08e9ffd9ded1bc654b43735c05872fed6375b586e6cd46f42891275312c03288"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'eadc9bb758350cde1f9b01d6db73e3e294f85662ba43cb6a02bb63c65fa2fa02' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", "public write"], ["token", "eadc9bb758350cde1f9b01d6db73e3e294f85662ba43cb6a02bb63c65fa2fa02"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c1cf4f23c960a112e089b34a767943d1314b4631b5f2c7197b98d0bb6a2a6365' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 165"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9b7b8df4e6e885d92e2dc0d682005bb93e59e521da41d8e9b643887037c27503"], ["uid", "c1cf4f23c960a112e089b34a767943d1314b4631b5f2c7197b98d0bb6a2a6365"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a8c79c49638888e51f61abea80acaa972a0a8f45a1205a657f3b5a8f94105c52' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", "public write"], ["token", "a8c79c49638888e51f61abea80acaa972a0a8f45a1205a657f3b5a8f94105c52"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_grants"."id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '33b29b4ef950314efb81b1b99d14c28418e6996ff658e9ac9a493d554b088272' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 166"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "20356b7bf318b81c78e5adf915fc2b7914575b775d95eea731106796966a751f"], ["uid", "33b29b4ef950314efb81b1b99d14c28418e6996ff658e9ac9a493d554b088272"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '3d1f48282d568fa8a5ca60b5796d082547675defd492af449100902eeb6ddfaf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", "public write"], ["token", "3d1f48282d568fa8a5ca60b5796d082547675defd492af449100902eeb6ddfaf"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '97121a8bec9727fa35383bdce758946895581c5ada1fbda07847430b79e7b6bf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 167"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "842f2be9bfed383dbe8888fa51d24d960ea795f3708e3ede1a924a7d3cce8dcd"], ["uid", "97121a8bec9727fa35383bdce758946895581c5ada1fbda07847430b79e7b6bf"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'f4e4b9785ba120e8db2dcb277ed02fe743cfd5801d4f62307eb6dcc34d459a9a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public write"], ["token", "f4e4b9785ba120e8db2dcb277ed02fe743cfd5801d4f62307eb6dcc34d459a9a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e12bb44c1bfd4b30a02ac8864137cb7b256be86e4866d0624a862ade3053771c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 168"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2190476a4530bb81629b975cd562954bb03297ca9e838e6a2ad20dfd25317d14"], ["uid", "e12bb44c1bfd4b30a02ac8864137cb7b256be86e4866d0624a862ade3053771c"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b3134ceeb0bd6f415048eff89828c2592f5a2067130bf5ed1c3af29289a6788f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 169"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8ef9fa643909da75e2acaf611cc4f185a925c6785f699bed55fa6fa563754e48"], ["uid", "b3134ceeb0bd6f415048eff89828c2592f5a2067130bf5ed1c3af29289a6788f"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '3a883987ce6897c09cf77da07ed7744d61326ea2fd393356b75b3659345d7104' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", "public write"], ["token", "3a883987ce6897c09cf77da07ed7744d61326ea2fd393356b75b3659345d7104"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fcb0395c4b00b15ce7c0dc66b99d7cde9a7ab7fc19a69b014fe15f575115c1e6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 170"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4640f77292e12ed104c5875189dd38504ad0c1bd2edfd2fe3851552b8a2cd449"], ["uid", "fcb0395c4b00b15ce7c0dc66b99d7cde9a7ab7fc19a69b014fe15f575115c1e6"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '4bb8a03590f244adfa45daba4aff3675679efdb383f7d0a0816fc6e6105f11a2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public write"], ["token", "4bb8a03590f244adfa45daba4aff3675679efdb383f7d0a0816fc6e6105f11a2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '04f9490112e68be03fb5a57854ff9ce269a36e34dfbda7db6e04ace4e449a4bb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public write"], ["token", "04f9490112e68be03fb5a57854ff9ce269a36e34dfbda7db6e04ace4e449a4bb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e2b0fbc1d58a332b07d385e4a94836bc377cb4bca2c51cb07d63a62bbb95a0d2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 171"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "568ceacf83086904c11cff30642602ac52b976457f1616c25d664e6ff18123c1"], ["uid", "e2b0fbc1d58a332b07d385e4a94836bc377cb4bca2c51cb07d63a62bbb95a0d2"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '37d8d31325175da4c0823b994bdf88a1c73896f086d393bba171221ea3845f6b' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public write"], ["token", "37d8d31325175da4c0823b994bdf88a1c73896f086d393bba171221ea3845f6b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7a90a948ef85eb0839c7cb5316b503b165fee41a6fd58bffede67d475613b75b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public write"], ["token", "7a90a948ef85eb0839c7cb5316b503b165fee41a6fd58bffede67d475613b75b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 32 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1eb502d0d4958968de0b9fc8c192ea6f04af7341ab2d917eddacfd8292ec0484' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 172"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b089cb571e4b280b2383f9575f18b8d667e6efbc2d237f17dbdf2e493e3fd7a4"], ["uid", "1eb502d0d4958968de0b9fc8c192ea6f04af7341ab2d917eddacfd8292ec0484"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '9601b0c6d3a9ce067832b799d90feb377486cc6654c152450bc2ca259ad5fb3b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public write"], ["token", "9601b0c6d3a9ce067832b799d90feb377486cc6654c152450bc2ca259ad5fb3b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a805fcd14e53a880b994c99c5dd0d227034cded4b7588d2b44d0e21211b24f7d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 173"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "75e2890e1a56ef663eef99cecd71ae8f433a3bf9f37a85b3aa6bb724810ecb6e"], ["uid", "a805fcd14e53a880b994c99c5dd0d227034cded4b7588d2b44d0e21211b24f7d"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'aa20d89f0e5c670024ee1c8f646695046e7081ba1c44eb05c03544352a4d7453' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 34], ["revoked_at", nil], ["scopes", "public write"], ["token", "aa20d89f0e5c670024ee1c8f646695046e7081ba1c44eb05c03544352a4d7453"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.0ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fba1ee3caf5efe5afeb147296c52679d03547ea4d367b7c079fba6aacc6e00da' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 34], ["revoked_at", nil], ["scopes", "public write"], ["token", "fba1ee3caf5efe5afeb147296c52679d03547ea4d367b7c079fba6aacc6e00da"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.0ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '96e76bb9fbf91a96c232481bbd966f092a419a36c651410816c56edf7d4f2ffa' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 174"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cc15b1da60dbea418f9a3998142dddfea101dc62986dbcf8053abb12f1c077e2"], ["uid", "96e76bb9fbf91a96c232481bbd966f092a419a36c651410816c56edf7d4f2ffa"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'bc551b14090f289deb1141bf6249efe40905be93b0500ce57b64b8c9e7d45f86' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 35], ["revoked_at", nil], ["scopes", "public write"], ["token", "bc551b14090f289deb1141bf6249efe40905be93b0500ce57b64b8c9e7d45f86"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0642df2b282be8e686433e4c93c3954f736e1b74e6a62efcfb5036d4cca69198' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Just another oauth app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "07e1954613439de83e9a4e0bce974e736e501f64d5bc1bfc32168f1b8c3beac8"], ["uid", "0642df2b282be8e686433e4c93c3954f736e1b74e6a62efcfb5036d4cca69198"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 175"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9fdd17aab3f7d892fe82824fb33e068ef8fa9c72433a5da0d735ca271fffaa84"], ["uid", "f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5f8d954ecca857554a0cd38868f18f60566d2b31d55cbf31eba15a00e6cd268a' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "5f8d954ecca857554a0cd38868f18f60566d2b31d55cbf31eba15a00e6cd268a"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7a3abffc60dc281fcc952deebc28b8dae4ebba38752e0197199d70b9177f198' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '11becff1ce78c472953610b2a7613e1af7236f7218d78104b8c11c92e500b6f1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "11becff1ce78c472953610b2a7613e1af7236f7218d78104b8c11c92e500b6f1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=11becff1ce78c472953610b2a7613e1af7236f7218d78104b8c11c92e500b6f1
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
Started GET "/callback?code=11becff1ce78c472953610b2a7613e1af7236f7218d78104b8c11c92e500b6f1" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"11becff1ce78c472953610b2a7613e1af7236f7218d78104b8c11c92e500b6f1"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'afb8d6870a38ed61c9d714d565003c6624637828ce638d03866af5722ecb10eb' LIMIT 1
  SQL (0.5ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 176"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "26dcf8deab6c5ec03f818e0927372f6c19d57702ac79c5bf94af77ee764dc7a1"], ["uid", "afb8d6870a38ed61c9d714d565003c6624637828ce638d03866af5722ecb10eb"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '92bffc94df87a8ff82119f17e37c93eeb1597f94e26ef96e8c1163da8638307c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "92bffc94df87a8ff82119f17e37c93eeb1597f94e26ef96e8c1163da8638307c"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=afb8d6870a38ed61c9d714d565003c6624637828ce638d03866af5722ecb10eb&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"afb8d6870a38ed61c9d714d565003c6624637828ce638d03866af5722ecb10eb", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'afb8d6870a38ed61c9d714d565003c6624637828ce638d03866af5722ecb10eb' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '53cb89e35a06a1d5465f7cf231eb3ed89de97e458002bd4224d0820eb70ce220' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 177"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dc70404ef2ae694912ac4bd11c793a58d604915b51907c678b5707141437e95d"], ["uid", "53cb89e35a06a1d5465f7cf231eb3ed89de97e458002bd4224d0820eb70ce220"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4dfab89461e3522dd01634451b987a63547993b4f38b4cabba978f8fd5e7739a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "4dfab89461e3522dd01634451b987a63547993b4f38b4cabba978f8fd5e7739a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=53cb89e35a06a1d5465f7cf231eb3ed89de97e458002bd4224d0820eb70ce220&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"53cb89e35a06a1d5465f7cf231eb3ed89de97e458002bd4224d0820eb70ce220", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '53cb89e35a06a1d5465f7cf231eb3ed89de97e458002bd4224d0820eb70ce220' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'c7be6a397dedec9ba0453f28dec9bf4aabef1069a88423a7d418976f1e7730e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "c7be6a397dedec9ba0453f28dec9bf4aabef1069a88423a7d418976f1e7730e7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=c7be6a397dedec9ba0453f28dec9bf4aabef1069a88423a7d418976f1e7730e7
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
Started GET "/callback?code=c7be6a397dedec9ba0453f28dec9bf4aabef1069a88423a7d418976f1e7730e7" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"c7be6a397dedec9ba0453f28dec9bf4aabef1069a88423a7d418976f1e7730e7"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e1162c85298ed8ff32713ec8a69c28cc04a1f00b761b61567073462dd1669812' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 178"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d2fa042fba33036a0c3320b982516065ef550a77cf6885d5d26a84e7648aeec7"], ["uid", "e1162c85298ed8ff32713ec8a69c28cc04a1f00b761b61567073462dd1669812"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '991f5a6e6d0d09302a21a44b87f5bf67c2758fe8a3026ec88d1a7abe33a7d520' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "991f5a6e6d0d09302a21a44b87f5bf67c2758fe8a3026ec88d1a7abe33a7d520"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e9e54c53ce6cee26f0d25c6245317bd269487c0973ebe68136b52572194d7387' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '55f8e4f999f4c2740537e69ba803c948c8340ebbbe416da127d897ac20eb2088' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "55f8e4f999f4c2740537e69ba803c948c8340ebbbe416da127d897ac20eb2088"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "e9e54c53ce6cee26f0d25c6245317bd269487c0973ebe68136b52572194d7387"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3", "token_type_hint"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e9e54c53ce6cee26f0d25c6245317bd269487c0973ebe68136b52572194d7387' LIMIT 1
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6a430dc5067f3aa9818c6c7668273ef84ab5bbc4249ce417e0e5f2afd72629e3' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8342538e1ac3b3051ad98dedd07f579fa8ffcbc2724acc6954d3e16cfe752e8f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 179"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "35ea1838bb941b8091bfb16c06fe78be8b78d8fbaceba99d52d69f45d09a74bb"], ["uid", "8342538e1ac3b3051ad98dedd07f579fa8ffcbc2724acc6954d3e16cfe752e8f"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'aac0d6919832ea94bd084b98132e9d0c5f8eb2d5d562dbc6212eaa70aaf0e86b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd1a4dbe5a0a3c7f32f30ea4f1c5ac3d3918a5cd1679ec87506b35550bdf45e93' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "d1a4dbe5a0a3c7f32f30ea4f1c5ac3d3918a5cd1679ec87506b35550bdf45e93"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "aac0d6919832ea94bd084b98132e9d0c5f8eb2d5d562dbc6212eaa70aaf0e86b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '20c28421355f114a8ecbd893b94920bc7518798ea332adf2fc8d4f2148ed37bd' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '824134e9457eb7631f03fb8a261465a52e3735b4e35c9cbc137c11cdf51bd825' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "824134e9457eb7631f03fb8a261465a52e3735b4e35c9cbc137c11cdf51bd825"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "20c28421355f114a8ecbd893b94920bc7518798ea332adf2fc8d4f2148ed37bd"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"aac0d6919832ea94bd084b98132e9d0c5f8eb2d5d562dbc6212eaa70aaf0e86b"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '20c28421355f114a8ecbd893b94920bc7518798ea332adf2fc8d4f2148ed37bd' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'aac0d6919832ea94bd084b98132e9d0c5f8eb2d5d562dbc6212eaa70aaf0e86b' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd1a4dbe5a0a3c7f32f30ea4f1c5ac3d3918a5cd1679ec87506b35550bdf45e93' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'efb142f4ef14b0caa7953f00453149724c23d9067aaf4a5ff5b729995900758a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 180"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "58c60e24f56d5e03256b27265c46c29fc08c2f6eae4f7e57bcb3dc385730f9ea"], ["uid", "efb142f4ef14b0caa7953f00453149724c23d9067aaf4a5ff5b729995900758a"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Matheo"], ["password", "pareto"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '54554512d3370e3eae7ec0b04cc279495082d341505522954cb1f8b43afb5dd0' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9ceab183716a064af19bf5ed46381d46d13f4f2d3c798aa6e15e6a44a42cf1b2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "9ceab183716a064af19bf5ed46381d46d13f4f2d3c798aa6e15e6a44a42cf1b2"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "54554512d3370e3eae7ec0b04cc279495082d341505522954cb1f8b43afb5dd0"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '304f077d6e1145f15e1c706a86857e14cd347c1d8003bdfaaf144acd36808947' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'cf94f9a870ce8ee2af9c8ac3d1b1fce02be0a028cd831ebcc14c9abb9c99a5c4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "cf94f9a870ce8ee2af9c8ac3d1b1fce02be0a028cd831ebcc14c9abb9c99a5c4"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "304f077d6e1145f15e1c706a86857e14cd347c1d8003bdfaaf144acd36808947"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"54554512d3370e3eae7ec0b04cc279495082d341505522954cb1f8b43afb5dd0"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '304f077d6e1145f15e1c706a86857e14cd347c1d8003bdfaaf144acd36808947' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '54554512d3370e3eae7ec0b04cc279495082d341505522954cb1f8b43afb5dd0' LIMIT 1
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9ceab183716a064af19bf5ed46381d46d13f4f2d3c798aa6e15e6a44a42cf1b2' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46e9038c25de9e69e5ef1b76d29fd9dec237e9dd567d4f0db047649401639469' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 181"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1e0c3dff4f597e55530f37648382447f71ba1817ca7bb6c035ca8fdc80edb188"], ["uid", "46e9038c25de9e69e5ef1b76d29fd9dec237e9dd567d4f0db047649401639469"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f01e15a9b30d0401b5b05df91bdec77b17ac8b8608bf171317cda21b97738177' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd20cac6be62bb8ba70c33968fa8d441118da12e5a8f4248228b1c96f0f44c3b6' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "d20cac6be62bb8ba70c33968fa8d441118da12e5a8f4248228b1c96f0f44c3b6"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "f01e15a9b30d0401b5b05df91bdec77b17ac8b8608bf171317cda21b97738177"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"f01e15a9b30d0401b5b05df91bdec77b17ac8b8608bf171317cda21b97738177"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f01e15a9b30d0401b5b05df91bdec77b17ac8b8608bf171317cda21b97738177' LIMIT 1
  CACHE (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f01e15a9b30d0401b5b05df91bdec77b17ac8b8608bf171317cda21b97738177' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd20cac6be62bb8ba70c33968fa8d441118da12e5a8f4248228b1c96f0f44c3b6' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a484f41c8e0ebf860aced383ac7f45d927fe269621de165d1628491945815e39' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 182"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1714aba9798a2ffd2501cecc81135871292b3e0562c595621d30fdaf5abe0a79"], ["uid", "a484f41c8e0ebf860aced383ac7f45d927fe269621de165d1628491945815e39"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '635cff280d5eb5429ea2a57f0c299a348f92b8bbe0f5a84cffbc1fd69febfe04' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e2c063a6e319ecf4085ad6cdfa5173aa479c39a8e069b0726a70f6f6bfa1a943' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "e2c063a6e319ecf4085ad6cdfa5173aa479c39a8e069b0726a70f6f6bfa1a943"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "635cff280d5eb5429ea2a57f0c299a348f92b8bbe0f5a84cffbc1fd69febfe04"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke?token=635cff280d5eb5429ea2a57f0c299a348f92b8bbe0f5a84cffbc1fd69febfe04" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"635cff280d5eb5429ea2a57f0c299a348f92b8bbe0f5a84cffbc1fd69febfe04"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '635cff280d5eb5429ea2a57f0c299a348f92b8bbe0f5a84cffbc1fd69febfe04' LIMIT 1
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e2c063a6e319ecf4085ad6cdfa5173aa479c39a8e069b0726a70f6f6bfa1a943' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '804e98c65eb34414047e31ad83c168c3d05500ca04ffab4bc6eac0d66d48b032' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 183"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c4ffc02c9279ed8eb6e879fd58cd1aee8f8c4e0f86dff0ec6833bc1a5f56edd1"], ["uid", "804e98c65eb34414047e31ad83c168c3d05500ca04ffab4bc6eac0d66d48b032"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '37cdc33ae31a0cab4c3a4acd1e27bf90281540d9af841e83438a1b31860f83b7' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'c81356a2249496f653d1e1e70f9990c0ef3e7ea8ec56e1c2eb3ec1c8540cde88' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "c81356a2249496f653d1e1e70f9990c0ef3e7ea8ec56e1c2eb3ec1c8540cde88"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "37cdc33ae31a0cab4c3a4acd1e27bf90281540d9af841e83438a1b31860f83b7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"I_AM_AN_INVALIDE_TOKEN"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '37cdc33ae31a0cab4c3a4acd1e27bf90281540d9af841e83438a1b31860f83b7' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '34df9895c056b2bbce5da10d199b5ac2f150a582dd41672f16483b15c10e6b89' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 184"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "53ba44a15f8173e81e4ada08f4421cdac2e9dc74ee2945c463d9485e833a78cf"], ["uid", "34df9895c056b2bbce5da10d199b5ac2f150a582dd41672f16483b15c10e6b89"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '49a51255ee116f8404e4218e3bffdee95d8a11f895189763578cdeba154c6ec3' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '4f1aed0f488466d93b7c3f42f6940c26e113074ac31e718c92429e6c43cbd384' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "4f1aed0f488466d93b7c3f42f6940c26e113074ac31e718c92429e6c43cbd384"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "49a51255ee116f8404e4218e3bffdee95d8a11f895189763578cdeba154c6ec3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1ad5940bd4335402402ae30ba5c3e550a5bcb3b6d3896a1f75137844b882620a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 185"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "abc191ade920f3bcc08376ef287788f6a69fb2037969a76d2f359df0ca28d64f"], ["uid", "1ad5940bd4335402402ae30ba5c3e550a5bcb3b6d3896a1f75137844b882620a"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd81c392d8dd3e3a9789faf08f3dc623f827ffff5624b42e92b00019ccbf7c0c2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'f11f409e544460073cf8ffb1348153734dcfaf0f916798570c6b003bf389c1eb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "f11f409e544460073cf8ffb1348153734dcfaf0f916798570c6b003bf389c1eb"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "d81c392d8dd3e3a9789faf08f3dc623f827ffff5624b42e92b00019ccbf7c0c2"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"49a51255ee116f8404e4218e3bffdee95d8a11f895189763578cdeba154c6ec3"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd81c392d8dd3e3a9789faf08f3dc623f827ffff5624b42e92b00019ccbf7c0c2' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '49a51255ee116f8404e4218e3bffdee95d8a11f895189763578cdeba154c6ec3' LIMIT 1
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '4f1aed0f488466d93b7c3f42f6940c26e113074ac31e718c92429e6c43cbd384' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '283e4c146498b306e41453e09bbd5db9b9f4a9b670e8b9fddb168ab9e2b8f5c1' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 186"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "65d015824da0d78c10e68e1eec5eae30e2409bf13fce09bd851f1dd87b426b77"], ["uid", "283e4c146498b306e41453e09bbd5db9b9f4a9b670e8b9fddb168ab9e2b8f5c1"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.2ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5ddf629aed3fa00ef7b90efd5c5b68a2d45fca8c7f9ed5a3f6c92d97246e93d3' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'c0e3063cafafda37cf6d29305b5015fc924ef90dad1a158daaac5734be22e526' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "c0e3063cafafda37cf6d29305b5015fc924ef90dad1a158daaac5734be22e526"], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", nil], ["token", "5ddf629aed3fa00ef7b90efd5c5b68a2d45fca8c7f9ed5a3f6c92d97246e93d3"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = '5ddf629aed3fa00ef7b90efd5c5b68a2d45fca8c7f9ed5a3f6c92d97246e93d3' AND "oauth_access_tokens"."id" != 1) LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = 'c0e3063cafafda37cf6d29305b5015fc924ef90dad1a158daaac5734be22e526' AND "oauth_access_tokens"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -1 WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '283e4c146498b306e41453e09bbd5db9b9f4a9b670e8b9fddb168ab9e2b8f5c1' AND "oauth_applications"."secret" = '65d015824da0d78c10e68e1eec5eae30e2409bf13fce09bd851f1dd87b426b77' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90299980675ab43cbfbc7a7473b37b6af69b047531c4a56b9f41499963e755c6' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 187"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8dcb5a1af460e66c89d4d6ea14a9604bc34e6d357ab90c7428aa60467332119a"], ["uid", "90299980675ab43cbfbc7a7473b37b6af69b047531c4a56b9f41499963e755c6"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8d4a16b591332603cd0659075f5e688c293b08d10d207fad6484323eb7f15843' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'fa067a045a56aa15931788a792bec21e0745c238ddabd1897a1bac22b5d22d60' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "fa067a045a56aa15931788a792bec21e0745c238ddabd1897a1bac22b5d22d60"], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", nil], ["token", "8d4a16b591332603cd0659075f5e688c293b08d10d207fad6484323eb7f15843"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.2ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::Application Load (0.3ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '90299980675ab43cbfbc7a7473b37b6af69b047531c4a56b9f41499963e755c6' AND "oauth_applications"."secret" = '8dcb5a1af460e66c89d4d6ea14a9604bc34e6d357ab90c7428aa60467332119a' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2e422f888ae89a3949441f53ad64df5bbb0be6d591eb2d0e79bd5df8a163594a' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 188"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ba9ef8d32a58afdc179c53e654026e3d3b463f7e9cc42fb5d8d716eb24350639"], ["uid", "2e422f888ae89a3949441f53ad64df5bbb0be6d591eb2d0e79bd5df8a163594a"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '45e1fa0b465c03ca4e3ab6ba2ad0fa7b884d4d401444792fd47a30ef3eb69f1e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '88cdfd1a510b820a26b125c08cc863e3a17e06d16dd04521cf00a2cf9b791fd2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "88cdfd1a510b820a26b125c08cc863e3a17e06d16dd04521cf00a2cf9b791fd2"], ["resource_owner_id", 25], ["revoked_at", nil], ["scopes", nil], ["token", "45e1fa0b465c03ca4e3ab6ba2ad0fa7b884d4d401444792fd47a30ef3eb69f1e"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2e422f888ae89a3949441f53ad64df5bbb0be6d591eb2d0e79bd5df8a163594a' AND "oauth_applications"."secret" = 'ba9ef8d32a58afdc179c53e654026e3d3b463f7e9cc42fb5d8d716eb24350639' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b3dd32415acf1ae4076fbd46b68b91e0621777c24462b265369f6672c1364957' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 189"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "818ff481f32a1f25ab024716160f7b220828dac347d4b9c02ae61024dd0bd47d"], ["uid", "b3dd32415acf1ae4076fbd46b68b91e0621777c24462b265369f6672c1364957"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4bad1b5793c62a0a6ec92c598929253551ef27165486bef5a8efcd5e01fc2347' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '0317f1436dfafd08d45792d93e8a8978f1703ff3ef6ee2f4cff6ea389c3654cd' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "0317f1436dfafd08d45792d93e8a8978f1703ff3ef6ee2f4cff6ea389c3654cd"], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", nil], ["token", "4bad1b5793c62a0a6ec92c598929253551ef27165486bef5a8efcd5e01fc2347"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b3dd32415acf1ae4076fbd46b68b91e0621777c24462b265369f6672c1364957' AND "oauth_applications"."secret" = '818ff481f32a1f25ab024716160f7b220828dac347d4b9c02ae61024dd0bd47d' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '84b9734a52d228147ff7e06e36cde487043beeb4d98882cce3a8cf84cd5165d9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 190"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e9526a55fa4f26022172fd177aea0f2e157f9008327d8a4e5bc60f7e49db8fb"], ["uid", "84b9734a52d228147ff7e06e36cde487043beeb4d98882cce3a8cf84cd5165d9"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a09fafde23e822d658b3063493788546a0b26ecc96c75882ae5cb94a021e6c77' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5896a1ef1eaaf6f267896fb5d7050e047b6ea45dae2825730063b437264494e5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5896a1ef1eaaf6f267896fb5d7050e047b6ea45dae2825730063b437264494e5"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", nil], ["token", "a09fafde23e822d658b3063493788546a0b26ecc96c75882ae5cb94a021e6c77"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '84b9734a52d228147ff7e06e36cde487043beeb4d98882cce3a8cf84cd5165d9' AND "oauth_applications"."secret" = '3e9526a55fa4f26022172fd177aea0f2e157f9008327d8a4e5bc60f7e49db8fb' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '95822284ca50006ef3671aa8dfdde2d77896c0cb6c9eaa62c1c45b7d972d7ad3' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'af92caf58a4c23e77376207f1bef769fd40ff3844f1303a678f55147c707d80d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 120], ["refresh_token", "af92caf58a4c23e77376207f1bef769fd40ff3844f1303a678f55147c707d80d"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", ""], ["token", "95822284ca50006ef3671aa8dfdde2d77896c0cb6c9eaa62c1c45b7d972d7ad3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5e49e1203e58192d5bc8d4fda1c285c832470c3b3d664e6680f8e7b3b0935f1d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 191"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "184f7a845501b327ad1760c6468eff1aa35ce533d63852a755ccf1457bfe4bdd"], ["uid", "5e49e1203e58192d5bc8d4fda1c285c832470c3b3d664e6680f8e7b3b0935f1d"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'cd8abfbcc4eda78b1163aa437b62cef83668e201cd259c232b7a124511b1a477' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a8e90986adb47b257fcd4165b637828362c0c9c3f37703f90c3e5c21c6a60b0d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a8e90986adb47b257fcd4165b637828362c0c9c3f37703f90c3e5c21c6a60b0d"], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", nil], ["token", "cd8abfbcc4eda78b1163aa437b62cef83668e201cd259c232b7a124511b1a477"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5e49e1203e58192d5bc8d4fda1c285c832470c3b3d664e6680f8e7b3b0935f1d' AND "oauth_applications"."secret" = '184f7a845501b327ad1760c6468eff1aa35ce533d63852a755ccf1457bfe4bdd' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e7e2bd75f80061a320b90d9182df4c501f48a790795635f72f7f509d836651f5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 192"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1936016a4e3ac02831e3e8cb8dba7f67e6b35db153c123fd98ce0f5365a6773f"], ["uid", "e7e2bd75f80061a320b90d9182df4c501f48a790795635f72f7f509d836651f5"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5a15247e4d481c14a594036bcabd1b2df0df1ec8614f282864ec5605c920b029' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 193"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eb4aa06ba17656ff25e61d40a8317eac551c580bce7b688a5fbf73bfc51388fb"], ["uid", "5a15247e4d481c14a594036bcabd1b2df0df1ec8614f282864ec5605c920b029"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '169fbc2ab8e198f4efc10973ad44083331c4ec3442f3e88cea594129d2e0cb8b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9a6795fe7ddfab6959d70bc9f7f6828edec7af506779497a0dc3266306fa731c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "9a6795fe7ddfab6959d70bc9f7f6828edec7af506779497a0dc3266306fa731c"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", nil], ["token", "169fbc2ab8e198f4efc10973ad44083331c4ec3442f3e88cea594129d2e0cb8b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5a15247e4d481c14a594036bcabd1b2df0df1ec8614f282864ec5605c920b029' AND "oauth_applications"."secret" = 'eb4aa06ba17656ff25e61d40a8317eac551c580bce7b688a5fbf73bfc51388fb' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd67b38d3cfe140fdca90b433279b933c780519d1ca6af4a026696216dc897de7' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '88df7c0d3599ade7d96552f30c67eb7ae8eb2305de5d71bfac1031af217557dc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 120], ["refresh_token", "88df7c0d3599ade7d96552f30c67eb7ae8eb2305de5d71bfac1031af217557dc"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", ""], ["token", "d67b38d3cfe140fdca90b433279b933c780519d1ca6af4a026696216dc897de7"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e9fc2632505a185d9b76d838a228069cf1333ea6e741362e03e1f31955fd0a1b' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '8736ea61a36a89fa84536e47328b4b3cfd6ecf9f26650327f4db45154717bc22' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "8736ea61a36a89fa84536e47328b4b3cfd6ecf9f26650327f4db45154717bc22"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", nil], ["token", "e9fc2632505a185d9b76d838a228069cf1333ea6e741362e03e1f31955fd0a1b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '995c312f5c975a5fdcba44681cec6fb6c36ff61b0e557483780b9df4e2eb0ce0' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '3a7c2ab1b17ebd312611a7b20f2edb6c1b5e60297611beac7c88dd30f680590d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 120], ["refresh_token", "3a7c2ab1b17ebd312611a7b20f2edb6c1b5e60297611beac7c88dd30f680590d"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", ""], ["token", "995c312f5c975a5fdcba44681cec6fb6c36ff61b0e557483780b9df4e2eb0ce0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a3b609699683a3c7ea09f34370bfb8e78e0826490dba28d9f4bfe59aafc0c97d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 194"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a8eda68efcc796a0c6d2fafbf9858f76edf3efea4d93221b3799733094c70a55"], ["uid", "a3b609699683a3c7ea09f34370bfb8e78e0826490dba28d9f4bfe59aafc0c97d"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '77764cb8ea159cb4c6a0d48c384b27ba3163e93beefc8387dc534eef18e43baa' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '0d7e771f938db14fe6cb23aa8aac4c53d18e42da8b85a189bad61c45b964d2f5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "0d7e771f938db14fe6cb23aa8aac4c53d18e42da8b85a189bad61c45b964d2f5"], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public write"], ["token", "77764cb8ea159cb4c6a0d48c384b27ba3163e93beefc8387dc534eef18e43baa"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a3b609699683a3c7ea09f34370bfb8e78e0826490dba28d9f4bfe59aafc0c97d' AND "oauth_applications"."secret" = 'a8eda68efcc796a0c6d2fafbf9858f76edf3efea4d93221b3799733094c70a55' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1b913f31aa8bb978e2da5c3739292e2c5f4c5f412b28454f1c4824026c79d797' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 195"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "800deaacc42164ea4304bea512accbfc8d130ee7dc3694366f775ad67a227c01"], ["uid", "1b913f31aa8bb978e2da5c3739292e2c5f4c5f412b28454f1c4824026c79d797"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6bc00839970a2df1a011d572824abcb382d25f6621ea4a51a07eef787f0b5464' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'ee58a6c70924fcfbf278e7b8ad6e7696e9e6c3133ec3271d174fb7b392bf1011' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "ee58a6c70924fcfbf278e7b8ad6e7696e9e6c3133ec3271d174fb7b392bf1011"], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public write"], ["token", "6bc00839970a2df1a011d572824abcb382d25f6621ea4a51a07eef787f0b5464"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1b913f31aa8bb978e2da5c3739292e2c5f4c5f412b28454f1c4824026c79d797' AND "oauth_applications"."secret" = '800deaacc42164ea4304bea512accbfc8d130ee7dc3694366f775ad67a227c01' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '54f43fad67ae4a9b540f8171df66b74ceb82be5ac653abe2917cda428cc96fa2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '97925543d1c3c52887f6e7f27fa7575fdf8b95a58820816d5bb44afbcaecbb9a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 120], ["refresh_token", "97925543d1c3c52887f6e7f27fa7575fdf8b95a58820816d5bb44afbcaecbb9a"], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public"], ["token", "54f43fad67ae4a9b540f8171df66b74ceb82be5ac653abe2917cda428cc96fa2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '294a36a447ccc3013f7678cfb880e7d262fd691f02d712c45cd2f6a8bbf2b890' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 196"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9477d42a8bc7e18620c2bf4f43ef2bead65df8d9feaaaa704959c414b611dc17"], ["uid", "294a36a447ccc3013f7678cfb880e7d262fd691f02d712c45cd2f6a8bbf2b890"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9acc66306293f3b61a08336602523cd87e4c72c371eb53d0634783d61e9cb40d' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '372450e0edfe002d9e0194e4f4c3bbf1d734500595a684aa6d11238307e4ea07' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", "372450e0edfe002d9e0194e4f4c3bbf1d734500595a684aa6d11238307e4ea07"], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public write"], ["token", "9acc66306293f3b61a08336602523cd87e4c72c371eb53d0634783d61e9cb40d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '294a36a447ccc3013f7678cfb880e7d262fd691f02d712c45cd2f6a8bbf2b890' AND "oauth_applications"."secret" = '9477d42a8bc7e18620c2bf4f43ef2bead65df8d9feaaaa704959c414b611dc17' LIMIT 1
  SQL (0.2ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2014-06-13 17:06:53' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '963b709ab415ccec80aa0912ef1bcbb861ca90cdbb7cd7c43748dea30a49f02d' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7e83273c7704b5d89c3398c84f3faf06937d663151ef59bfba9eb62382dccf3f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 120], ["refresh_token", "7e83273c7704b5d89c3398c84f3faf06937d663151ef59bfba9eb62382dccf3f"], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public write"], ["token", "963b709ab415ccec80aa0912ef1bcbb861ca90cdbb7cd7c43748dea30a49f02d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 197"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a5c820fc7cd68e8c2c25c734baa6e157353690bcc78422ac7150f77c9bcca1b8"], ["uid", "ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ccfe90f8f99fb87a28b815c3bb3ebfdb79aaab044f8c5d2cd6a73ae7c178d32d' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 198"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e03c76ec3ee133394c14111e30d1bf656fa6c5157e5bfe1f7fb33b101b35c1dd"], ["uid", "0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0720fcc681d3aeeff1dbd0c61ce23cbb1799c67fb8b049301d37fa68b309341f' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c70562b518eadf514bb74689ecef6bf851ba07e4453c847bb507f1873c3268bd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 199"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "5a1fee32b0f075b9de11d0dec66978a9eadb7fc355a8977ce5785c5b4e7ba7ae"], ["uid", "c70562b518eadf514bb74689ecef6bf851ba07e4453c847bb507f1873c3268bd"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c70562b518eadf514bb74689ecef6bf851ba07e4453c847bb507f1873c3268bd' AND "oauth_applications"."secret" = '5a1fee32b0f075b9de11d0dec66978a9eadb7fc355a8977ce5785c5b4e7ba7ae' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '997e89becae59f29629746a7bfbb8cc131b4aa8265771030a7c50ed3a39f3bf8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "997e89becae59f29629746a7bfbb8cc131b4aa8265771030a7c50ed3a39f3bf8"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35f1919ca561fad539efd130c04c8c0ecb0c1c75de39a4f1e8a02bdc584e4805' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 200"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9d74b1edcebf4fa0e38bbb69193a1071d4df3b1c62cec0abdba9dd14b44a4077"], ["uid", "35f1919ca561fad539efd130c04c8c0ecb0c1c75de39a4f1e8a02bdc584e4805"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '35f1919ca561fad539efd130c04c8c0ecb0c1c75de39a4f1e8a02bdc584e4805' AND "oauth_applications"."secret" = '9d74b1edcebf4fa0e38bbb69193a1071d4df3b1c62cec0abdba9dd14b44a4077' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1adf84ff558294b118ab6cbc1e6ced49e2f1ba13e09cb6ee7e622c1b6f579f29' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "write"], ["token", "1adf84ff558294b118ab6cbc1e6ced49e2f1ba13e09cb6ee7e622c1b6f579f29"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started POST "/oauth/token" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f100f7d2d2e54a85ca66db7c231ea1b8154928b1e515bca911c3073cd38a35b3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 201"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7a2c98d9dde45a06b0e810e2be774a077e92fb83c1eb00b3505206a52843eead"], ["uid", "f100f7d2d2e54a85ca66db7c231ea1b8154928b1e515bca911c3073cd38a35b3"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2b7dcfedbe2a635d9083f7b0f56ca92860f688f8baac763c4691904f4770eea0' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "2b7dcfedbe2a635d9083f7b0f56ca92860f688f8baac763c4691904f4770eea0"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '618ee6b7f123c53a4c82d5534a9a523e896db0aebcdbff487ef7ae39db0b78cc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 202"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "df7f0e282f721de96ea484137b2df55835f16d1b1b011b4cbb45008ae4b97a49"], ["uid", "618ee6b7f123c53a4c82d5534a9a523e896db0aebcdbff487ef7ae39db0b78cc"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.1ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ba9e56ffc98572e011d487c96b73b684358614b1fa64cab61a48fd37da99961e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00], ["name", "Application 203"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4aad9444f7b93e23711e877bdb0bf370e6c6902934fb5caa28347cfdc997dcca"], ["uid", "ba9e56ffc98572e011d487c96b73b684358614b1fa64cab61a48fd37da99961e"], ["updated_at", Fri, 13 Jun 2014 17:06:53 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2014-06-13 13:06:53 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (1.1ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f0a7934fd6f64609ebeaab09de1968c5af8708451d76d768a240010c91e34434' LIMIT 1
  SQL (1.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 1"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ae7d9b7772cdaada45ff275baac80c408c04a2f71893bc0204957b5932ebf121"], ["uid", "f0a7934fd6f64609ebeaab09de1968c5af8708451d76d768a240010c91e34434"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bb5edf47fa0bc681501e781d57416e777624218f598cddfffeea4569a0805122' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "bb5edf47fa0bc681501e781d57416e777624218f598cddfffeea4569a0805122"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'afb6999f1c062ae7f935399589e764dfa2fa498841d8991220a04f98277ff9c1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 2"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "29b40127f4757b212481af34918d61fcb8d8b81b2e524789ae0ce1b1bac690ce"], ["uid", "afb6999f1c062ae7f935399589e764dfa2fa498841d8991220a04f98277ff9c1"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6ff01b72b6d10a5e4b5e0d570fb59f1b8cda714b18949d1a256d0f491549624d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "6ff01b72b6d10a5e4b5e0d570fb59f1b8cda714b18949d1a256d0f491549624d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::TokenInfoController#show as HTML
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b750ac6cf412149c71575be367d97fd212d8a66d50868f4a6e578bf5f1c79774' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 3"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "16ecc06a931f0fc501f0fe594fdb17a58dad4b5efa6588c2431f70bd637f5fc3"], ["uid", "b750ac6cf412149c71575be367d97fd212d8a66d50868f4a6e578bf5f1c79774"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e3f11bc7c59a0dd7a98980a4cca35ecfe5570b16793e870d64115a22152817b5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", nil], ["token", "e3f11bc7c59a0dd7a98980a4cca35ecfe5570b16793e870d64115a22152817b5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c1556be869ba18170f1aab638473a623b707eae662b249668481bd7928a22baf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "c1556be869ba18170f1aab638473a623b707eae662b249668481bd7928a22baf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e1ae6edee1791bab6df87700742446a7d6f31e6dcd1563e7d0826befc6938d95' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 7866], ["revoked_at", nil], ["scopes", ""], ["token", "e1ae6edee1791bab6df87700742446a7d6f31e6dcd1563e7d0826befc6938d95"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a0de594d1b00863e50ba9d7f53ae94ca4eb5a1929711e9aaa81e67ce5dad2a9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 4"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "20171d8eac01affaddd50ca7e55a17ef314bb0d015132090d1d2fd37d8f7d256"], ["uid", "8a0de594d1b00863e50ba9d7f53ae94ca4eb5a1929711e9aaa81e67ce5dad2a9"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 17ms (Views: 17.1ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ca489cbc68b847b8bf3161939f709862f7b78af97dd41d938f4a41aaec8337ed' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "ca489cbc68b847b8bf3161939f709862f7b78af97dd41d938f4a41aaec8337ed"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=8a0de594d1b00863e50ba9d7f53ae94ca4eb5a1929711e9aaa81e67ce5dad2a9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"8a0de594d1b00863e50ba9d7f53ae94ca4eb5a1929711e9aaa81e67ce5dad2a9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a0de594d1b00863e50ba9d7f53ae94ca4eb5a1929711e9aaa81e67ce5dad2a9' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'df9d4949b8f441f3015ef83b9d1c81e180c85323210c248fb88bbab53a6cd211' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "df9d4949b8f441f3015ef83b9d1c81e180c85323210c248fb88bbab53a6cd211"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=df9d4949b8f441f3015ef83b9d1c81e180c85323210c248fb88bbab53a6cd211
Completed 302 Found in 16ms (ActiveRecord: 1.1ms)
Started GET "/callback?code=df9d4949b8f441f3015ef83b9d1c81e180c85323210c248fb88bbab53a6cd211" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"df9d4949b8f441f3015ef83b9d1c81e180c85323210c248fb88bbab53a6cd211"}
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4cb6258ba9032dfb216eb48b6e4b7ad29ef5f556bbce57cb6be93a1a570d0a3e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 5"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8b3e3deab9b6e7e15b160bde2065e27a8dabb0c6437d120f2f84933cd00423eb"], ["uid", "4cb6258ba9032dfb216eb48b6e4b7ad29ef5f556bbce57cb6be93a1a570d0a3e"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f10665ace458ae8e0a8f9a4023fa8b5662c8ffcdb94c8c4ff6bc16a03fe64c8b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "f10665ace458ae8e0a8f9a4023fa8b5662c8ffcdb94c8c4ff6bc16a03fe64c8b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=4cb6258ba9032dfb216eb48b6e4b7ad29ef5f556bbce57cb6be93a1a570d0a3e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"4cb6258ba9032dfb216eb48b6e4b7ad29ef5f556bbce57cb6be93a1a570d0a3e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4cb6258ba9032dfb216eb48b6e4b7ad29ef5f556bbce57cb6be93a1a570d0a3e' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Application 6"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2d2229f5da655324ede9571ddb6e65dbcc2b2ecc26dfbd328b302c210b89c697"], ["uid", "295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '15ad3d09fbaabc711c4a1b3beaa8f5e452721035519d98411401a7f287171bdb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "15ad3d09fbaabc711c4a1b3beaa8f5e452721035519d98411401a7f287171bdb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.5ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '295ac8cb749b626a4ce9d8b289941c3d229cf3d7f933ee6bbceda29cb2f60569' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '9d181f4d0dd7f4e06d4f190c95d4359ccf24b1fd6262f4ad43680dd85edd66fc' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:18 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "9d181f4d0dd7f4e06d4f190c95d4359ccf24b1fd6262f4ad43680dd85edd66fc"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=9d181f4d0dd7f4e06d4f190c95d4359ccf24b1fd6262f4ad43680dd85edd66fc
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
Started GET "/callback?code=9d181f4d0dd7f4e06d4f190c95d4359ccf24b1fd6262f4ad43680dd85edd66fc" for 127.0.0.1 at 2015-03-10 13:54:18 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"9d181f4d0dd7f4e06d4f190c95d4359ccf24b1fd6262f4ad43680dd85edd66fc"}
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.8ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.9ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Filter chain halted as #<Proc:0x007fbbb0419420@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2DUWE"}
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fbbb040ad30@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fbbb040ad30@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"14"}
Filter chain halted as #<Proc:0x007fbbacfaef78@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Filter chain halted as #<Proc:0x007fbbb045af38@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fbbb045af38@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"4"}
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Filter chain halted as #<Proc:0x007fbbb0783110@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"bearer_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2BC3"}
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
Processing by AnonymousController#index as HTML
Filter chain halted as #<Proc:0x007fbbb0482ab0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"5"}
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fbbb10220c8@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"3"}
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Filter chain halted as #<Proc:0x007fbbb0762e10@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#show as HTML
  Parameters: {"access_token"=>"1A2B3C4D", "id"=>"1"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by AnonymousController#index as HTML
  Parameters: {"access_token"=>"1A2B3C4D"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'fc3592834192def60e6256a1fb077e2772d69db28207a60b7f8f84828bafa7b5' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "fc3592834192def60e6256a1fb077e2772d69db28207a60b7f8f84828bafa7b5"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.2ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'f29f749be755199dfbca11b129c6e1fd76d3e18359bd4315a8483f4dc23634da' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 9990], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 600], ["redirect_uri", "http://tst.com/cb"], ["resource_owner_id", 8900], ["revoked_at", nil], ["scopes", ""], ["token", "f29f749be755199dfbca11b129c6e1fd76d3e18359bd4315a8483f4dc23634da"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '86efeb1e614cd4a1ccc7a23d593c7cdd0593dda5dbdc2f30a3ffb93eec6b2a03' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 7"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eee63a4af0304bad92780bfaa3598dfc3cc1e69d59a55102e78f4b1b884c8fa5"], ["uid", "86efeb1e614cd4a1ccc7a23d593c7cdd0593dda5dbdc2f30a3ffb93eec6b2a03"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0f63984f2b14e26b4c50ee263c87e7984eb37e91564475256e6cc8a41230cc1c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 8"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1c276698ed7a324e360f9ce4c79b4ead82f391d6d3fa810e4c0265870b635681"], ["uid", "0f63984f2b14e26b4c50ee263c87e7984eb37e91564475256e6cc8a41230cc1c"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f69fa2b0421fdfb87bdb08d313e1b8108ee6cfc4302559b6f35d1fe066134256' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public"], ["token", "f69fa2b0421fdfb87bdb08d313e1b8108ee6cfc4302559b6f35d1fe066134256"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.2ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ec4c5724fc8908db497feebe14458407e3c9accc6357219ab2709c2d47987b9d' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 9"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e9fd6f9e5a2966fd8d48da21b3ab4d6c8f9395ff6067693c0f60b2b71803818b"], ["uid", "ec4c5724fc8908db497feebe14458407e3c9accc6357219ab2709c2d47987b9d"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '5ab9e9c37a9d3e37d163ba9b3145563cba2aef2bd396d90d2ed702725ec1d819' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "5ab9e9c37a9d3e37d163ba9b3145563cba2aef2bd396d90d2ed702725ec1d819"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9ab319e24c883b9d27c4f8b197984b7178c459192c6031b517942627deb1045b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 10"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2e08016e5936c7cdf2f3b54c1035f1df60242326cfa3db505f586853e0981b2d"], ["uid", "9ab319e24c883b9d27c4f8b197984b7178c459192c6031b517942627deb1045b"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'aca5c12bf5dbb7cc698912805950b7d68bff5f3cf8cc46f1631757c29c6b041b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "aca5c12bf5dbb7cc698912805950b7d68bff5f3cf8cc46f1631757c29c6b041b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'be06dccccb096f9a333c91b34a4ec251c4c3d901dcdea3b71b9d759a42808d33' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 11"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "760cdc51d58eec45355be30940e7fa66e3b0928946471a20ad0fe07e036785e8"], ["uid", "be06dccccb096f9a333c91b34a4ec251c4c3d901dcdea3b71b9d759a42808d33"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '3833149a861f867d02bf6acabee29dda7228cacce68c61d1342ded4815ef8ebb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", "public write"], ["token", "3833149a861f867d02bf6acabee29dda7228cacce68c61d1342ded4815ef8ebb"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '74140339b99b55f4c92f859ff50fd0e1104cd591c3f1daa5798ccd330af9b57f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 3], ["revoked_at", nil], ["scopes", "public write"], ["token", "74140339b99b55f4c92f859ff50fd0e1104cd591c3f1daa5798ccd330af9b57f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.0ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8d96a81f76bd34dff2b21c8c841e9871dd3a1870a834252fb0635a64aa64d3ab' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 12"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f8f3fda90f0ebac5f93024f49046e19ac9d79ed3c48d997969e78740d481c6ee"], ["uid", "8d96a81f76bd34dff2b21c8c841e9871dd3a1870a834252fb0635a64aa64d3ab"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '8ca571c61f3f02ebf51b952d9c0dd01aaa435edd1f1abe8fe1a28f373c231cbe' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", "public write"], ["token", "8ca571c61f3f02ebf51b952d9c0dd01aaa435edd1f1abe8fe1a28f373c231cbe"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c319742c384a779db3342c0029646af2a5b082d18dfd69ab6683785b492377c5' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 13"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "264fe992d809786030a03e76330c6d6d0a141e12ca8632158715370572472f1b"], ["uid", "c319742c384a779db3342c0029646af2a5b082d18dfd69ab6683785b492377c5"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'f152e08b4de890059e10f16232c0e245b99267e9b5760b8b9b953c5f1eafb7c5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 5], ["revoked_at", nil], ["scopes", "public write"], ["token", "f152e08b4de890059e10f16232c0e245b99267e9b5760b8b9b953c5f1eafb7c5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '870af7c9c301d09ec94a4d36d03df6867cea1ee4069e350dc34876ad350fe894' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 14"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7ff263d9d66a6ab98f16f5ac6b6ccebffb555f4bc6fbdd468d341bf0d0623896"], ["uid", "870af7c9c301d09ec94a4d36d03df6867cea1ee4069e350dc34876ad350fe894"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '441e3e8f90171d5e6a6ae343ceee7da1641470933acf2126cc95398fdf942387' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 6], ["revoked_at", nil], ["scopes", "public write"], ["token", "441e3e8f90171d5e6a6ae343ceee7da1641470933acf2126cc95398fdf942387"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '16172db23e331ff106b4042612f1ddd00d2d2c5c361da5c7569933c18fb71fad' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 6], ["revoked_at", nil], ["scopes", "public write"], ["token", "16172db23e331ff106b4042612f1ddd00d2d2c5c361da5c7569933c18fb71fad"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd65fb8712ced3484e995b79fbd7776024db0b2c3c1fa352d9d521e593403a3a4' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 15"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f020aaec54ce6ce9c9901d6199410ec447db49864d17077e980622f16a23aae6"], ["uid", "d65fb8712ced3484e995b79fbd7776024db0b2c3c1fa352d9d521e593403a3a4"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '59fe7f8acd2de0821ec040d216c284a591287ddadbc3294773d0cbef3f634edc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 7], ["revoked_at", nil], ["scopes", "public write"], ["token", "59fe7f8acd2de0821ec040d216c284a591287ddadbc3294773d0cbef3f634edc"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '79f66b082e00f2465f26c029a5dc492fe1d290a09ef71faf88146ac5d0838ec4' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 16"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "73138647aa05a131aa7a0266ff74b244daf0bcd2fbf32e51d5bdfb2bd7458459"], ["uid", "79f66b082e00f2465f26c029a5dc492fe1d290a09ef71faf88146ac5d0838ec4"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'e1623104365ecedca1b693f41ee99b9124f529a46ad8331196314ce9b1ebafa7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 8], ["revoked_at", nil], ["scopes", "public write"], ["token", "e1623104365ecedca1b693f41ee99b9124f529a46ad8331196314ce9b1ebafa7"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2d6ff0cd8a723ffa992058186757e826c472f37a83f984c9a815ebcdd62f4045' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 172800], ["refresh_token", nil], ["resource_owner_id", 8], ["revoked_at", nil], ["scopes", "public write"], ["token", "2d6ff0cd8a723ffa992058186757e826c472f37a83f984c9a815ebcdd62f4045"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9e5904509f37daca07b654204948d9c1a4b94174b487ccfdf7dccd297531b7d5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 17"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "70f04319efd90a3881ca970bc82c9eccfc789c77c9e94ea375c09f70cab8212d"], ["uid", "9e5904509f37daca07b654204948d9c1a4b94174b487ccfdf7dccd297531b7d5"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '80174285d788cdaa1526147acdb48598871bba79d1fb1f510ee20f53168e371f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 9], ["revoked_at", nil], ["scopes", "public write"], ["token", "80174285d788cdaa1526147acdb48598871bba79d1fb1f510ee20f53168e371f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1213dcce72dc93528eb9d28101fe9b47312cc4db9fb59907ea8111d6a3889817' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 18"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "50d5e6f08992edbbf28ad393737b96c3b0ed2c083102b29e0de32aa544871d17"], ["uid", "1213dcce72dc93528eb9d28101fe9b47312cc4db9fb59907ea8111d6a3889817"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c17773a8f2f44cb178ec88b3fb4d6522427e5c4405d252270cdeea1e217d6c22' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 19"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b5279039c8e3c51587532a68de70e6d1f805dea7d880307f3e3046ffc1e86a49"], ["uid", "c17773a8f2f44cb178ec88b3fb4d6522427e5c4405d252270cdeea1e217d6c22"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '2aa034b28f624a0fc34b57af07598a5c958467beef5b734618e6a12e4a1fe647' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", "public write"], ["token", "2aa034b28f624a0fc34b57af07598a5c958467beef5b734618e6a12e4a1fe647"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4f68f67a6654a1f1836f0eea397c66bb293f4dbafe55346a11d298db72b90361' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", "public write"], ["token", "4f68f67a6654a1f1836f0eea397c66bb293f4dbafe55346a11d298db72b90361"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 20"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840"], ["uid", "3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '41365698da147fc12972f8e95c820f3742cadebc06a02b8d01ee8c1adc963598' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "41365698da147fc12972f8e95c820f3742cadebc06a02b8d01ee8c1adc963598"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=41365698da147fc12972f8e95c820f3742cadebc06a02b8d01ee8c1adc963598&client_id=3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013&client_secret=94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"41365698da147fc12972f8e95c820f3742cadebc06a02b8d01ee8c1adc963598", "client_id"=>"3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013", "client_secret"=>"94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '41365698da147fc12972f8e95c820f3742cadebc06a02b8d01ee8c1adc963598' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013' AND "oauth_applications"."secret" = '94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a99c27422c4a92d3a0c21d23bac238fba2e4978a410dc262d82bb46a695dae94' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '94da7ed36f3fb28acc728fef0aad622b4d1e44524a4c70bd000c6c2f0dab5bfe' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "94da7ed36f3fb28acc728fef0aad622b4d1e44524a4c70bd000c6c2f0dab5bfe"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "a99c27422c4a92d3a0c21d23bac238fba2e4978a410dc262d82bb46a695dae94"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 8ms (ActiveRecord: 1.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessGrant Load (0.0ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ? LIMIT 1  [["id", 1]]
Started POST "/oauth/token?refresh_token=94da7ed36f3fb28acc728fef0aad622b4d1e44524a4c70bd000c6c2f0dab5bfe&client_id=3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013&client_secret=94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"94da7ed36f3fb28acc728fef0aad622b4d1e44524a4c70bd000c6c2f0dab5bfe", "client_id"=>"3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013", "client_secret"=>"94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '94da7ed36f3fb28acc728fef0aad622b4d1e44524a4c70bd000c6c2f0dab5bfe' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3738eb8204ffcc21d8d5d053cf8455867219efde68b82487ffcee940735fe013' AND "oauth_applications"."secret" = '94759606972d247fe106795e89715fc34627093d07434aaadf8163488bba8840' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '55ff86fe51a0f825bc9a144f1869fb7e022f36ecd7e9edbfac8aefc704efda25' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '47cfb5cbf805cce01b10dcaca8cce9923de5ff0fb0b9ce5613e7f3c1373920bd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "47cfb5cbf805cce01b10dcaca8cce9923de5ff0fb0b9ce5613e7f3c1373920bd"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "55ff86fe51a0f825bc9a144f1869fb7e022f36ecd7e9edbfac8aefc704efda25"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.8ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67669c5b28eafc3000da7f798c9f38ce939d692baeed06bc02f3e37311b01b9d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 21"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "19076d26aff4f25b4330546a63b4de4189bd38eca03c24da63f62cc5ef7f0802"], ["uid", "67669c5b28eafc3000da7f798c9f38ce939d692baeed06bc02f3e37311b01b9d"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7e7cb93f59492984053215b36441441e1b40f022e16325270936576a41dc054e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '98f14c821309f830e7a61a01d23fbda17b493174c8df00633877cdaf45992dcb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "98f14c821309f830e7a61a01d23fbda17b493174c8df00633877cdaf45992dcb"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "7e7cb93f59492984053215b36441441e1b40f022e16325270936576a41dc054e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=98f14c821309f830e7a61a01d23fbda17b493174c8df00633877cdaf45992dcb&client_id=67669c5b28eafc3000da7f798c9f38ce939d692baeed06bc02f3e37311b01b9d&client_secret=19076d26aff4f25b4330546a63b4de4189bd38eca03c24da63f62cc5ef7f0802&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"98f14c821309f830e7a61a01d23fbda17b493174c8df00633877cdaf45992dcb", "client_id"=>"67669c5b28eafc3000da7f798c9f38ce939d692baeed06bc02f3e37311b01b9d", "client_secret"=>"19076d26aff4f25b4330546a63b4de4189bd38eca03c24da63f62cc5ef7f0802", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '98f14c821309f830e7a61a01d23fbda17b493174c8df00633877cdaf45992dcb' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '67669c5b28eafc3000da7f798c9f38ce939d692baeed06bc02f3e37311b01b9d' AND "oauth_applications"."secret" = '19076d26aff4f25b4330546a63b4de4189bd38eca03c24da63f62cc5ef7f0802' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '820dc368c533e497d1ec13f4cf8095eb471803f8c35ecc589c84c0e7a8c3c7b0' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '82a59d9e8cf118652a32da41966900ce2c3b1e6eb0937fec5a86729fc0c99472' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "82a59d9e8cf118652a32da41966900ce2c3b1e6eb0937fec5a86729fc0c99472"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "820dc368c533e497d1ec13f4cf8095eb471803f8c35ecc589c84c0e7a8c3c7b0"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.7ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dbea1165697d3b348970c522b529801b828d149dda5326e4f4767eee9488386c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 22"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "966171e92f40d94d1d6ba69ac59db5a7991b713320a4790fb1a753cb665d9543"], ["uid", "dbea1165697d3b348970c522b529801b828d149dda5326e4f4767eee9488386c"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd2d3a7139d7ecfd30ffd6d0758544163e3050cb8da691f7e9a17a5b19828b0af' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '857b2595580d661369936176713eb7fe73f20198694ff416e9face9f99803adf' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "857b2595580d661369936176713eb7fe73f20198694ff416e9face9f99803adf"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "d2d3a7139d7ecfd30ffd6d0758544163e3050cb8da691f7e9a17a5b19828b0af"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=invalid&client_id=dbea1165697d3b348970c522b529801b828d149dda5326e4f4767eee9488386c&client_secret=966171e92f40d94d1d6ba69ac59db5a7991b713320a4790fb1a753cb665d9543&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"invalid", "client_id"=>"dbea1165697d3b348970c522b529801b828d149dda5326e4f4767eee9488386c", "client_secret"=>"966171e92f40d94d1d6ba69ac59db5a7991b713320a4790fb1a753cb665d9543", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dbea1165697d3b348970c522b529801b828d149dda5326e4f4767eee9488386c' AND "oauth_applications"."secret" = '966171e92f40d94d1d6ba69ac59db5a7991b713320a4790fb1a753cb665d9543' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e675310948ae6ab22b8d12cb227886e4db1b340eb916ce00a94d576ccec7018' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 23"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ff1989830df16c63e1b9c640026f95291268785c1578aeb244ea140874188294"], ["uid", "3e675310948ae6ab22b8d12cb227886e4db1b340eb916ce00a94d576ccec7018"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '99604553be5bfa41dfb1d93ac1adb1e152f9e729ecfde4134e600cc4abf1918f' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd595b96586271882aa107b5e731d93e8b7aa4f0ca60a86aac0c4e60c0e108de7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "d595b96586271882aa107b5e731d93e8b7aa4f0ca60a86aac0c4e60c0e108de7"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "99604553be5bfa41dfb1d93ac1adb1e152f9e729ecfde4134e600cc4abf1918f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?refresh_token=d595b96586271882aa107b5e731d93e8b7aa4f0ca60a86aac0c4e60c0e108de7&client_id=3e675310948ae6ab22b8d12cb227886e4db1b340eb916ce00a94d576ccec7018&client_secret=ff1989830df16c63e1b9c640026f95291268785c1578aeb244ea140874188294&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"d595b96586271882aa107b5e731d93e8b7aa4f0ca60a86aac0c4e60c0e108de7", "client_id"=>"3e675310948ae6ab22b8d12cb227886e4db1b340eb916ce00a94d576ccec7018", "client_secret"=>"ff1989830df16c63e1b9c640026f95291268785c1578aeb244ea140874188294", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'd595b96586271882aa107b5e731d93e8b7aa4f0ca60a86aac0c4e60c0e108de7' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e675310948ae6ab22b8d12cb227886e4db1b340eb916ce00a94d576ccec7018' AND "oauth_applications"."secret" = 'ff1989830df16c63e1b9c640026f95291268785c1578aeb244ea140874188294' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c2e5696d3f95538eb7bd45ca37e9671a67e9eacfdc71c4d23979d33b2037a6ed' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6401217e909f04da1310e7d4fdb809edd8d68445ab574f94c6550f6190292d36' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "6401217e909f04da1310e7d4fdb809edd8d68445ab574f94c6550f6190292d36"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "c2e5696d3f95538eb7bd45ca37e9671a67e9eacfdc71c4d23979d33b2037a6ed"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eb610bc12884ecc723f9d8bc69eae8b38abfac8e02c8618a9e3d93257831a78e' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 24"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "146b297e3100783db0c1b290bab13aa30853d4e41d33a3987f1efd326d6431e0"], ["uid", "eb610bc12884ecc723f9d8bc69eae8b38abfac8e02c8618a9e3d93257831a78e"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'deb9d5bc376be7b86c6520c877c7b835ed1d80e7f58e26d7015f261447e6b4a7' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '8e7213c0fe1d18121cbe04f81551bf1548bf697d86166ceb358d824b72674881' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "8e7213c0fe1d18121cbe04f81551bf1548bf697d86166ceb358d824b72674881"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "deb9d5bc376be7b86c6520c877c7b835ed1d80e7f58e26d7015f261447e6b4a7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?refresh_token=8e7213c0fe1d18121cbe04f81551bf1548bf697d86166ceb358d824b72674881&client_id=eb610bc12884ecc723f9d8bc69eae8b38abfac8e02c8618a9e3d93257831a78e&client_secret=146b297e3100783db0c1b290bab13aa30853d4e41d33a3987f1efd326d6431e0&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"8e7213c0fe1d18121cbe04f81551bf1548bf697d86166ceb358d824b72674881", "client_id"=>"eb610bc12884ecc723f9d8bc69eae8b38abfac8e02c8618a9e3d93257831a78e", "client_secret"=>"146b297e3100783db0c1b290bab13aa30853d4e41d33a3987f1efd326d6431e0", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '8e7213c0fe1d18121cbe04f81551bf1548bf697d86166ceb358d824b72674881' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eb610bc12884ecc723f9d8bc69eae8b38abfac8e02c8618a9e3d93257831a78e' AND "oauth_applications"."secret" = '146b297e3100783db0c1b290bab13aa30853d4e41d33a3987f1efd326d6431e0' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 25"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb"], ["uid", "fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '64727ea85f9dc59c722bb8554f6edef0f6cbd8475c070b157a5d8a02ba947729' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7464144b737368c32d8ee0a065271de50f243b2eee095f417c89051bfa5eb80e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "7464144b737368c32d8ee0a065271de50f243b2eee095f417c89051bfa5eb80e"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "64727ea85f9dc59c722bb8554f6edef0f6cbd8475c070b157a5d8a02ba947729"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started POST "/oauth/token?code&client_id=fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84&client_secret=9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84", "client_secret"=>"9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84' AND "oauth_applications"."secret" = '9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6c405277b4bff5a0b4f1fd3b24b735c44863f0e8019d300c0a329fab2575204c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '2460fc7745208cfa7b55d3a00f86dfe3ec06f95f229c82b942f1e04e23c414cb' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "2460fc7745208cfa7b55d3a00f86dfe3ec06f95f229c82b942f1e04e23c414cb"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "6c405277b4bff5a0b4f1fd3b24b735c44863f0e8019d300c0a329fab2575204c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
Started POST "/oauth/token?refresh_token=7464144b737368c32d8ee0a065271de50f243b2eee095f417c89051bfa5eb80e&client_id=fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84&client_secret=9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"refresh_token"=>"7464144b737368c32d8ee0a065271de50f243b2eee095f417c89051bfa5eb80e", "client_id"=>"fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84", "client_secret"=>"9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb", "grant_type"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '7464144b737368c32d8ee0a065271de50f243b2eee095f417c89051bfa5eb80e' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fb517779b38cf92259f3c198c70ff9cb547819a76c95d88e1ea13a13dde99e84' AND "oauth_applications"."secret" = '9ed313dd7c23ceb79ddcf5e3ffdf3ac3a30a53fc83f63dc0adaf7b682ebb8ddb' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e7c14c740715a42191b1bebe3da7eaf5ab839491e880ad771dc1fd8ca4943f44' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '4e300076d9f4816ba30993300fd22be297d7e8946c99e9d2967ee0e907a24ada' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "4e300076d9f4816ba30993300fd22be297d7e8946c99e9d2967ee0e907a24ada"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "e7c14c740715a42191b1bebe3da7eaf5ab839491e880ad771dc1fd8ca4943f44"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (13.4ms)
Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>""}, "commit"=>"Submit"}
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a8b732ae91d1d585f682fc2f828190c7460a094c1f0b3abf2339fc269a9424f8' LIMIT 1
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (18.6ms)
Completed 200 OK in 33ms (Views: 20.4ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started GET "/oauth/applications/new" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#new as HTML
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (10.2ms)
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
Started POST "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"My Application", "redirect_uri"=>"http://example.com"}, "commit"=>"Submit"}
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8234205ab469f9197c30fb87f2c33185c9f82229d6967a7307334f060778675d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "My Application"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "129ee77e7da8200b5d09100cadcf797f2032db3aff1104bd2d1ce54db7a467f5"], ["uid", "8234205ab469f9197c30fb87f2c33185c9f82229d6967a7307334f060778675d"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (2.0ms)
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7d3559f2820b136e6a8f4d8069e856de8bfc096d83b6d7f856fe2b7146f97cfe' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 26"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eedf99f8087092705026551af118b55ab063c8dd1e314e5be7c7df93aefc8d11"], ["uid", "7d3559f2820b136e6a8f4d8069e856de8bfc096d83b6d7f856fe2b7146f97cfe"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '7d3559f2820b136e6a8f4d8069e856de8bfc096d83b6d7f856fe2b7146f97cfe' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a614098231df3b027a0eab4d56138dc7b2f110ce477e34c4b979e0dc96bb716f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 27"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ff492ec9fce10e304739fe67316f582fb5e23974d630d28f5bdf3989a6f524f4"], ["uid", "a614098231df3b027a0eab4d56138dc7b2f110ce477e34c4b979e0dc96bb716f"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'a614098231df3b027a0eab4d56138dc7b2f110ce477e34c4b979e0dc96bb716f' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '81c8879a3779892b08862c60bebaacdfcdf624c7a4af049f495f5164e2ed4c5c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 28"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b4a33104813657db4c8c512fe3d0d0bf066419e834a585c5da424926f0633742"], ["uid", "81c8879a3779892b08862c60bebaacdfcdf624c7a4af049f495f5164e2ed4c5c"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '81c8879a3779892b08862c60bebaacdfcdf624c7a4af049f495f5164e2ed4c5c' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e7295ad7bc76648faea82e417f317561ac98a921a43bed7fd09e3723f1dc80a2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 29"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3e5c065ccd5e61626be500e4a250776c9a63f346b3c7dd6d1508a0cfc9cff9ae"], ["uid", "e7295ad7bc76648faea82e417f317561ac98a921a43bed7fd09e3723f1dc80a2"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'e7295ad7bc76648faea82e417f317561ac98a921a43bed7fd09e3723f1dc80a2' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bb8c9b679439a966cf352c385c2b02e35eaf10f830436c2830abe6c30253eff4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 30"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "db7379de93a46d9719243dd905c51281dcb18d8d1a6109a3d3a6e2db29205f4a"], ["uid", "bb8c9b679439a966cf352c385c2b02e35eaf10f830436c2830abe6c30253eff4"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'bb8c9b679439a966cf352c385c2b02e35eaf10f830436c2830abe6c30253eff4' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f05ce7031a96ed0f108cfe61d6516001d269ff4a307e788a24826f8c4552bb72' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 31"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ee046e2ee149cf979296132d6bb625ccd68fdae3d8a5a98aec1b5ad3d58097fd"], ["uid", "f05ce7031a96ed0f108cfe61d6516001d269ff4a307e788a24826f8c4552bb72"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'f05ce7031a96ed0f108cfe61d6516001d269ff4a307e788a24826f8c4552bb72' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '36e2db6c85c6b3f5c68181cecc115bf5b87f5b2f9235853ffd7ebcdd0ced0070' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 32"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "295055fe275d0688ca11a0efaee365cabbba5220c2029909a8d10a78d85dcfd7"], ["uid", "36e2db6c85c6b3f5c68181cecc115bf5b87f5b2f9235853ffd7ebcdd0ced0070"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '36e2db6c85c6b3f5c68181cecc115bf5b87f5b2f9235853ffd7ebcdd0ced0070' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '772869e324ce48600385fa34adb7fc369f57bc87d535bf60d802e501ff80950c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 33"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c690cd6ab0f9d66958414e30227f5b516ccb8584ef36168427916f1f5df4697a"], ["uid", "772869e324ce48600385fa34adb7fc369f57bc87d535bf60d802e501ff80950c"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '67719278b254d2699d55d7180e6de400ea54f84916077fe912f071630adf4141' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7a70c642bbb4808b2638492ddedaf9dc54d955c6d9625d339261906aea1a6812' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 34"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bb5bf73acfceac5265eb489091e5b2fdfa3b54cca76ea7d3f24eefd30a49632e"], ["uid", "7a70c642bbb4808b2638492ddedaf9dc54d955c6d9625d339261906aea1a6812"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'e6683527bbf283ccbf866349644ec6fdb71b94fa51c7b952ea07322fbdd0d519' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", "public write"], ["token", "e6683527bbf283ccbf866349644ec6fdb71b94fa51c7b952ea07322fbdd0d519"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_grants"."id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '91324462d6f8a77ad77aed2abbc12f385f450b8f73c7a203500b05bcf44d6173' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 35"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1ea1844783e20469b8a465d5598a5b0a013f769baa3cc9f41d850a7440002b29"], ["uid", "91324462d6f8a77ad77aed2abbc12f385f450b8f73c7a203500b05bcf44d6173"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'a57a80c5fe1ac29000145ba8a99bb9cf9754514fc82e7578d0a2d339bff64792' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", "public write"], ["token", "a57a80c5fe1ac29000145ba8a99bb9cf9754514fc82e7578d0a2d339bff64792"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0d05ba5ce8c75250db05fd04974ae23d200073f47ac87fdd723d18f7ee1fd3ee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 36"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2d89a3128ddf0a57aac98e13d70aaccb1bc5d5b7d0bf09289dc69524f65bed5b"], ["uid", "0d05ba5ce8c75250db05fd04974ae23d200073f47ac87fdd723d18f7ee1fd3ee"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '8f870a1bf0dc0cccbfd3827e6955ca16935d1124a44f174c8ab8df1fb1358347' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '118f65f8c9709cdf41d5b243406244cb444ef40527507dc9a1bb0e65498873b6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 37"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a112c7e7a338a8cae4e91d68dc4d24db7d40a7c730a7745066495f7985b9f4de"], ["uid", "118f65f8c9709cdf41d5b243406244cb444ef40527507dc9a1bb0e65498873b6"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '4b03baf57ad57989e7c7f3dc7f62080572abc0c9c706d1e176d3f36a31f425d2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 16], ["revoked_at", nil], ["scopes", "public write"], ["token", "4b03baf57ad57989e7c7f3dc7f62080572abc0c9c706d1e176d3f36a31f425d2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a88dd76fb120c511eb5c0c0f5e349d364329e2ff390567e401f4c38415d1ec7f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 38"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bcae3055494e46c98b22352325112e9ad478be8a39dc55e4d514b9c1dc47b588"], ["uid", "a88dd76fb120c511eb5c0c0f5e349d364329e2ff390567e401f4c38415d1ec7f"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '5fcdfa60679e3715adda6dd87e465fc07f1a0f5cdb25e89660f11ff3d550d1bd' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", "public write"], ["token", "5fcdfa60679e3715adda6dd87e465fc07f1a0f5cdb25e89660f11ff3d550d1bd"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" = '4b03baf57ad57989e7c7f3dc7f62080572abc0c9c706d1e176d3f36a31f425d2' AND "oauth_access_grants"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '33d018e7ac6819ccaff87b4fe16b1c3a5a0731e0d090479edc4e23121fa2d181' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 39"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e46e01d3f32756f538325bc1d54f8c81e332263a370e769393d0fe8f79430c4f"], ["uid", "33d018e7ac6819ccaff87b4fe16b1c3a5a0731e0d090479edc4e23121fa2d181"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '012a093737fa4eb017f972625008f2911ddcee318c198a3cd7fbdd3970363b01' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 18], ["revoked_at", nil], ["scopes", "public write"], ["token", "012a093737fa4eb017f972625008f2911ddcee318c198a3cd7fbdd3970363b01"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6227e6aa9887e99deec157671fffcfddfa5190929d12d1501747bc5df62a1151' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 40"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1df5e45cd831538702491b3301620c5d06ec36e295cfc05496deaccdd48ea32a"], ["uid", "6227e6aa9887e99deec157671fffcfddfa5190929d12d1501747bc5df62a1151"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6eed80804f226cfa0e4ba6e3c02fbad9f91c71190eb35752b54535fe739da769' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 19], ["revoked_at", nil], ["scopes", "public write"], ["token", "6eed80804f226cfa0e4ba6e3c02fbad9f91c71190eb35752b54535fe739da769"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.5ms)  UPDATE "oauth_access_grants" SET "token" = '012a093737fa4eb017f972625008f2911ddcee318c198a3cd7fbdd3970363b01' WHERE "oauth_access_grants"."id" = 2
SQLite3::ConstraintException: UNIQUE constraint failed: oauth_access_grants.token: UPDATE "oauth_access_grants" SET "token" = '012a093737fa4eb017f972625008f2911ddcee318c198a3cd7fbdd3970363b01' WHERE "oauth_access_grants"."id" = 2
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aa33015f2f474df6c01c17e613f9215354ba0880695168d31f6c5db9e60855e1' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 41"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3828acd604b365f60243c9bb2bc0ba4a63f63af585bc75c1bc339165fc6c78f2"], ["uid", "aa33015f2f474df6c01c17e613f9215354ba0880695168d31f6c5db9e60855e1"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.3ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65648d646adea0beb9de83f8e752c9ad569d67e68382b9273c6728e2e4a33411' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 42"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b2f54e4ba76d24223028eca9fe2cc5069d411baaf678de50214c27445c6ff808"], ["uid", "65648d646adea0beb9de83f8e752c9ad569d67e68382b9273c6728e2e4a33411"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a53158152fb1a8238da0f3296562cce5fcffafc6857738ac854859096ff5d383' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 43"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c3d03135c5e9ae70489f5e1816ab6881e6388512c53059e3e737ba9e0387b567"], ["uid", "a53158152fb1a8238da0f3296562cce5fcffafc6857738ac854859096ff5d383"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '525b57ee086fd13c39bc19f20bafa202051e6a8d55543665ca030bb8b86a6132' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '56a5788933a44888bdab81d0feb713aae14ffdac86893ff2e3a7db3957328b1f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 44"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "46fbb7e696e241f1a1fe5f86198771e08a6f86817003ae76a73223604b6917c2"], ["uid", "56a5788933a44888bdab81d0feb713aae14ffdac86893ff2e3a7db3957328b1f"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '4196d9155236469e17a4f697a9281e89a906815b4b1380dd6d4f283d096d5d94' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", "public write"], ["token", "4196d9155236469e17a4f697a9281e89a906815b4b1380dd6d4f283d096d5d94"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.2ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE ("oauth_access_grants"."token" IS NULL AND "oauth_access_grants"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af7d7369686c0da9143dae40b192ff5b6e3ad83ede9901e52fc5a1e6334e58b0' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 45"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e1a1d83cca9beaa546766d37da2443dcc5bf8bc8dcaff34d17640925e29d2b34"], ["uid", "af7d7369686c0da9143dae40b192ff5b6e3ad83ede9901e52fc5a1e6334e58b0"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '740abad66f102e7fa1d98586ae4dc3b5c2120c1025119054f4f6c8dabdce56a9' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c17dc2a9cf10e819c9bb66f5dbf3afa11226f05f47ae0f2df00c525840a388ff' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 46"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "138ae9367b4a37ff74f693f4c1436a6c5c6b8efd5c01951bea1914959dad30c6"], ["uid", "c17dc2a9cf10e819c9bb66f5dbf3afa11226f05f47ae0f2df00c525840a388ff"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '9ed3324e17dbdf858ce30deec72607d3ad154049240cefea50da9cdf10cb9d82' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '79b7e58f64911c6e54546f0a1cb4c7d1a1d91517c58397c74d68404b1d75367e' LIMIT 1
  SQL (0.4ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "519f75b60e43c2310423451eab87b878bc25a87c3dd346e43a966ea835aec5cb"], ["uid", "79b7e58f64911c6e54546f0a1cb4c7d1a1d91517c58397c74d68404b1d75367e"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (15.5ms)
Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.1ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '79b7e58f64911c6e54546f0a1cb4c7d1a1d91517c58397c74d68404b1d75367e' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (9.1ms)
Completed 200 OK in 20ms (Views: 10.8ms | ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4ddb47d87aa8bb161285e0a36bb290ac66badde6092435f535f51023f0c866a0' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "OMG my app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d775a544ddac58391afc23ff50c241028d30935260549df53696a510e78ba46a"], ["uid", "4ddb47d87aa8bb161285e0a36bb290ac66badde6092435f535f51023f0c866a0"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1/edit" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#edit as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (10.7ms)
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
Started PUT "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"utf8"=>"✓", "application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback"}, "commit"=>"Submit", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '4ddb47d87aa8bb161285e0a36bb290ac66badde6092435f535f51023f0c866a0' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Serious app', "updated_at" = '2015-03-10 17:54:19.831037' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications/1
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
Started GET "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:19 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f27fe29418c631674a19add32904b5b54e6abbeb12c73c15291edf26a4fc6b01' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 47"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8862b6bd3b3688899a4620af3c92dedc5a442d62946fd23d44a3143af7247ccc"], ["uid", "f27fe29418c631674a19add32904b5b54e6abbeb12c73c15291edf26a4fc6b01"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '24883c709f1ef4c1493be0a46b5353e96a4c42cfe8c4438a9163fe0ce80f7077' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '369a1b5beb709c79e72e244457c4736a94d9aed569113f649b23699adbbaf511' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "369a1b5beb709c79e72e244457c4736a94d9aed569113f649b23699adbbaf511"], ["resource_owner_id", 4], ["revoked_at", nil], ["scopes", nil], ["token", "24883c709f1ef4c1493be0a46b5353e96a4c42cfe8c4438a9163fe0ce80f7077"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f27fe29418c631674a19add32904b5b54e6abbeb12c73c15291edf26a4fc6b01' AND "oauth_applications"."secret" = '8862b6bd3b3688899a4620af3c92dedc5a442d62946fd23d44a3143af7247ccc' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dabdd64ed6afe5e0dc4f0e2dd4d50fd3ec4d10985d76cba77da14331c1667ca4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 48"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "89c6874af13501df6c1bb11a52f8bdbfcebe3354efefd72267b3525abd2bd567"], ["uid", "dabdd64ed6afe5e0dc4f0e2dd4d50fd3ec4d10985d76cba77da14331c1667ca4"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bfbf486fade713635756a94620a2c0401fbba998c222c6c9aa4e842ff67ef873' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '626557da97dc9ab6978703e0b07d8dd380384a63f79007ccb1c57a46106d3f31' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "626557da97dc9ab6978703e0b07d8dd380384a63f79007ccb1c57a46106d3f31"], ["resource_owner_id", 5], ["revoked_at", nil], ["scopes", nil], ["token", "bfbf486fade713635756a94620a2c0401fbba998c222c6c9aa4e842ff67ef873"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'dabdd64ed6afe5e0dc4f0e2dd4d50fd3ec4d10985d76cba77da14331c1667ca4' AND "oauth_applications"."secret" = '89c6874af13501df6c1bb11a52f8bdbfcebe3354efefd72267b3525abd2bd567' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6812c51acced0a0c04cbc21d8d3a244ad2fc44f55a1af4e1b2e2d5a8888737e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 49"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "677ca0ba0d18a22499bde2af23cd1be4032f8d7bc930d87e6ca330bad44734d9"], ["uid", "6812c51acced0a0c04cbc21d8d3a244ad2fc44f55a1af4e1b2e2d5a8888737e7"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b8dab5263bdeef82209ab6018ed2d41497a4116165bab33078814909075c59c1' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'b74994b24427962d75aeba074f0a71f92942b65f77f742bbcb1462fc8cba7b2f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "b74994b24427962d75aeba074f0a71f92942b65f77f742bbcb1462fc8cba7b2f"], ["resource_owner_id", 6], ["revoked_at", nil], ["scopes", nil], ["token", "b8dab5263bdeef82209ab6018ed2d41497a4116165bab33078814909075c59c1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6812c51acced0a0c04cbc21d8d3a244ad2fc44f55a1af4e1b2e2d5a8888737e7' AND "oauth_applications"."secret" = '677ca0ba0d18a22499bde2af23cd1be4032f8d7bc930d87e6ca330bad44734d9' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a06bd7bef40baa31c2c6e8756336d52926676bd5340f5245a1dc26c8d0633134' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 50"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8cbc1f0ff63038ca35a97d5d5768624780c0931114a346aef510ae61a98fe87b"], ["uid", "a06bd7bef40baa31c2c6e8756336d52926676bd5340f5245a1dc26c8d0633134"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '462ecd3243bc3a705a2083e749dd8a13cdbf19d4d33a4510b28b824f98fd02a6' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '05dcee3f18493064e768b1db66836beecc88d53cb8d5fbf0c293ecf586c69cfa' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "05dcee3f18493064e768b1db66836beecc88d53cb8d5fbf0c293ecf586c69cfa"], ["resource_owner_id", 7], ["revoked_at", nil], ["scopes", nil], ["token", "462ecd3243bc3a705a2083e749dd8a13cdbf19d4d33a4510b28b824f98fd02a6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a06bd7bef40baa31c2c6e8756336d52926676bd5340f5245a1dc26c8d0633134' AND "oauth_applications"."secret" = '8cbc1f0ff63038ca35a97d5d5768624780c0931114a346aef510ae61a98fe87b' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ae6ec79e2c20bd540b93912f571357335cb181ab5bdb3146672aa2c17a148330' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9211707fed80c77b80138688e8bf3b91c89499ecdb3f1c49f487454af6268353' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 120], ["refresh_token", "9211707fed80c77b80138688e8bf3b91c89499ecdb3f1c49f487454af6268353"], ["resource_owner_id", 7], ["revoked_at", nil], ["scopes", ""], ["token", "ae6ec79e2c20bd540b93912f571357335cb181ab5bdb3146672aa2c17a148330"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd0ea7f518e0cc0bb00c6cd0e134007d61008219c1ee72e963d859964de5e8507' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 51"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ad6252c02d2ed1330a29014b6b493bb304cb55248d26675f8571a7f2e4e44597"], ["uid", "d0ea7f518e0cc0bb00c6cd0e134007d61008219c1ee72e963d859964de5e8507"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0ba561bab205427d80ebeab971e658ad8eefb04cf694f6f50d1b1c77cfda8184' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '37affc1c5e656930ff18153bead2e65593ae1c3c313ba194efb95d0db13dfadb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "37affc1c5e656930ff18153bead2e65593ae1c3c313ba194efb95d0db13dfadb"], ["resource_owner_id", 8], ["revoked_at", nil], ["scopes", nil], ["token", "0ba561bab205427d80ebeab971e658ad8eefb04cf694f6f50d1b1c77cfda8184"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = '0ba561bab205427d80ebeab971e658ad8eefb04cf694f6f50d1b1c77cfda8184' AND "oauth_access_tokens"."id" != 1) LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = '37affc1c5e656930ff18153bead2e65593ae1c3c313ba194efb95d0db13dfadb' AND "oauth_access_tokens"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -1 WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd0ea7f518e0cc0bb00c6cd0e134007d61008219c1ee72e963d859964de5e8507' AND "oauth_applications"."secret" = 'ad6252c02d2ed1330a29014b6b493bb304cb55248d26675f8571a7f2e4e44597' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11440b091940c5a513e2c282cd5b406402de00dca3ef21f2e43bce57cb081538' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 52"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8deb7a43d10882ef46125e7d29ef17ea9869cd9749cc14af7bf54c3629e54faf"], ["uid", "11440b091940c5a513e2c282cd5b406402de00dca3ef21f2e43bce57cb081538"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f179307a4359613eb9c7a433c93ae792cc4b7ffa69a73bd1cdcbda5883feb83c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5bf1763b6e2b117fd46002384cc70d322267619a7aee2063fc11f2be1f3e6352' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5bf1763b6e2b117fd46002384cc70d322267619a7aee2063fc11f2be1f3e6352"], ["resource_owner_id", 9], ["revoked_at", nil], ["scopes", nil], ["token", "f179307a4359613eb9c7a433c93ae792cc4b7ffa69a73bd1cdcbda5883feb83c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '11440b091940c5a513e2c282cd5b406402de00dca3ef21f2e43bce57cb081538' AND "oauth_applications"."secret" = '8deb7a43d10882ef46125e7d29ef17ea9869cd9749cc14af7bf54c3629e54faf' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '39cd2c8714b7e1a075f99ebbb71769dec3b2b5b916e45aa808709d81a2f0eb4f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 53"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "62edda26047c33691ac0ca06959fe702a243c997e43573c7f877ccaf39d352e2"], ["uid", "39cd2c8714b7e1a075f99ebbb71769dec3b2b5b916e45aa808709d81a2f0eb4f"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'daa92b39210c33560be85052de4fe38be365f8440d04ebb9e2fcdb5030fda0df' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 54"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2a5d54428f9c74e8d5a42295ecd994007c06fa8450a6186c997cccbb43a4ef4a"], ["uid", "daa92b39210c33560be85052de4fe38be365f8440d04ebb9e2fcdb5030fda0df"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3146791a9c70ac17adf0226e0dba832b29c2863091cc9cec6503ad04be6071c8' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'ea1efe40706257e822c061f52891d81e553eb08f34df9d917cd6719fd26de11f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "ea1efe40706257e822c061f52891d81e553eb08f34df9d917cd6719fd26de11f"], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "3146791a9c70ac17adf0226e0dba832b29c2863091cc9cec6503ad04be6071c8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'daa92b39210c33560be85052de4fe38be365f8440d04ebb9e2fcdb5030fda0df' AND "oauth_applications"."secret" = '2a5d54428f9c74e8d5a42295ecd994007c06fa8450a6186c997cccbb43a4ef4a' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bb5d0313a5ecf6c14f314e4f0216a4bb873485aa17899c84989645e218d57425' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'f3366e01b4a155e9a6a33998571f5d15c70364d8ed0503be26377c84da9bfc3a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 120], ["refresh_token", "f3366e01b4a155e9a6a33998571f5d15c70364d8ed0503be26377c84da9bfc3a"], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", ""], ["token", "bb5d0313a5ecf6c14f314e4f0216a4bb873485aa17899c84989645e218d57425"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3c8d0aab990f969d4ea7076eb60f28a3084154a3a6503bf1af549856a8e9fb91' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 55"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8b55abd98697f362ae292c4e82cc501493104d31180cbaba3e8b16aa6331f9cc"], ["uid", "3c8d0aab990f969d4ea7076eb60f28a3084154a3a6503bf1af549856a8e9fb91"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ec5cd940ccd286274519231d3dfe29337d5e808bb39f643ae0f2937c34c00c59' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9339e8b99de15f55a6845f70a18f04f8290ebd45621b28f05b686c878b5c4a8b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "9339e8b99de15f55a6845f70a18f04f8290ebd45621b28f05b686c878b5c4a8b"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "ec5cd940ccd286274519231d3dfe29337d5e808bb39f643ae0f2937c34c00c59"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3c8d0aab990f969d4ea7076eb60f28a3084154a3a6503bf1af549856a8e9fb91' AND "oauth_applications"."secret" = '8b55abd98697f362ae292c4e82cc501493104d31180cbaba3e8b16aa6331f9cc' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6ce83b28669083340ef7174e040e06aabdc44a63b00582fbf590084526454bc8' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '0ff4c333cfabe598cfcbd285c858c63569eb2f43d7831e986b09ef9d7ddc22c9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 120], ["refresh_token", "0ff4c333cfabe598cfcbd285c858c63569eb2f43d7831e986b09ef9d7ddc22c9"], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", "public write"], ["token", "6ce83b28669083340ef7174e040e06aabdc44a63b00582fbf590084526454bc8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a1dd4d6a4c60c5ce7dd487207e9a5581950745c4820b93dd2cd3c6b724d2563b' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 56"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6a252c7670871fea7e8feceb8dab97ca3b280fc99a1851745ac0302272f0fb48"], ["uid", "a1dd4d6a4c60c5ce7dd487207e9a5581950745c4820b93dd2cd3c6b724d2563b"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c612ea64647d57dcbfe018f2dac67b152d9b2f0085c0f3fc297e1516183bf949' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '15999dc2ebfb8a9b929939e387381d1b9195ae3b6a703141a6a1c2d82b660404' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "15999dc2ebfb8a9b929939e387381d1b9195ae3b6a703141a6a1c2d82b660404"], ["resource_owner_id", 12], ["revoked_at", nil], ["scopes", "public write"], ["token", "c612ea64647d57dcbfe018f2dac67b152d9b2f0085c0f3fc297e1516183bf949"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a1dd4d6a4c60c5ce7dd487207e9a5581950745c4820b93dd2cd3c6b724d2563b' AND "oauth_applications"."secret" = '6a252c7670871fea7e8feceb8dab97ca3b280fc99a1851745ac0302272f0fb48' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '86caff295d3e83260d4b5d64d426cd9165c50d3b84db6ad840fa21162c8e3687' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '02c6852dd23530766505c25c478b0f91a3ee38c89ce699ed23993fbb31dcf1de' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 120], ["refresh_token", "02c6852dd23530766505c25c478b0f91a3ee38c89ce699ed23993fbb31dcf1de"], ["resource_owner_id", 12], ["revoked_at", nil], ["scopes", "public"], ["token", "86caff295d3e83260d4b5d64d426cd9165c50d3b84db6ad840fa21162c8e3687"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '83ecb472bdfee306cc289cc933c459d630572467bd2f2a65b24fcda3fc9c5c63' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 57"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3b3706dfb5d4eb15fef04e4e1795868b603c1567867f00d788c6f24b99d83ffc"], ["uid", "83ecb472bdfee306cc289cc933c459d630572467bd2f2a65b24fcda3fc9c5c63"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '87cb9443fa7cfe852fefbdff63613dba9bc1992ffeb2ad9dca06aab145b0376e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'e6265e6e1c6eb0ccd4a2fb218b9775ae5458dc2de8a08f0e9ddc64d364626331' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "e6265e6e1c6eb0ccd4a2fb218b9775ae5458dc2de8a08f0e9ddc64d364626331"], ["resource_owner_id", 13], ["revoked_at", nil], ["scopes", "public write"], ["token", "87cb9443fa7cfe852fefbdff63613dba9bc1992ffeb2ad9dca06aab145b0376e"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '83ecb472bdfee306cc289cc933c459d630572467bd2f2a65b24fcda3fc9c5c63' AND "oauth_applications"."secret" = '3b3706dfb5d4eb15fef04e4e1795868b603c1567867f00d788c6f24b99d83ffc' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1d7a5e137c6ce7652693ac2f40034ec38caa2fd05882798f290f01079a75ff2c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '5f8268b7c3faaf5f4c36e5a6da491fb04fd706bf02a2e576f70e5517ac48b37a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 7200], ["refresh_token", "5f8268b7c3faaf5f4c36e5a6da491fb04fd706bf02a2e576f70e5517ac48b37a"], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", nil], ["token", "1d7a5e137c6ce7652693ac2f40034ec38caa2fd05882798f290f01079a75ff2c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:19' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '977b3363cd83f58f61f35528e2054d95986ad773c81527947af68a70fc60fa67' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '35445bca055190f10e7a8bb57ae01164d14382e5591dd78ddd364e078e18ebf1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["expires_in", 120], ["refresh_token", "35445bca055190f10e7a8bb57ae01164d14382e5591dd78ddd364e078e18ebf1"], ["resource_owner_id", 14], ["revoked_at", nil], ["scopes", ""], ["token", "977b3363cd83f58f61f35528e2054d95986ad773c81527947af68a70fc60fa67"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (1.7ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0b1e7fd8f130cde08c0a9ae76a1630ba7a3975c408701a05d4f0fce088b89a13' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00], ["name", "Application 58"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "51f73ee3fc3f9c200b399bf7f492e6c69d988c192125b9485fc8338e84572aeb"], ["uid", "0b1e7fd8f130cde08c0a9ae76a1630ba7a3975c408701a05d4f0fce088b89a13"], ["updated_at", Tue, 10 Mar 2015 17:54:19 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd3050068d51184843247c2134f6454829eea1bca00b362f92750f76444b67c77' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 59"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "22bd40551580a54f9070e736accf19075bc3a40f288fc74423dc714bdb63dae8"], ["uid", "d3050068d51184843247c2134f6454829eea1bca00b362f92750f76444b67c77"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4c2514a4cf4c51290c711072cc1d624c6f94ad110a0f797796d19d1208b74ca8' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '69029814406ab12a6dfcb186515dfad03ca59937a91949c325a3d81db176d948' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "69029814406ab12a6dfcb186515dfad03ca59937a91949c325a3d81db176d948"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "4c2514a4cf4c51290c711072cc1d624c6f94ad110a0f797796d19d1208b74ca8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f5c6501357dad8ec636307bc31597e68097b25463eb35511f14fc6fa9e55eee6' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '97b0845fa1c7dc6a2dbfd46ee7eea4483f55fc0b9c16aa8dcf19ed9c08fe6d96' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "97b0845fa1c7dc6a2dbfd46ee7eea4483f55fc0b9c16aa8dcf19ed9c08fe6d96"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "f5c6501357dad8ec636307bc31597e68097b25463eb35511f14fc6fa9e55eee6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"4c2514a4cf4c51290c711072cc1d624c6f94ad110a0f797796d19d1208b74ca8"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f5c6501357dad8ec636307bc31597e68097b25463eb35511f14fc6fa9e55eee6' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4c2514a4cf4c51290c711072cc1d624c6f94ad110a0f797796d19d1208b74ca8' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '69029814406ab12a6dfcb186515dfad03ca59937a91949c325a3d81db176d948' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b13dbac5aa5d6339009d72a49c59bfb8ef13087bb4207c5e1b61010159f71e7d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 60"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6d6cfc8f33611e859b4d15dacf9610c99f044eacf41506ff212e075226dc72b1"], ["uid", "b13dbac5aa5d6339009d72a49c59bfb8ef13087bb4207c5e1b61010159f71e7d"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0d8e091a0b97902fd32ee10f99f05b898bbfa41627ba5666f8099d977ade9231' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "0d8e091a0b97902fd32ee10f99f05b898bbfa41627ba5666f8099d977ade9231"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b4402694b36123555a5befd775c1be21c1624f28ca99b390fd9ae1f24a5b83d6' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '57983a7ae11bfc1268b678507326e3eb3f997b56ba962a9093d09ad3b670869b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "57983a7ae11bfc1268b678507326e3eb3f997b56ba962a9093d09ad3b670869b"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "b4402694b36123555a5befd775c1be21c1624f28ca99b390fd9ae1f24a5b83d6"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b", "token_type_hint"=>"refresh_token"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b4402694b36123555a5befd775c1be21c1624f28ca99b390fd9ae1f24a5b83d6' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '9411846caf3ebe8e186f8707a5b6ba280b9776520bc23726d399f807d6e5170b' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c4efdf76b16838cc9444d00254a7ab7ce2ffec6022a152c31cd59a0e7b527c71' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 61"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7bb3985011137809530f3ac344923be5fc46cd1f25c1a39b5bda6ee43f7956c4"], ["uid", "c4efdf76b16838cc9444d00254a7ab7ce2ffec6022a152c31cd59a0e7b527c71"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2a9bccc8f0cce64a938bdf39e4953971a20184c6edcd08e971755e8d94c52270' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '604493c6311c59a0fceb3c5eaf9e3c9a52dff73a1e80f6dcc3524423789705d2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "604493c6311c59a0fceb3c5eaf9e3c9a52dff73a1e80f6dcc3524423789705d2"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "2a9bccc8f0cce64a938bdf39e4953971a20184c6edcd08e971755e8d94c52270"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '78bcf05cb477fd3cb9eb7c5df4cc3b94b842bb5b0579b7e633d1ff1849ba74fe' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 62"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e01707517dd7e5fcae30f131836334e830da1706ace97ef1d00349a59cc76c54"], ["uid", "78bcf05cb477fd3cb9eb7c5df4cc3b94b842bb5b0579b7e633d1ff1849ba74fe"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b6cf951f586838cfc9789b76c2f18c2041fddfc8f043f3ac709a9fd6e72fa14d' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a52d6a326342a8e89f7e5b2c48a1c200febac664a6d2fe28f0dc598df4e69098' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a52d6a326342a8e89f7e5b2c48a1c200febac664a6d2fe28f0dc598df4e69098"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "b6cf951f586838cfc9789b76c2f18c2041fddfc8f043f3ac709a9fd6e72fa14d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"2a9bccc8f0cce64a938bdf39e4953971a20184c6edcd08e971755e8d94c52270"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b6cf951f586838cfc9789b76c2f18c2041fddfc8f043f3ac709a9fd6e72fa14d' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2a9bccc8f0cce64a938bdf39e4953971a20184c6edcd08e971755e8d94c52270' LIMIT 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '604493c6311c59a0fceb3c5eaf9e3c9a52dff73a1e80f6dcc3524423789705d2' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'acf62157928d4bf5109131614fe8f84fe47a3bdf4e4fab964542e9247a37ed95' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 63"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6d9c9134fa05bba0fc0bea5a8baaf2f751b207fc86e7e3fed64eaaea0b93d0a1"], ["uid", "acf62157928d4bf5109131614fe8f84fe47a3bdf4e4fab964542e9247a37ed95"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bce287a03a184dd1b7832180c66f37155fde1ffe525f6694196666ba0934ce82' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '27566dbd6f23ec8804f456334e907acbcd453c60d811246559b9ae44cea06249' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "27566dbd6f23ec8804f456334e907acbcd453c60d811246559b9ae44cea06249"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "bce287a03a184dd1b7832180c66f37155fde1ffe525f6694196666ba0934ce82"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke?token=bce287a03a184dd1b7832180c66f37155fde1ffe525f6694196666ba0934ce82" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"bce287a03a184dd1b7832180c66f37155fde1ffe525f6694196666ba0934ce82"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bce287a03a184dd1b7832180c66f37155fde1ffe525f6694196666ba0934ce82' LIMIT 1
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '27566dbd6f23ec8804f456334e907acbcd453c60d811246559b9ae44cea06249' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6b888be848e598c8574e5f3ad53bbe33ee1ed079830d4b3d5a82b2b747075d36' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 64"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "40af38e0cf878e8c2e661fde232cb690d5f32d498483d8dd96e479f36d2a3906"], ["uid", "6b888be848e598c8574e5f3ad53bbe33ee1ed079830d4b3d5a82b2b747075d36"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '182883823564a12cbdd3e66a8c426571b8423bfc04d91c5f1cc31fea2f1314de' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '67efc90bfffaab5f98c390f4f6b0b8d0fb8279f21c458a4ec8d975340232ffdc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "67efc90bfffaab5f98c390f4f6b0b8d0fb8279f21c458a4ec8d975340232ffdc"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "182883823564a12cbdd3e66a8c426571b8423bfc04d91c5f1cc31fea2f1314de"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"182883823564a12cbdd3e66a8c426571b8423bfc04d91c5f1cc31fea2f1314de"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '182883823564a12cbdd3e66a8c426571b8423bfc04d91c5f1cc31fea2f1314de' LIMIT 1
  CACHE (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '182883823564a12cbdd3e66a8c426571b8423bfc04d91c5f1cc31fea2f1314de' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '67efc90bfffaab5f98c390f4f6b0b8d0fb8279f21c458a4ec8d975340232ffdc' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '04466d7ecfd18ad9f4a7f9aee5eff379a08ea75f0b2c1e26f132add0d4a6ccb2' LIMIT 1
  SQL (0.6ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 65"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "de29d575bf06d3f27ba49beb87900e355f1a0b849d281022b89524aed8cf0e09"], ["uid", "04466d7ecfd18ad9f4a7f9aee5eff379a08ea75f0b2c1e26f132add0d4a6ccb2"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Matheo"], ["password", "pareto"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '05bef1c844bf3da33e58938ead3243e1b8344c4f9d36c93fcb6e11fd29a22c47' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6dc251cefde5620f36703743db2356ce3c3dac67afadf59ca9ea88b1430c0fc7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "6dc251cefde5620f36703743db2356ce3c3dac67afadf59ca9ea88b1430c0fc7"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "05bef1c844bf3da33e58938ead3243e1b8344c4f9d36c93fcb6e11fd29a22c47"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '66ab0d134a6dce046422041537386222fcbd8b140779411f05d45dabd0cccc93' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'bc4e75ce96f8c6461dca5c9d92f3fcedcc2ed608d718855769614fa05727c0d5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "bc4e75ce96f8c6461dca5c9d92f3fcedcc2ed608d718855769614fa05727c0d5"], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "66ab0d134a6dce046422041537386222fcbd8b140779411f05d45dabd0cccc93"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"05bef1c844bf3da33e58938ead3243e1b8344c4f9d36c93fcb6e11fd29a22c47"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '66ab0d134a6dce046422041537386222fcbd8b140779411f05d45dabd0cccc93' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '05bef1c844bf3da33e58938ead3243e1b8344c4f9d36c93fcb6e11fd29a22c47' LIMIT 1
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
  Doorkeeper::AccessToken Load (0.0ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 2]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '6dc251cefde5620f36703743db2356ce3c3dac67afadf59ca9ea88b1430c0fc7' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7e60eafcabebeb9f6fc5de9f5fb561a7002693a823deb984c4f75cd85482cf6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 66"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d20c3ab46bef4414f6d44acc09dea8ea86137e0ceecd347367fcba4dd7fbaf9f"], ["uid", "f7e60eafcabebeb9f6fc5de9f5fb561a7002693a823deb984c4f75cd85482cf6"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "John"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c2bd9958229508a5b484c26f171f1aa2722cc81e44a4991a257dcd6252190923' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a6416c839d8f1f4f8712d483b91832ac4bdf50d664bc65555dbb642c642c5489' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a6416c839d8f1f4f8712d483b91832ac4bdf50d664bc65555dbb642c642c5489"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "c2bd9958229508a5b484c26f171f1aa2722cc81e44a4991a257dcd6252190923"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/revoke" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#revoke as HTML
  Parameters: {"token"=>"I_AM_AN_INVALIDE_TOKEN"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c2bd9958229508a5b484c26f171f1aa2722cc81e44a4991a257dcd6252190923' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'I_AM_AN_INVALIDE_TOKEN' LIMIT 1
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '51898046307f5a8c46e2f3688dbec657f0da504db0b84919693463af9a1a27e0' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 67"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "abebbe41dc45c180acd6ce027122cae4e628f5d9269cd4b6bc9f0ba2aeae84cd"], ["uid", "51898046307f5a8c46e2f3688dbec657f0da504db0b84919693463af9a1a27e0"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1125b5d19ee3302cf034048a4fb52f50c19c5cdc5bf3516fcbdb3888ed4490ae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "1125b5d19ee3302cf034048a4fb52f50c19c5cdc5bf3516fcbdb3888ed4490ae"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/metal.json?access_token=1125b5d19ee3302cf034048a4fb52f50c19c5cdc5bf3516fcbdb3888ed4490ae" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1125b5d19ee3302cf034048a4fb52f50c19c5cdc5bf3516fcbdb3888ed4490ae' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9deb49a680f1dd169bece509d17bb6d1b9fae5a2d16d642e636b160ff62093e4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "68aefa93a76e1acd10922929e6679a4c9ed043f6f83ae51bdc21f4ea5167ecbd"], ["uid", "9deb49a680f1dd169bece509d17bb6d1b9fae5a2d16d642e636b160ff62093e4"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e6d38a2d104352930a09a5d3d906ca0870d08f67d01d26ef15e17e296cd17ae0' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "e6d38a2d104352930a09a5d3d906ca0870d08f67d01d26ef15e17e296cd17ae0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.3ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (1.8ms)
Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fecb6f46003dfd55f1870960b02843c08821f0f81cd8b6a8bc1b61e699380e1f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1835d38d21d78bb1ad166667fedd7e3bea693157d4837dee4f7b0e80d7eb23e6"], ["uid", "fecb6f46003dfd55f1870960b02843c08821f0f81cd8b6a8bc1b61e699380e1f"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'cad62f326a00b3018cedfceeff6836bab3286b06d3952344b0a42cb0e5ff7d2f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "cad62f326a00b3018cedfceeff6836bab3286b06d3952344b0a42cb0e5ff7d2f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f90f1f1fabf65aaee5880a3bd33f6ec5c04232c283094065b047d11cb7bd4403' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Another Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9b537f7bd402cd9fbc2941db33a6b5c1494bb0ced426d2d6908799224c1465d9"], ["uid", "f90f1f1fabf65aaee5880a3bd33f6ec5c04232c283094065b047d11cb7bd4403"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '21d8ee0bee8396fce5d620a09166a06d320e4f6ebf206bc7b19a8a6198169e84' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", nil], ["token", "21d8ee0bee8396fce5d620a09166a06d320e4f6ebf206bc7b19a8a6198169e84"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9e72fb88112f63564179afe3ac92582d723a0303a52ed5335900d23afbfaa9a1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Amazing Client App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "02f6d6b64ed0bd095c2eb815776f9fdecf8e795b4b4242f7aae36fe838ccff93"], ["uid", "9e72fb88112f63564179afe3ac92582d723a0303a52ed5335900d23afbfaa9a1"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c20e99b9ed790d6f0c2b9d63863e360bac72e771b58f4cd123810e96aa7f9ef8' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "c20e99b9ed790d6f0c2b9d63863e360bac72e771b58f4cd123810e96aa7f9ef8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.3ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (1.0ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms)
Started DELETE "/oauth/authorized_applications/1" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"1"}
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
Redirected to http://www.example.com/oauth/authorized_applications
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '323b1102400c56039dbc7fd778e9f95917ff9ffccb758b5e93287f8483280753' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 68"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "344b32ddd475a2cb6106878b416bf1853d9a064d16a5c371d0a7953d36f09c07"], ["uid", "323b1102400c56039dbc7fd778e9f95917ff9ffccb758b5e93287f8483280753"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '08c8f35d4efd0f196696f384483e54709e27d8eae3e03275f2cf9c9f540e436c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 26], ["revoked_at", nil], ["scopes", "public write"], ["token", "08c8f35d4efd0f196696f384483e54709e27d8eae3e03275f2cf9c9f540e436c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=invalid&client_id=323b1102400c56039dbc7fd778e9f95917ff9ffccb758b5e93287f8483280753&client_secret=344b32ddd475a2cb6106878b416bf1853d9a064d16a5c371d0a7953d36f09c07&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"invalid", "client_id"=>"323b1102400c56039dbc7fd778e9f95917ff9ffccb758b5e93287f8483280753", "client_secret"=>"344b32ddd475a2cb6106878b416bf1853d9a064d16a5c371d0a7953d36f09c07", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'invalid' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '323b1102400c56039dbc7fd778e9f95917ff9ffccb758b5e93287f8483280753' AND "oauth_applications"."secret" = '344b32ddd475a2cb6106878b416bf1853d9a064d16a5c371d0a7953d36f09c07' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 69"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d"], ["uid", "e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", "public write"], ["token", "6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc&client_id=e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559&client_secret=a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc", "client_id"=>"e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559", "client_secret"=>"a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559' AND "oauth_applications"."secret" = 'a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd8bab67c694c7cecb01cfadd181d545a2898a6a6c3f73be07ffbeb1b96bcc755' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 27], ["revoked_at", nil], ["scopes", "public write"], ["token", "d8bab67c694c7cecb01cfadd181d545a2898a6a6c3f73be07ffbeb1b96bcc755"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 7ms (ActiveRecord: 0.8ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code=6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc&client_id=e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559&client_secret=a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc", "client_id"=>"e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559", "client_secret"=>"a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6027b469a1db816a2cc35bac0821436fc53990d5b91bf4ef23481ccf9365d7fc' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e08e5712e06ecdbbff51d514084d05c062f21e2957f41e48b98c9d4aa0904559' AND "oauth_applications"."secret" = 'a697ed79db758643fe4062886c2c1ac6d386718a891ea390c903f1ea2050c24d' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '53df07a16e0d2afd037f81d14fc5018500ed5d68aaccee5e008e90c8f5e861de' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 70"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "19a7727978d8a3e2af5f85f075a6dd41acaf1ffdc0c7dee5c53007b7b18c8b60"], ["uid", "53df07a16e0d2afd037f81d14fc5018500ed5d68aaccee5e008e90c8f5e861de"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2224e6c18d0b588b7d32ea889c444bb5d388c9e9b54553f23bbe8b1420baf7fb' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b50ae05566ec9f1d7be044fcb7d5e8bdf52f8fec09e17976baa1e1f21d84115a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 71"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "33eed45eced98a59c3c084a6bc0c48407d632630a03d2ac9254a823f7ac03f4d"], ["uid", "b50ae05566ec9f1d7be044fcb7d5e8bdf52f8fec09e17976baa1e1f21d84115a"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a2ce8ac4c80c83edac69f90d97c3475397617b6866b95fd079c6f3e874c887c1' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9817d2f8e123fd031aedbaa761fae80dca92cd0cd798d68840a27413b7c0abc8' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 72"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d6b5f9c317a739f275b5a86a94aee074cbe1cca04c6e246009a38feaeca3c447"], ["uid", "9817d2f8e123fd031aedbaa761fae80dca92cd0cd798d68840a27413b7c0abc8"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c9b4f5ce2ee59362944fc48437f76525c2ce8db30efe0468cedb2f4e6a30658e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "c9b4f5ce2ee59362944fc48437f76525c2ce8db30efe0468cedb2f4e6a30658e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '054b6ee5eaffc54480b4430fa824dd118e7e12805a89d12b4b03da3e256e575e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 73"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "36d89b5b20892bcd3d62961304a8d5c415a6643c41c679a8579195b1eef3f5a9"], ["uid", "054b6ee5eaffc54480b4430fa824dd118e7e12805a89d12b4b03da3e256e575e"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '532aabb4385f3771256267edbf78dcbbb4783051320b902e68a6e48666d569f4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "532aabb4385f3771256267edbf78dcbbb4783051320b902e68a6e48666d569f4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd3e0468565b7d1b921689ee90164da3d98901090481e792095f43ee6488384ae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 74"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4f071ef9a693ad01d22f1b8c0a012ef44b73a8ce9e0f7ddf51dc7e1ba8453e46"], ["uid", "d3e0468565b7d1b921689ee90164da3d98901090481e792095f43ee6488384ae"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a54644fc5eef8deba481c96bf7ffa9524dc0771bbce8f41ef6072c936e1a26b1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "a54644fc5eef8deba481c96bf7ffa9524dc0771bbce8f41ef6072c936e1a26b1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ae1d02cd66a2c76d0bc2790c742ec81d2609f8d0e2f6932c2159af1fdc0aa1f0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 75"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7ce7ae85f92e4e9ea92994a451376452c51406edf6a1683792e69ec197faffdb"], ["uid", "ae1d02cd66a2c76d0bc2790c742ec81d2609f8d0e2f6932c2159af1fdc0aa1f0"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '39c573a2b4fbd6fd80b0ce3210571678e9d60d829442ef0c16e86b0f6c434913' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "39c573a2b4fbd6fd80b0ce3210571678e9d60d829442ef0c16e86b0f6c434913"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3789547fa456e9f458eeaf3a992eff7c050074d230c72b3d409969ed88829fc7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 76"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "58474f93a24fdad7f93c1d15841df9a9c28411fae98a6b8baba908c8758c41fb"], ["uid", "3789547fa456e9f458eeaf3a992eff7c050074d230c72b3d409969ed88829fc7"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '81524cedb5af1777ccbda55579806ee5d47b68fd9cda9bba54519c5744015619' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "81524cedb5af1777ccbda55579806ee5d47b68fd9cda9bba54519c5744015619"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '904ae3816932d2fd47ef01a8ae42e154719ceb5132ef8411de56c0065e7016a9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "904ae3816932d2fd47ef01a8ae42e154719ceb5132ef8411de56c0065e7016a9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6780d2fbf9b50fdb7fffdf66143c4de85f552943abb70c88769184c386d4c53e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 77"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "eeaea53c18e2015a6e2c157e3fc39484489819dcbf6316b74d07c4387ae01fc1"], ["uid", "6780d2fbf9b50fdb7fffdf66143c4de85f552943abb70c88769184c386d4c53e"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd72a69a8c650db1da6850123ba8a8d988e7b46788260c7f7607a14819d8689a2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "d72a69a8c650db1da6850123ba8a8d988e7b46788260c7f7607a14819d8689a2"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e00c990e8a4947ce513df9447436ac6ee96fe5b6d6894d1700059a9f7a54870b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 42], ["revoked_at", nil], ["scopes", nil], ["token", "e00c990e8a4947ce513df9447436ac6ee96fe5b6d6894d1700059a9f7a54870b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2a7b670d2e99d29b9f2d8778ddb99674481846b4e5b3e719b0c767f3ee4ee985' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 78"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ac46364b9353cd69d15cb07a904fb8c8ebec3054ca244fc8b77df33e794b66c7"], ["uid", "2a7b670d2e99d29b9f2d8778ddb99674481846b4e5b3e719b0c767f3ee4ee985"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c64e26787f608e426386cb540c65efc747c1ad9046a7542d1ab21fe397c3c812' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '661276bdd0e7dafd497f02629e1c536ba8f3d96d7e62425d95c831f32b0ea7a2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "661276bdd0e7dafd497f02629e1c536ba8f3d96d7e62425d95c831f32b0ea7a2"], ["resource_owner_id", 17], ["revoked_at", nil], ["scopes", nil], ["token", "c64e26787f608e426386cb540c65efc747c1ad9046a7542d1ab21fe397c3c812"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5b60b8fd98b89f7af1a5183af57bb852f19ece40f8a9a71a6629a84abbe67aba' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 79"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dacae0e25d77c3c012c508a374dfa518615da0b5fbd43e8c1984e592d98169b1"], ["uid", "5b60b8fd98b89f7af1a5183af57bb852f19ece40f8a9a71a6629a84abbe67aba"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6083f83b5baab3991413db5313f9cce220174f3a3fe974c1eb57023fee33aa2e' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'aa74f9ef1d7b8abf959d4ef3b5117b4deb978a1f0ed4842cbb0d44d1dc381247' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "aa74f9ef1d7b8abf959d4ef3b5117b4deb978a1f0ed4842cbb0d44d1dc381247"], ["resource_owner_id", 18], ["revoked_at", nil], ["scopes", nil], ["token", "6083f83b5baab3991413db5313f9cce220174f3a3fe974c1eb57023fee33aa2e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.0ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ab2be3f8368e2a4952ffe01e3d21adee49364c8f2d81697c18b854046699ccee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 80"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1b8ddd7f2fbda5347856c9ebd3a1779f21bda1fa8a70c1adfe7a7afd956709ab"], ["uid", "ab2be3f8368e2a4952ffe01e3d21adee49364c8f2d81697c18b854046699ccee"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f377fb2d2329a2bb4d50f1fc3738a261d6abd1acf2200e92b7d4359cbb73a7e3' LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'be557fda3a898cc4219d048f4b0af0130e78479444e623c5d3742b3746546add' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "be557fda3a898cc4219d048f4b0af0130e78479444e623c5d3742b3746546add"], ["resource_owner_id", 19], ["revoked_at", nil], ["scopes", nil], ["token", "f377fb2d2329a2bb4d50f1fc3738a261d6abd1acf2200e92b7d4359cbb73a7e3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = 'f377fb2d2329a2bb4d50f1fc3738a261d6abd1acf2200e92b7d4359cbb73a7e3' AND "oauth_access_tokens"."id" != 2) LIMIT 1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."refresh_token" = 'aa74f9ef1d7b8abf959d4ef3b5117b4deb978a1f0ed4842cbb0d44d1dc381247' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f2e6b92520406f737b87cdc3af3da2d843d6f2fea3e64384d5245bd1925ba80c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 81"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "506502ff07e83cc383e6bc6324dc649a07181abecdcf6b7b9dce13191e888847"], ["uid", "f2e6b92520406f737b87cdc3af3da2d843d6f2fea3e64384d5245bd1925ba80c"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '59920fb5c4f8b460b3fe857e66b646d1413ac1f45cde6d5efad86aa4cc35b35e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 20], ["revoked_at", nil], ["scopes", nil], ["token", "59920fb5c4f8b460b3fe857e66b646d1413ac1f45cde6d5efad86aa4cc35b35e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65cb39f31f57cc3a0203356933486bd7684c3f1eca0ff35910fc6246c18cc407' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 82"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4b2b4466207336eaaa5b0e4940b85fb22d7ce419cc67fe41e5d39abd0faefeff"], ["uid", "65cb39f31f57cc3a0203356933486bd7684c3f1eca0ff35910fc6246c18cc407"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6a8b7215874c992e9169b8b472b4e8ed011b77f4fa73e72981ebcd46c7b7ada2' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = 'a5cac83015269a39c5132ed026a550bb3ed8fd5a0a4a6bfe95e9128b84c68aa0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "a5cac83015269a39c5132ed026a550bb3ed8fd5a0a4a6bfe95e9128b84c68aa0"], ["resource_owner_id", 21], ["revoked_at", nil], ["scopes", nil], ["token", "6a8b7215874c992e9169b8b472b4e8ed011b77f4fa73e72981ebcd46c7b7ada2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4b9163c16c532e6fadd6c0863ea6bd5a6cd4a500ec522dba732a0e43226cdf87' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 83"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b394d621e1556679ab4cc2055a24886a1dd351fdf94529bfd5a17bb73aae35e5"], ["uid", "4b9163c16c532e6fadd6c0863ea6bd5a6cd4a500ec522dba732a0e43226cdf87"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c927feeeef29f202e900cb85c6fce3b53b0ad81f206d8745054fc4c2d7acdb8c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '2d8bf6d2dfcfd48964f6e771960983e447114e77f14d458ce73c13bbf10ac0fc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "2d8bf6d2dfcfd48964f6e771960983e447114e77f14d458ce73c13bbf10ac0fc"], ["resource_owner_id", 22], ["revoked_at", nil], ["scopes", nil], ["token", "c927feeeef29f202e900cb85c6fce3b53b0ad81f206d8745054fc4c2d7acdb8c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5a892c4a204df17b685a3efdb457493f6336b0d28605f6b052f876ec0a314e58' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 84"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "07df0266f3e773b0c8475daa48cb0565b1ffa8b9436ff2156b929cb79f240432"], ["uid", "5a892c4a204df17b685a3efdb457493f6336b0d28605f6b052f876ec0a314e58"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7faa9639d5066fa069822322303d49f48ad5089c78055a4bdbde273351995f5c' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 23], ["revoked_at", nil], ["scopes", nil], ["token", "7faa9639d5066fa069822322303d49f48ad5089c78055a4bdbde273351995f5c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'df0da74c225f6aa54f1ed3c555a522290b345fc7abd118b08ebd0223c6263bfd' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 85"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "bbe4584eab6fa4910376b4cfedee105b64b7356e17542154de64a5978634bf7e"], ["uid", "df0da74c225f6aa54f1ed3c555a522290b345fc7abd118b08ebd0223c6263bfd"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fc07b016d51cc34ebac25187f3baa9125b510376202430f8c30267bd5a66c0ac' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 24], ["revoked_at", nil], ["scopes", nil], ["token", "fc07b016d51cc34ebac25187f3baa9125b510376202430f8c30267bd5a66c0ac"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a5138773af36aaf8b53081ab720a462c1ef5ed4df0b619cd956d5853f0a6d053' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 86"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dff4c421151537121be8627812e80a2dae927682574a6c9a8c94838e5bba4e14"], ["uid", "a5138773af36aaf8b53081ab720a462c1ef5ed4df0b619cd956d5853f0a6d053"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'df063579915beecde7a54bd5f0a6acf791809aab29a004df994286b2a660e944' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "df063579915beecde7a54bd5f0a6acf791809aab29a004df994286b2a660e944"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "revoked_at" = '2015-03-10 17:54:20' WHERE "oauth_access_tokens"."id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bfbe792b0717e679f44d6381da468070579f69fde7c9fe0a266fb14b97740bae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 87"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "777ef7ba12da3920c284eba696b610f76b410cb32e77ce92f1b8b3d554cdbd4a"], ["uid", "bfbe792b0717e679f44d6381da468070579f69fde7c9fe0a266fb14b97740bae"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ad099117e6947fd97bab938b0c3d353ba9768db84c3fcb4ad9251c7cc175c3c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 88"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c95c4dc865a46788d84723b4e4e6ea2010f9ad653576955e11c4a0b8d5d1e0d7"], ["uid", "7ad099117e6947fd97bab938b0c3d353ba9768db84c3fcb4ad9251c7cc175c3c"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3082679187a8cfe56ddb7c7a035580faa222c4c66c225c5b219dbc78b0508a4b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", nil], ["token", "3082679187a8cfe56ddb7c7a035580faa222c4c66c225c5b219dbc78b0508a4b"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6796e370751330a3129ecb1c59e409974383517c7f6adab353ca6a76922f9083' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 89"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d6c4bfd3a985e9cd991cb3904b887c594fdd0d06d4b3338760b40b78731d07fb"], ["uid", "6796e370751330a3129ecb1c59e409974383517c7f6adab353ca6a76922f9083"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '15e21cd1274bfd9f41b8cc110554f5f497e77b87ed494af5fe0d7d6f4722bbcb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 90], ["revoked_at", nil], ["scopes", nil], ["token", "15e21cd1274bfd9f41b8cc110554f5f497e77b87ed494af5fe0d7d6f4722bbcb"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a115a9d4a23637e0a699ed4ba324ac5c3c6e6ac3ac22fca4c14f1183f89a8b7b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 90"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1054824aa10cc05f74f5c39d0f3898672478809430812b709778734daf0495a3"], ["uid", "a115a9d4a23637e0a699ed4ba324ac5c3c6e6ac3ac22fca4c14f1183f89a8b7b"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3a9b21a9543c1d180a35e0455f3b543c2c49e7938bd8934cf79e1857003861db' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 91"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1b3bc4d2b39b01426544f0a3579cb2d9d850116e206ebf758999efb3d6ae9573"], ["uid", "3a9b21a9543c1d180a35e0455f3b543c2c49e7938bd8934cf79e1857003861db"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2cdb632b9e547e3b2a2ce6f7375943fd98d4e69aa630d10f4d61dacc18426391' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 92"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3bc1b2637067e2eb3375ca8a69032762d635e60dd47fecebb8a3c8d8ab0fca11"], ["uid", "2cdb632b9e547e3b2a2ce6f7375943fd98d4e69aa630d10f4d61dacc18426391"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '03c89fb3f8dca5448b98d046368b6129d217b7a9b2f484b4edd3b0926bc47062' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9a8617375625901d1e637727466fa879e44dc98acc418e55d0507954fc2452c9' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 93"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "66ddd7e061a21ba4c48b0f5c0c7180cc38c068fb8cb1e6a3346f17c6cadef95f"], ["uid", "9a8617375625901d1e637727466fa879e44dc98acc418e55d0507954fc2452c9"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '718dd69dc7b0cd6bc157f6ded9c93d02a386796359d12c2857d2569dc5bb758e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", nil], ["token", "718dd69dc7b0cd6bc157f6ded9c93d02a386796359d12c2857d2569dc5bb758e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de3d02979d163122b68266cef9e6ea5a16d65de14120cb373db12c86bf8219c5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 94"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dde9f2a3c12c3d22f973e66087f76b6c6b4a8ee1462ee00f96a93d1ae0cbd4ae"], ["uid", "de3d02979d163122b68266cef9e6ea5a16d65de14120cb373db12c86bf8219c5"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e73c5ee352b1915e7990baa4f1df3f0d3c2414c98c7a47daa32f8f43d2779e9f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", nil], ["token", "e73c5ee352b1915e7990baa4f1df3f0d3c2414c98c7a47daa32f8f43d2779e9f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE ("oauth_access_tokens"."token" = '718dd69dc7b0cd6bc157f6ded9c93d02a386796359d12c2857d2569dc5bb758e' AND "oauth_access_tokens"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8c3c37255bf45c10b4112056499b3550acf8a4592663833f1e5562b71f39fc5b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 95"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1d6a7f731f84abc394959723bea2827b5b8c5429b471cd457b2535da00fbe66a"], ["uid", "8c3c37255bf45c10b4112056499b3550acf8a4592663833f1e5562b71f39fc5b"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b9311cbb8a9986ece900725d116ffd50389624c47b88074e158a187f2be7fa1d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", nil], ["token", "b9311cbb8a9986ece900725d116ffd50389624c47b88074e158a187f2be7fa1d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '891d931d5a83fe6e32bbf3184c1248e9406bc7ffb22807d85e36c69b4f6bfc2f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 96"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b82b36332f8d6617b30870f2955d96bb21b63fab8a47ce30a2374ac1e72a9ffc"], ["uid", "891d931d5a83fe6e32bbf3184c1248e9406bc7ffb22807d85e36c69b4f6bfc2f"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '3b95f3e17a96b74d46f16d515cd74ec1e338f5c5d07607a0ed7feba4dea1bf47' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", nil], ["token", "3b95f3e17a96b74d46f16d515cd74ec1e338f5c5d07607a0ed7feba4dea1bf47"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  UPDATE "oauth_access_tokens" SET "token" = 'b9311cbb8a9986ece900725d116ffd50389624c47b88074e158a187f2be7fa1d' WHERE "oauth_access_tokens"."id" = 2
SQLite3::ConstraintException: UNIQUE constraint failed: oauth_access_tokens.token: UPDATE "oauth_access_tokens" SET "token" = 'b9311cbb8a9986ece900725d116ffd50389624c47b88074e158a187f2be7fa1d' WHERE "oauth_access_tokens"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '76208abea02d5114e489317bbeeac5baeca3c55521f339873deb80c6b3bcb9c6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 97"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "462cf8ce2972658afbbff9556b76c4b1e4314f2176c80b73a0b6a5374cf5a88b"], ["uid", "76208abea02d5114e489317bbeeac5baeca3c55521f339873deb80c6b3bcb9c6"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c19dad4b1deafb8b5842bd50cbf94f1589175e40a6929f5daa6fa3183ff9be04' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", Mon, 09 Mar 2015 17:54:20 UTC +00:00], ["scopes", "public write"], ["token", "c19dad4b1deafb8b5842bd50cbf94f1589175e40a6929f5daa6fa3183ff9be04"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '103b5949ca8e7762864aa0f637c358ebcd36968e7feb125c99b1cc49621c84bd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 98"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "388791d226ba7945e3ed17fc4dd502c41df3fcca027c475aab0cad98710e4b0b"], ["uid", "103b5949ca8e7762864aa0f637c358ebcd36968e7feb125c99b1cc49621c84bd"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f7dd588a2ff67e335116d3cd3bf3eeacba7bf3cff5d1b8816f417f32cf6d8ea2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 2], ["revoked_at", nil], ["scopes", "public write"], ["token", "f7dd588a2ff67e335116d3cd3bf3eeacba7bf3cff5d1b8816f417f32cf6d8ea2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'b889a26a697d26331ca231d7c34ff3a1de1e75b299c3bdb06c5d3dfa9f6618f1' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 99"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dbbbdda2e65c5bba3612e76c991d10d4f74b49e616cfe4cdc76a5b2fbe8b6121"], ["uid", "b889a26a697d26331ca231d7c34ff3a1de1e75b299c3bdb06c5d3dfa9f6618f1"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '067adcf205d3b552621f0ac4182e4e9684e98bb1e6e0e107deae89786dd8ed79' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "067adcf205d3b552621f0ac4182e4e9684e98bb1e6e0e107deae89786dd8ed79"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e0c9fb0579528ba79ed8e8939a752041e15eb77b2539dd722b91e1c3e5495f3f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 100"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c26e84051118079f1fa90d91da57ac2dcd22bab0bd5bf341b76e437ee836d551"], ["uid", "e0c9fb0579528ba79ed8e8939a752041e15eb77b2539dd722b91e1c3e5495f3f"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e9fa95eb6b5b517d25502ad565f656c8a7adcee63efcef217639976d03500083' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public email"], ["token", "e9fa95eb6b5b517d25502ad565f656c8a7adcee63efcef217639976d03500083"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4b14e33e812385dda632bce3b264638079d9e944dce62a7cbc1582ed3a5df136' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 101"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2b46a2e36ad30632d9a6e69095caae2fdb7ae103a312eade685f712b9994ce5e"], ["uid", "4b14e33e812385dda632bce3b264638079d9e944dce62a7cbc1582ed3a5df136"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ebcd74971f3bc8715b74e19d83d63d08384203deeb07e5f2b26e24b20b48da46' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "public write"], ["token", "ebcd74971f3bc8715b74e19d83d63d08384203deeb07e5f2b26e24b20b48da46"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" IS NULL AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'e191e8c06cc9aca7c48906955652f05d09990d211c7727a316e659ffa5cb6487' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 102"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7601c26032870edffaf45b5248283a93f2fe131d0b795f98ad76be965bc956f9"], ["uid", "e191e8c06cc9aca7c48906955652f05d09990d211c7727a316e659ffa5cb6487"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bc9d3e558c9765bb4341e6e00697b9f014bfbd69df45eeba483571f061fcae11' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Mon, 09 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "bc9d3e558c9765bb4341e6e00697b9f014bfbd69df45eeba483571f061fcae11"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'be29466890459fd3335e50d1b85012af083609395066988724271ac369d7425e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "be29466890459fd3335e50d1b85012af083609395066988724271ac369d7425e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4704a65efb27d2828445b526aa0114a59043717ac2856e4a0942616b8ad4fe63' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 103"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7a4a17418c56d0511f5392e2596228bb14f0aa989550dfeb9f8a025c2c371c4c"], ["uid", "4704a65efb27d2828445b526aa0114a59043717ac2856e4a0942616b8ad4fe63"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '515c5e32a5712388e763db977c5da3f9b951d9a113b34b310fe09d3d88e6c8ce' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 104"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cf1335e3373335645f0415113883fd99f9da07179ddd0f18577b900eb32e3d3a"], ["uid", "515c5e32a5712388e763db977c5da3f9b951d9a113b34b310fe09d3d88e6c8ce"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8855bb0b139778abe77621801c58979eb6fdf313a406e2b88930348ecd8dad98' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "8855bb0b139778abe77621801c58979eb6fdf313a406e2b88930348ecd8dad98"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '78dc94051ada3731490463901e36fc6b6cedc61438fb970fc1735be5e91d40bc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 105"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9ad23a767c6735437062058db7aeb97a9b8422e2767ac9f52ed46e52cf29c383"], ["uid", "78dc94051ada3731490463901e36fc6b6cedc61438fb970fc1735be5e91d40bc"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2aa635aafde0ad9b323fcf574d1f2b57d3077f5b0bdfa3a15cc9bb4538ceb181' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "2aa635aafde0ad9b323fcf574d1f2b57d3077f5b0bdfa3a15cc9bb4538ceb181"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2cd11214ae11b39d47f4476219a6af3aa5e8b43ee78526bb79a9512d6204ac16' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 106"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "da72919c8d4b92907ef2a534a2c15cbed1fc0addbf5a5bde8fbcaa4cd732b7cb"], ["uid", "2cd11214ae11b39d47f4476219a6af3aa5e8b43ee78526bb79a9512d6204ac16"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5ad5e88d811df2dc08e366f1e86c6f1242962822eda7f1bd1aba02c112fbcb53' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 100], ["revoked_at", nil], ["scopes", "public write"], ["token", "5ad5e88d811df2dc08e366f1e86c6f1242962822eda7f1bd1aba02c112fbcb53"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 100 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Started POST "/oauth/token" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a43ffd6751b2aeb94dddbb2d90e7c4f0877b4e0554450524ac61498217286088' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 107"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c4fb6337dabfac6c3e3913d91f8036b0ca25f330248eb549c44e60862d07d513"], ["uid", "a43ffd6751b2aeb94dddbb2d90e7c4f0877b4e0554450524ac61498217286088"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a43ffd6751b2aeb94dddbb2d90e7c4f0877b4e0554450524ac61498217286088' AND "oauth_applications"."secret" = 'c4fb6337dabfac6c3e3913d91f8036b0ca25f330248eb549c44e60862d07d513' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd869c892a90da0574d32750f0f90a0b950f2b66f344950d5b75b4f9621685d15' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "d869c892a90da0574d32750f0f90a0b950f2b66f344950d5b75b4f9621685d15"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '71f7ff09e70900dc3bf319cb83415a02859d346b4aada53eeccc80cc620a8449' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 108"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "af446a3523aa709b438fc32c5caee7d49bc108b0c0d0b72c04e4d1068bf3f807"], ["uid", "71f7ff09e70900dc3bf319cb83415a02859d346b4aada53eeccc80cc620a8449"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '71f7ff09e70900dc3bf319cb83415a02859d346b4aada53eeccc80cc620a8449' AND "oauth_applications"."secret" = 'af446a3523aa709b438fc32c5caee7d49bc108b0c0d0b72c04e4d1068bf3f807' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '93461f2738008f640275cc1537ef36d12ddae0a6b9e14de4776193c7434067f4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", "write"], ["token", "93461f2738008f640275cc1537ef36d12ddae0a6b9e14de4776193c7434067f4"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (7.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '413e1aef0afc53e75cda5a221b7aec59742b90b23e54f95f1a3384185caf88f3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Just another oauth app"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "928b7e8aabd1af456e9ddcec31bb9008aa5f38b67004d5e5f34990af587590a9"], ["uid", "413e1aef0afc53e75cda5a221b7aec59742b90b23e54f95f1a3384185caf88f3"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 109"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3a029e25e522f924b2c5051ace290b1f47b96ecd16c70c7da8457dccd89c9486"], ["uid", "cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'cea92db2d6bd6906c6560336f009f93ec6c595aacf8fd7e1f00fbac2f5da35b2' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2f3880982553ff4b0236f288c59707a1a40a23101548daab5619f278bf6c1334' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "2f3880982553ff4b0236f288c59707a1a40a23101548daab5619f278bf6c1334"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=2f3880982553ff4b0236f288c59707a1a40a23101548daab5619f278bf6c1334&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by HomeController#callback as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '71fc0459119453fb3bd6febce4eee8662920f55b5ce4fcb3995632d9a2fe1abd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 110"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2a740faf44f61e4aad6c1c913d89bbb6e74a2e5a7813a1c4bf6d3bec0b81990d"], ["uid", "71fc0459119453fb3bd6febce4eee8662920f55b5ce4fcb3995632d9a2fe1abd"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>nil, "client_secret"=>nil, "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'eabaccc5a4c95a7135569e3ab77c7fe959ae120bf4be54f8426505df5f4254f5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", nil], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "eabaccc5a4c95a7135569e3ab77c7fe959ae120bf4be54f8426505df5f4254f5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd780ee1770eb92c49e7c23ec7b7d84d8ee8e7a824b4f0a155bec30e1a07262c9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 111"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1a3c22d76589cc9b184a4126b509e54fbf707b27ee1bf856b7e0ec69b15cb2e7"], ["uid", "d780ee1770eb92c49e7c23ec7b7d84d8ee8e7a824b4f0a155bec30e1a07262c9"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=d780ee1770eb92c49e7c23ec7b7d84d8ee8e7a824b4f0a155bec30e1a07262c9&client_secret=1a3c22d76589cc9b184a4126b509e54fbf707b27ee1bf856b7e0ec69b15cb2e7&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"d780ee1770eb92c49e7c23ec7b7d84d8ee8e7a824b4f0a155bec30e1a07262c9", "client_secret"=>"1a3c22d76589cc9b184a4126b509e54fbf707b27ee1bf856b7e0ec69b15cb2e7", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd780ee1770eb92c49e7c23ec7b7d84d8ee8e7a824b4f0a155bec30e1a07262c9' AND "oauth_applications"."secret" = '1a3c22d76589cc9b184a4126b509e54fbf707b27ee1bf856b7e0ec69b15cb2e7' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a38d17101bad417f5e64a5bf58d96e20bd53a68e8a643fe826d308801af8ba5c' LIMIT 1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."refresh_token" = '8a37a41d65bb7198f7d798205c6181353ca99554a13a02f6e1637f7fe976e586' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", "8a37a41d65bb7198f7d798205c6181353ca99554a13a02f6e1637f7fe976e586"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "a38d17101bad417f5e64a5bf58d96e20bd53a68e8a643fe826d308801af8ba5c"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '904cd4f46dbe81cf2d4bcbd8b9f801b5ac6209e99ed980f43ccd7b21ae080028' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 112"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "264e0df99b96a32586ea368370b6e368d7fcc9b088f2ea048ce5bbc520de3356"], ["uid", "904cd4f46dbe81cf2d4bcbd8b9f801b5ac6209e99ed980f43ccd7b21ae080028"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=904cd4f46dbe81cf2d4bcbd8b9f801b5ac6209e99ed980f43ccd7b21ae080028&client_secret=264e0df99b96a32586ea368370b6e368d7fcc9b088f2ea048ce5bbc520de3356&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"904cd4f46dbe81cf2d4bcbd8b9f801b5ac6209e99ed980f43ccd7b21ae080028", "client_secret"=>"264e0df99b96a32586ea368370b6e368d7fcc9b088f2ea048ce5bbc520de3356", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '904cd4f46dbe81cf2d4bcbd8b9f801b5ac6209e99ed980f43ccd7b21ae080028' AND "oauth_applications"."secret" = '264e0df99b96a32586ea368370b6e368d7fcc9b088f2ea048ce5bbc520de3356' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '645a724cce137c139019841a7f062286785b314447b08b80d2fa06e93dae592f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "645a724cce137c139019841a7f062286785b314447b08b80d2fa06e93dae592f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a81834e1ecaee1369b5094e1226f689755473c1d5c0a4da522b8e535886b262' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 113"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8cbed7e01b5155f20f4998bbd62f7f6ad046103b2b6dd2fd51848de104b906ab"], ["uid", "8a81834e1ecaee1369b5094e1226f689755473c1d5c0a4da522b8e535886b262"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '548b238f776fb301314d82ec0496f729fb4558963bcc021655e9eeea69acdc3b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "548b238f776fb301314d82ec0496f729fb4558963bcc021655e9eeea69acdc3b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code&client_id=8a81834e1ecaee1369b5094e1226f689755473c1d5c0a4da522b8e535886b262&client_secret=8cbed7e01b5155f20f4998bbd62f7f6ad046103b2b6dd2fd51848de104b906ab&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"8a81834e1ecaee1369b5094e1226f689755473c1d5c0a4da522b8e535886b262", "client_secret"=>"8cbed7e01b5155f20f4998bbd62f7f6ad046103b2b6dd2fd51848de104b906ab", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a81834e1ecaee1369b5094e1226f689755473c1d5c0a4da522b8e535886b262' AND "oauth_applications"."secret" = '8cbed7e01b5155f20f4998bbd62f7f6ad046103b2b6dd2fd51848de104b906ab' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd3749f1b5c493d85710edda619b2f45b998582d515949971645805b27b345c56' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 114"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2acb7b8fa9c645220aa1a2cafbc1f96b554afe000cf3a2987b443e3303729145"], ["uid", "d3749f1b5c493d85710edda619b2f45b998582d515949971645805b27b345c56"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=d3749f1b5c493d85710edda619b2f45b998582d515949971645805b27b345c56&client_secret=2acb7b8fa9c645220aa1a2cafbc1f96b554afe000cf3a2987b443e3303729145&username&password&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"d3749f1b5c493d85710edda619b2f45b998582d515949971645805b27b345c56", "client_secret"=>"2acb7b8fa9c645220aa1a2cafbc1f96b554afe000cf3a2987b443e3303729145", "username"=>nil, "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" IS NULL AND "users"."password" IS NULL LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd3749f1b5c493d85710edda619b2f45b998582d515949971645805b27b345c56' AND "oauth_applications"."secret" = '2acb7b8fa9c645220aa1a2cafbc1f96b554afe000cf3a2987b443e3303729145' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4dbefcc1039fa1d09d17d459300ed945800362fda90638da5bc30f3e65a12eee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 115"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "baf2cdee18e0cc14a214508b900563922bbdef55ddb027b673794118dc037522"], ["uid", "4dbefcc1039fa1d09d17d459300ed945800362fda90638da5bc30f3e65a12eee"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=4dbefcc1039fa1d09d17d459300ed945800362fda90638da5bc30f3e65a12eee&client_secret=baf2cdee18e0cc14a214508b900563922bbdef55ddb027b673794118dc037522&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"4dbefcc1039fa1d09d17d459300ed945800362fda90638da5bc30f3e65a12eee", "client_secret"=>"baf2cdee18e0cc14a214508b900563922bbdef55ddb027b673794118dc037522", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'wrongpassword' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4dbefcc1039fa1d09d17d459300ed945800362fda90638da5bc30f3e65a12eee' AND "oauth_applications"."secret" = 'baf2cdee18e0cc14a214508b900563922bbdef55ddb027b673794118dc037522' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de26a99f634a54b20ad69a40092a3d991c4ed092edc885a36ce4066af3c1d60e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 116"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9ddadb3af20c053dcc6345c89c229ab5258e74b01317c12be0ab14e694b2e752"], ["uid", "de26a99f634a54b20ad69a40092a3d991c4ed092edc885a36ce4066af3c1d60e"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
Started POST "/oauth/token?code&client_id=de26a99f634a54b20ad69a40092a3d991c4ed092edc885a36ce4066af3c1d60e&client_secret=bad_secret&username=Joe&password=[FILTERED]&grant_type=password" for 127.0.0.1 at 2015-03-10 13:54:20 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>nil, "client_id"=>"de26a99f634a54b20ad69a40092a3d991c4ed092edc885a36ce4066af3c1d60e", "client_secret"=>"bad_secret", "username"=>"Joe", "password"=>"[FILTERED]", "grant_type"=>"password"}
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."name" = 'Joe' AND "users"."password" = 'sekret' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de26a99f634a54b20ad69a40092a3d991c4ed092edc885a36ce4066af3c1d60e' AND "oauth_applications"."secret" = 'bad_secret' LIMIT 1
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '16b55671ec1f135bdb4e85f4f9b72ee30ea94f3138df57fdfbf92e60c3258337' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 117"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "641bd42527826e8a3b324cb92ddbb2b1b2281cbb36f317366c0a78a714a1cc1f"], ["uid", "16b55671ec1f135bdb4e85f4f9b72ee30ea94f3138df57fdfbf92e60c3258337"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" IS NULL AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5655886a2f58313e2a85436ae0400ab9d94d9cf5f87763767f8e4241dcbc0f11' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 118"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b2189419e3d7a35e039b108d3b8c7824a718b591ab022242f03a35f7696971f8"], ["uid", "5655886a2f58313e2a85436ae0400ab9d94d9cf5f87763767f8e4241dcbc0f11"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '270fde95fff22a7becd14d122470fb4c6e58900865efa2f3d14e639179954a0f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 119"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "02152ed13be4dfeff9fadfc46f95c04f73f824f0e91985ae64118536ef16b459"], ["uid", "270fde95fff22a7becd14d122470fb4c6e58900865efa2f3d14e639179954a0f"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '5655886a2f58313e2a85436ae0400ab9d94d9cf5f87763767f8e4241dcbc0f11' AND "oauth_applications"."id" != 2) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '409b3be7b13da8cf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 120"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "48e788b4e6fd750d93b8e5636a2441d30531f7929ef4cdd72a4e02dde829dabf"], ["uid", "409b3be7b13da8cf"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6e16ad385e14a155c65afbef059927d9f28fdc3791c30be65f4d26eac74eff67' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 121"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c6943fa68a1bd85d669a837cb4ad1e87d2bb5fc90a311f0fe99f11735cfa4b75"], ["uid", "6e16ad385e14a155c65afbef059927d9f28fdc3791c30be65f4d26eac74eff67"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0d19973c8d46d9c4b6f2da4729a34437011e080d355a6bcafdae71f8c64bfd4a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 122"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d063f3c4b4b3f7362c9557c2203de8d4e0e3b88aa06f1060b66600a4d15b947d"], ["uid", "0d19973c8d46d9c4b6f2da4729a34437011e080d355a6bcafdae71f8c64bfd4a"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  UPDATE "oauth_applications" SET "uid" = '6e16ad385e14a155c65afbef059927d9f28fdc3791c30be65f4d26eac74eff67', "updated_at" = '2015-03-10 17:54:20.879924' WHERE "oauth_applications"."id" = 2
SQLite3::ConstraintException: UNIQUE constraint failed: oauth_applications.uid: UPDATE "oauth_applications" SET "uid" = '6e16ad385e14a155c65afbef059927d9f28fdc3791c30be65f4d26eac74eff67', "updated_at" = '2015-03-10 17:54:20.879924' WHERE "oauth_applications"."id" = 2
   (0.0ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ca19846d8a15d03350312cbe98aa989aedcbe4a1f901d4e835568a9fb297b10e' LIMIT 1
  SQL (9.0ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 123"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6ab5bca63fe527a56ff7f9f708df4db5ad32e08cd6f6bcb6b51a3f1dc2e67479"], ["uid", "ca19846d8a15d03350312cbe98aa989aedcbe4a1f901d4e835568a9fb297b10e"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '85001f2c63b104ca7ec9884bce94cf73b9382d824117f0935677593d58ac8354' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9e4f239f947a6e9fa39537c5a1b4d915b48c9aca2f7846c567d474f61bfeba2b' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 125"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ca1ed2a691c2c1efb6216f6dc46c98577a5e75a2d312b91b2b11dbc00b4ba27a"], ["uid", "9e4f239f947a6e9fa39537c5a1b4d915b48c9aca2f7846c567d474f61bfeba2b"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '9e4f239f947a6e9fa39537c5a1b4d915b48c9aca2f7846c567d474f61bfeba2b' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '48532ec8e689d6ae1f41305231803ca8f7d3cb93167631fcae20d76d73947a9f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 126"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "54c8915b74192469d14d6224df63af3115475099f8269f39b4a32e11e6b82e56"], ["uid", "48532ec8e689d6ae1f41305231803ca8f7d3cb93167631fcae20d76d73947a9f"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '130bd4c282cb7a5514af24251a6c167dcd4ed26164566e5b84554ff7e1625831' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 127"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "60b5e04d1e7f0e99"], ["uid", "130bd4c282cb7a5514af24251a6c167dcd4ed26164566e5b84554ff7e1625831"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '124a57bf8ebaee66480ebbe4fc485411e424d81c9d9f7bd96c4a1527d787c814' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 128"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8949d00dd2bd03feb8d6ecffc1bd967d091b2bb5f32c956ffd2e05ffd0ce7924"], ["uid", "124a57bf8ebaee66480ebbe4fc485411e424d81c9d9f7bd96c4a1527d787c814"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '124a57bf8ebaee66480ebbe4fc485411e424d81c9d9f7bd96c4a1527d787c814' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '002bd09585578c13d7d06c0022c56f3a57a7f6cb5058064990f10bcd3bbd0756' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 129"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c29388ec7054ecb927f75055191f0ef93cf655ef51e91a6ad145135c02bedc57"], ["uid", "002bd09585578c13d7d06c0022c56f3a57a7f6cb5058064990f10bcd3bbd0756"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1b1c201a7d2fb572ec94ae39312d6741e5ddf8c4b48e68eb0f876ce19b8af822' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", nil], ["token", "1b1c201a7d2fb572ec94ae39312d6741e5ddf8c4b48e68eb0f876ce19b8af822"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'db8005190420983d5d8969d18c40749008195db9187554e8ec418aaad58290a6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 33], ["revoked_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["scopes", nil], ["token", "db8005190420983d5d8969d18c40749008195db9187554e8ec418aaad58290a6"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 1]]
  SQL (0.0ms)  DELETE FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."id" = ?  [["id", 2]]
  SQL (0.1ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a382d1141719d50111ef6b439fcd711f1906156d680fae8ea390ccb705aff63d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 130"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b02d411a12edc87ec8aaca7f6c89c84c719583f0b1c25e93b7b654a918046364"], ["uid", "a382d1141719d50111ef6b439fcd711f1906156d680fae8ea390ccb705aff63d"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '987b78401dfdfe3fd8f13e292d64f9553efb2610869605b86b1f97e438c175a2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 28], ["revoked_at", nil], ["scopes", "public write"], ["token", "987b78401dfdfe3fd8f13e292d64f9553efb2610869605b86b1f97e438c175a2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  SQL (0.1ms)  DELETE FROM "oauth_access_grants" WHERE "oauth_access_grants"."id" = ?  [["id", 1]]
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '803dac432074ac70cb254ed909fd419bdadf8559c30ac242d11b332b1516cdd3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 131"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "aad702e8ea360ded8d77d7a27db41d046697559d2169ced553425a89ec91d6a5"], ["uid", "803dac432074ac70cb254ed909fd419bdadf8559c30ac242d11b332b1516cdd3"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'fe11f59f73de26b92b2758fc11214c1b4935fac5e1de0ebefa992d01424736bc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", Sun, 08 Mar 2015 17:54:20 UTC +00:00], ["scopes", nil], ["token", "fe11f59f73de26b92b2758fc11214c1b4935fac5e1de0ebefa992d01424736bc"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
WARNING: Can't mass-assign protected attributes: uid, secret
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'be088bc4b2374c13db9bbefce78a150e5130bd7a40f69b90cc9a6d90f33d3aa1' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Something"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://somewhere.com/something"], ["secret", "1475764b5ec2e0c05a13c6bd09d8e1a688650b5d8e7798988f8efafa415cfc5c"], ["uid", "be088bc4b2374c13db9bbefce78a150e5130bd7a40f69b90cc9a6d90f33d3aa1"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'eaba573ecebd1ada629cc230d0c4ab5d1919f2b3bdaac4e3a5cd72e787277afe' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 132"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "de2dcab0660a0bc1186db027492c862f2128437727ab61dcd0d2b47ac469e2a0"], ["uid", "eaba573ecebd1ada629cc230d0c4ab5d1919f2b3bdaac4e3a5cd72e787277afe"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2e7499cc91525a715861c37dd113a878157de64f2c013a703957135fce58e6d4' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "2e7499cc91525a715861c37dd113a878157de64f2c013a703957135fce58e6d4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'df842f678b87a46468d4299c420bf3a093e297b2590ec9fe40517ad539c7eee1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 133"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9a4ff19f290014288c076b3568749a35d5a3c652ff16edd08fdf48d80ad94974"], ["uid", "df842f678b87a46468d4299c420bf3a093e297b2590ec9fe40517ad539c7eee1"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '4405d08395fc5bf528a96a658aa28041056b5ee7c3c9fb71472a6b7b8e45b1a3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "4405d08395fc5bf528a96a658aa28041056b5ee7c3c9fb71472a6b7b8e45b1a3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '190d0415f764bdc542d026ad3e603b416fbfc45505df413058bacda7ca11e9cb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 134"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "161af37237433a532173a80642b0735b47222936a59cd65692e41ae95bb62e84"], ["uid", "190d0415f764bdc542d026ad3e603b416fbfc45505df413058bacda7ca11e9cb"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '38484f08a75520d10671cdb2d3282c7d0572b3da1c8d21ac29fa5e43472de7ca' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 11], ["revoked_at", nil], ["scopes", nil], ["token", "38484f08a75520d10671cdb2d3282c7d0572b3da1c8d21ac29fa5e43472de7ca"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de911174679fd23d6a9cf79bbc3e3ef8560ad67f673e8afa5fb753767e2b0d9d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 135"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cfa619606cced16ee62f32da25a1798e758b41b3135f6e29a6748e3a89e4dccb"], ["uid", "de911174679fd23d6a9cf79bbc3e3ef8560ad67f673e8afa5fb753767e2b0d9d"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ef714df99d84dffd07decfb1a842be699d538436998054bcbb108702e0f38af7' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 2], ["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "ef714df99d84dffd07decfb1a842be699d538436998054bcbb108702e0f38af7"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '29d9fc322ba983fa0648d78d2760a1c721e726f1a0ef41d8543e8a1bb88222dc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00], ["name", "Application 136"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1b5aa7a3d235d88a4e7c9f754b6f13977cebb18c99119976172308a175adc33c"], ["uid", "29d9fc322ba983fa0648d78d2760a1c721e726f1a0ef41d8543e8a1bb88222dc"], ["updated_at", Tue, 10 Mar 2015 17:54:20 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8c333c88fc27a5fc7f06c6f0b1de88834b293068fafa126eb5564e803953048f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "8c333c88fc27a5fc7f06c6f0b1de88834b293068fafa126eb5564e803953048f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '61a4a7d2f45758af33db67cd2061e1471e31bac5cf815fc0561a32d5974d18c0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 10], ["revoked_at", nil], ["scopes", nil], ["token", "61a4a7d2f45758af33db67cd2061e1471e31bac5cf815fc0561a32d5974d18c0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) AS count_all, oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type AS oauth_applications_id_oauth_applications_name_oauth_applications_uid_oauth_applications_secret_oauth_applications_redirect_uri_oauth_applications_created_at_oauth_applications_updated_at_oauth_applications_owner_id_oauth_applications_owner_type FROM "oauth_applications" INNER JOIN "oauth_access_tokens" ON "oauth_access_tokens"."application_id" = "oauth_applications"."id" AND "oauth_access_tokens"."revoked_at" IS NULL INNER JOIN "oauth_applications" "authorized_applications_oauth_applications" ON "authorized_applications_oauth_applications"."id" = "oauth_access_tokens"."application_id" WHERE "oauth_access_tokens"."resource_owner_id" = 10 AND "oauth_access_tokens"."revoked_at" IS NULL GROUP BY oauth_applications.id,oauth_applications.name,oauth_applications.uid,oauth_applications.secret,oauth_applications.redirect_uri,oauth_applications.created_at,oauth_applications.updated_at,oauth_applications.owner_id,oauth_applications.owner_type
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'de1327c210dc5c57a5135dda817cb9b308377fcf6c9f418f7552ceb30ceed012' LIMIT 1
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5f6673a2951d353b2f3e4d4b9372eabdef82d4c01596ae0f1eee8c52241fd763' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '519acd71d43701c92afea6ef24929f2f41657c511c770eb3a0033a097e9f4f11' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '97b8879b473cc0b74628fd2ca6b5e58157a4693c9f2be7b06a096e1c94e7b8d6' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 140"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b082f32af75b00b8bf92eddf7a40bef01d21934dc5f99bd9ce5e466e33e46060"], ["uid", "97b8879b473cc0b74628fd2ca6b5e58157a4693c9f2be7b06a096e1c94e7b8d6"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '97b8879b473cc0b74628fd2ca6b5e58157a4693c9f2be7b06a096e1c94e7b8d6' AND "oauth_applications"."secret" = 'b082f32af75b00b8bf92eddf7a40bef01d21934dc5f99bd9ce5e466e33e46060' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46a42a41c92bdbb567ce434e26daf7e98c24728150300fab025f8b46d8e094ae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Example"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "http://example.com"], ["secret", "cc12dfe466bc0ecbef47b55701a5b71a602841969753705f89e2ad707854b46a"], ["uid", "46a42a41c92bdbb567ce434e26daf7e98c24728150300fab025f8b46d8e094ae"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a3e3869d5b6dbc60e32d2b8249a684bf9c8f3967a64a81f5f8c149527e34c7db' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 141"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d89fe14c8899c0b1235c3b18d96c7d4ff5b787bdb4986a129337e4c8340c42b9"], ["uid", "a3e3869d5b6dbc60e32d2b8249a684bf9c8f3967a64a81f5f8c149527e34c7db"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'a3e3869d5b6dbc60e32d2b8249a684bf9c8f3967a64a81f5f8c149527e34c7db' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '9103e50924932c09a6f6f14618345ae42685cf9d6abbe36ccc620cd5ebd6af86' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 142"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d2a1ed25b536151f06a31c9bad160f0f787f2f7a8b04fb7103a73a2175340b9c"], ["uid", "9103e50924932c09a6f6f14618345ae42685cf9d6abbe36ccc620cd5ebd6af86"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::ApplicationsController#update as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}, "id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = '9103e50924932c09a6f6f14618345ae42685cf9d6abbe36ccc620cd5ebd6af86' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "name" = 'Example', "redirect_uri" = 'http://example.com', "updated_at" = '2015-03-10 17:54:21.103093' WHERE "oauth_applications"."id" = 1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/oauth/applications/1
Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
Processing by Doorkeeper::ApplicationsController#create as HTML
  Parameters: {"application"=>{"name"=>"Example", "redirect_uri"=>"http://example.com"}}
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_applications" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
Processing by Doorkeeper::ApplicationsController#index as HTML
Redirected to http://test.host/
Filter chain halted as :authenticate_admin! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.2ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4e61db45a11cf2c2a8d0225ddcd67eeb0e24dc9f64a32d49a3c0c931bca6fac4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 143"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0b0129e227ebf2da75e28cb76a853dbe2091be3396d8c63f0d5ccaa469e000e3"], ["uid", "4e61db45a11cf2c2a8d0225ddcd67eeb0e24dc9f64a32d49a3c0c931bca6fac4"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '03ed3c9c9c2f28fce102a9e5a39aff52c76c99b52b537c202868a78066574c97' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "03ed3c9c9c2f28fce102a9e5a39aff52c76c99b52b537c202868a78066574c97"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'invalid' LIMIT 1
Filter chain halted as #<Proc:0x007fbbb0468de0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7601b79875baac29e848b5f7720d7f0a93f90d893f1802b9a8ac5cfa5a28f343' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 144"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "94f03c120e60ade323ddd7c1388888bf68608ea9adf13d426545d9ffec2ff3b5"], ["uid", "7601b79875baac29e848b5f7720d7f0a93f90d893f1802b9a8ac5cfa5a28f343"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2025df286c5dc2b00f62c60da436e1d28a0e794b7284db15321022815545611e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "2025df286c5dc2b00f62c60da436e1d28a0e794b7284db15321022815545611e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "scopes" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '2025df286c5dc2b00f62c60da436e1d28a0e794b7284db15321022815545611e' LIMIT 1
Filter chain halted as #<Proc:0x007fbbb0473c18@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a277bd6fe431f471801d6a30d102ecf23260b23bab07b847e55ef09b61bcfe1c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 145"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ab645dce120202ddaeb89d364205fdc4fa0fe88297df93f965aca46e25d6a6d6"], ["uid", "a277bd6fe431f471801d6a30d102ecf23260b23bab07b847e55ef09b61bcfe1c"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e08f4e7f02723a8a1f9abc2de86cf10043b935a2f315bbf37f0ac16a06d3ccd0' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "e08f4e7f02723a8a1f9abc2de86cf10043b935a2f315bbf37f0ac16a06d3ccd0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = -100 WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e08f4e7f02723a8a1f9abc2de86cf10043b935a2f315bbf37f0ac16a06d3ccd0' LIMIT 1
Filter chain halted as #<Proc:0x007fbbb0468de0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0fad164ffd27b3326540ba5e79351cc23058a11810943462557931a55c2976c9' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 146"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "592dd6148c603ef02e0dc105ed0ab4c1bec295863d03e1f777e026be744e2153"], ["uid", "0fad164ffd27b3326540ba5e79351cc23058a11810943462557931a55c2976c9"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd50099b660687148a8d766afd8600639ed9a694606573177c6a495b8e2c8d6ad' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "d50099b660687148a8d766afd8600639ed9a694606573177c6a495b8e2c8d6ad"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#index as HTML
Filter chain halted as #<Proc:0x007fbbb0468de0@/Users/sdengler/src/doorkeeper/lib/doorkeeper/helpers/filter.rb:8> rendered or redirected
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '625379ea64c7abe45e3a0f7a34f3b078e5dfea7dae8f372304719017d0fb92fd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 147"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a005bb12fae36710b53b54a15ac6edd59be3f4726850c97b9fc33633d0699817"], ["uid", "625379ea64c7abe45e3a0f7a34f3b078e5dfea7dae8f372304719017d0fb92fd"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5d45b58d505054db483aa91f9bc4cf5735ec5fb674d7ac7f4640535185bac6a5' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "5d45b58d505054db483aa91f9bc4cf5735ec5fb674d7ac7f4640535185bac6a5"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "scopes" = 'admin' WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#show as JSON
  Parameters: {"id"=>"1"}
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5d45b58d505054db483aa91f9bc4cf5735ec5fb674d7ac7f4640535185bac6a5' LIMIT 1
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '65b0202b286e1c171aef2acf230464f931aa3de2f162219af6b22449408adabc' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 148"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b8356789e2fc5e5653eaa758e6fa6cf091f8242bb3b88491b6220e313a65f250"], ["uid", "65b0202b286e1c171aef2acf230464f931aa3de2f162219af6b22449408adabc"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '79c02fbaa866be244150f2eaa3efdd380c3e7940eeeb4515b8a3524e6b0e302e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "79c02fbaa866be244150f2eaa3efdd380c3e7940eeeb4515b8a3524e6b0e302e"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  SQL (0.1ms)  UPDATE "oauth_access_tokens" SET "expires_in" = NULL WHERE "oauth_access_tokens"."id" = 1
Started GET "/full_protected_resources" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '79c02fbaa866be244150f2eaa3efdd380c3e7940eeeb4515b8a3524e6b0e302e' LIMIT 1
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7f038afcfa3db319645681a38a9840e17fe50edbf21b48a2a914cd20024b2c86' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 149"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "9e06b2b4e3ffdc9cf1a65dfa522430e994759888354b58f8e57f80ae6a11211f"], ["uid", "7f038afcfa3db319645681a38a9840e17fe50edbf21b48a2a914cd20024b2c86"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a93f3cc949868138c740bd8dafb2ddb2ec9071e58f0245957bb6cc48bc0c7e6f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", nil], ["token", "a93f3cc949868138c740bd8dafb2ddb2ec9071e58f0245957bb6cc48bc0c7e6f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/full_protected_resources" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by FullProtectedResourcesController#index as HTML
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a93f3cc949868138c740bd8dafb2ddb2ec9071e58f0245957bb6cc48bc0c7e6f' LIMIT 1
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 150"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "79fb2c17cbb1bbaf2e8d66c6b135178f0374c40103d0b5c3b92d73014bb15586"], ["uid", "fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE ("oauth_applications"."uid" = 'fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5' AND "oauth_applications"."id" != 1) LIMIT 1
   (0.1ms)  UPDATE "oauth_applications" SET "redirect_uri" = 'urn:ietf:wg:oauth:2.0:oob', "updated_at" = '2015-03-10 17:54:21.238581' WHERE "oauth_applications"."id" = 1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'fd1da306462da598bc98dab55eeda26d278425e1adb82ff5988084fe20e048d5' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'dbc04949ca2fc9862d968dbf49018bd1cc80b60ab4431908f1bbe99ea9936078' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "urn:ietf:wg:oauth:2.0:oob"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "dbc04949ca2fc9862d968dbf49018bd1cc80b60ab4431908f1bbe99ea9936078"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/authorize/dbc04949ca2fc9862d968dbf49018bd1cc80b60ab4431908f1bbe99ea9936078
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/oauth/authorize/dbc04949ca2fc9862d968dbf49018bd1cc80b60ab4431908f1bbe99ea9936078" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#show as HTML
  Parameters: {"code"=>"dbc04949ca2fc9862d968dbf49018bd1cc80b60ab4431908f1bbe99ea9936078"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 151"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "3587dc2281b5567b80e37cf683ccf02c696acb5da042bad589b0fbcc3778ff80"], ["uid", "7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7ef4679b27704192c0610329863b54534097fc924e164ccdbba0b8fa3f5c1bf2' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '6c0437dc865807a846a96907270bbe4dbfc3f4f5f20066de0321f842e2df896a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "6c0437dc865807a846a96907270bbe4dbfc3f4f5f20066de0321f842e2df896a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=6c0437dc865807a846a96907270bbe4dbfc3f4f5f20066de0321f842e2df896a&state=return-me
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=6c0437dc865807a846a96907270bbe4dbfc3f4f5f20066de0321f842e2df896a&state=return-me" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"6c0437dc865807a846a96907270bbe4dbfc3f4f5f20066de0321f842e2df896a", "state"=>"return-me"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 152"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4b31fa81d81b1ee2d10711200856c5977e9d564431abde1c1f2b880cf574aee8"], ["uid", "c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.5ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c4c386bd1cf6ac04909040f259cfcaec6b8248bd04227d3c1ff50d77d87821f7' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '68ee0f4ba1bceb7ac47c372bbef9c17facc0fefd893bfdef4a17517f0e22efbf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "68ee0f4ba1bceb7ac47c372bbef9c17facc0fefd893bfdef4a17517f0e22efbf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=68ee0f4ba1bceb7ac47c372bbef9c17facc0fefd893bfdef4a17517f0e22efbf
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=68ee0f4ba1bceb7ac47c372bbef9c17facc0fefd893bfdef4a17517f0e22efbf" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"68ee0f4ba1bceb7ac47c372bbef9c17facc0fefd893bfdef4a17517f0e22efbf"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 153"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ee8b9f61fe4683076f1181c22b569c1e852777733d5760eee7735a7a7ff2bf6a"], ["uid", "1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.2ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f&client_id=1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319&client_secret=ee8b9f61fe4683076f1181c22b569c1e852777733d5760eee7735a7a7ff2bf6a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f", "client_id"=>"1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319", "client_secret"=>"ee8b9f61fe4683076f1181c22b569c1e852777733d5760eee7735a7a7ff2bf6a", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'ac83eb4b097b467e0394e87b635543995baf4f4d81e2c5dc4de0b26cabfdc57f' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1d17e6d1349a97cdd579d5ddaa53d46aeb171257c2918bbce1787c1c00e8b319' AND "oauth_applications"."secret" = 'ee8b9f61fe4683076f1181c22b569c1e852777733d5760eee7735a7a7ff2bf6a' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:21' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'a208b48106d6380045131c59b41c6a3a229eaaf62116147c0d2bacfac8f9a388' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "a208b48106d6380045131c59b41c6a3a229eaaf62116147c0d2bacfac8f9a388"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.7ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.2ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 154"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "66dcf1afe9eac4c1bcf31d39166cfadeffe378194d375b48f3d7821b8a367770"], ["uid", "c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c2f36103fa32d23963be3b3d7f7dc9018a993499487eb11cbb90975220643235' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '509363289f83d0e25f2ffd2084bd089a613db0d8f3a39bd71063a4647bf13017' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "write"], ["token", "509363289f83d0e25f2ffd2084bd089a613db0d8f3a39bd71063a4647bf13017"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=509363289f83d0e25f2ffd2084bd089a613db0d8f3a39bd71063a4647bf13017
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=509363289f83d0e25f2ffd2084bd089a613db0d8f3a39bd71063a4647bf13017" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"509363289f83d0e25f2ffd2084bd089a613db0d8f3a39bd71063a4647bf13017"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 155"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "174dc5bf1828c448f4b6ec9ff7455906daef1f31437c405ea9620218d468295c"], ["uid", "af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57&client_id=af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c&client_secret=174dc5bf1828c448f4b6ec9ff7455906daef1f31437c405ea9620218d468295c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57", "client_id"=>"af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c", "client_secret"=>"174dc5bf1828c448f4b6ec9ff7455906daef1f31437c405ea9620218d468295c", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '578bcc2e106f6286204742f387bdb3e2a33943e19392abd9b4a0010c49b34f57' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'af105fbef904f3142545c56e0f85eaddffaa5b7930d9d3e2141101c1162c4d2c' AND "oauth_applications"."secret" = '174dc5bf1828c448f4b6ec9ff7455906daef1f31437c405ea9620218d468295c' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:21' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8adf3963026e22a2e44e4608e28abbade12cba92249da9c1cc2f453a0a3f7a8a' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "8adf3963026e22a2e44e4608e28abbade12cba92249da9c1cc2f453a0a3f7a8a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 156"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "27c54cc8649f8e13eeb97fa387e9865e92da1aaf6d9b94434ceb2bb75fa96eb6"], ["uid", "a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'a61630d4e06a7352037d63aaed9ba578ffbf55560e7cca6fdffbe7506a70b77b' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '914436938a72446a9def7e13c74b80394b02d4945533ae9d94ef1521787e6838' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "914436938a72446a9def7e13c74b80394b02d4945533ae9d94ef1521787e6838"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=914436938a72446a9def7e13c74b80394b02d4945533ae9d94ef1521787e6838
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=914436938a72446a9def7e13c74b80394b02d4945533ae9d94ef1521787e6838" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"914436938a72446a9def7e13c74b80394b02d4945533ae9d94ef1521787e6838"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 157"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "45c816a43dbe6e530c6cbabe19ae9c582f2e5647053c4ab257273f0390f23f55"], ["uid", "8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8a79321a94435ec23507449c4e687cc799e5e2aa6f881554d1a32e9a1db1b399' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '5f840daf9cd21db40483e83043713f6dfe65ed15345bb533cc1dad5f1c5e0fac' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "5f840daf9cd21db40483e83043713f6dfe65ed15345bb533cc1dad5f1c5e0fac"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=5f840daf9cd21db40483e83043713f6dfe65ed15345bb533cc1dad5f1c5e0fac
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
Started GET "/callback?code=5f840daf9cd21db40483e83043713f6dfe65ed15345bb533cc1dad5f1c5e0fac" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"5f840daf9cd21db40483e83043713f6dfe65ed15345bb533cc1dad5f1c5e0fac"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 158"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "86223cd4d41b798fc05b7b32c3bf257ca421d1bbd4c273c4036dfcb4ba5a4cc5"], ["uid", "c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '6d5d6bf71d849ee5122763feeb3c295b1af030de74d2402848a641cf5703ca80' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public write"], ["token", "6d5d6bf71d849ee5122763feeb3c295b1af030de74d2402848a641cf5703ca80"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
Started POST "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 600], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback?code=d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
Started GET "/callback?code=d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"code"=>"d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641"}
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" LIMIT 1
Started POST "/oauth/token?code=d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641&client_id=c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f&client_secret=86223cd4d41b798fc05b7b32c3bf257ca421d1bbd4c273c4036dfcb4ba5a4cc5&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"d4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641", "client_id"=>"c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f", "client_secret"=>"86223cd4d41b798fc05b7b32c3bf257ca421d1bbd4c273c4036dfcb4ba5a4cc5", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd4771fced58ce4f6098b1bd1c5a198872a58ed4302e2fec24ce62b6314614641' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c63d90d928df56ba066280927c9781ada99f5c37ce191f287355cd57e6d2ee6f' AND "oauth_applications"."secret" = '86223cd4d41b798fc05b7b32c3bf257ca421d1bbd4c273c4036dfcb4ba5a4cc5' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:21' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ff1db2a0fd59abf5c68c5c4591559d449a028ffb9f0feeb6222a6c7725d36a76' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", "public"], ["token", "ff1db2a0fd59abf5c68c5c4591559d449a028ffb9f0feeb6222a6c7725d36a76"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 159"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a0b6ad697124486edf8b7c0df6b8666497102a75b479e8c9ddbfd34020f5a88c"], ["uid", "d09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=d09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"d09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"d09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd09be36889a0d489d5dd4102a31275897b73ac1a3e3cb1db86f10ac3c0b26ff4' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 160"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a9c51a59c0503775bbbb1090d491570910c697482d70f0b1d5663be458682434"], ["uid", "3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.4ms)
Started DELETE "/oauth/authorize" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "client_id"=>"3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3c362d1dba585621c006018955f8f42aef6902932e5a27804c34374b7b9c27e7' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#callback as HTML
  Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."}
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ff144e7d66c07cb113ee9c24d6e584b21f50c830973be423e094783863cd0e29' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8f57e87bc702b5edf0afef6db6eed72288d3ae28c484dfe32695d19bce3237fc"], ["uid", "ff144e7d66c07cb113ee9c24d6e584b21f50c830973be423e094783863cd0e29"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/authorize?client_id=ff144e7d66c07cb113ee9c24d6e584b21f50c830973be423e094783863cd0e29&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"ff144e7d66c07cb113ee9c24d6e584b21f50c830973be423e094783863cd0e29", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/sign_in
Filter chain halted as :authenticate_resource_owner! rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '57bf64e2ed1ddca8255f554fa42ea0683e5c4b2ad4b47d7f179ebdcbbfbea3aa' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "057f93ce9da32521979608bbd13e84159ac8b6acc04f3a277e7a477f2a9d6282"], ["uid", "57bf64e2ed1ddca8255f554fa42ea0683e5c4b2ad4b47d7f179ebdcbbfbea3aa"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=57bf64e2ed1ddca8255f554fa42ea0683e5c4b2ad4b47d7f179ebdcbbfbea3aa&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"57bf64e2ed1ddca8255f554fa42ea0683e5c4b2ad4b47d7f179ebdcbbfbea3aa", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '57bf64e2ed1ddca8255f554fa42ea0683e5c4b2ad4b47d7f179ebdcbbfbea3aa' LIMIT 1
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7f5d9414021463d63c871e855f5dd3a571b4cbbc05d0f5b4320d60eb8616e84' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "f7f6834f59a12a7e126d39dbf7c05e3792c1c08af25bccc6d46c0fa26ae22ba8"], ["uid", "f7f5d9414021463d63c871e855f5dd3a571b4cbbc05d0f5b4320d60eb8616e84"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=f7f5d9414021463d63c871e855f5dd3a571b4cbbc05d0f5b4320d60eb8616e84&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"f7f5d9414021463d63c871e855f5dd3a571b4cbbc05d0f5b4320d60eb8616e84", "redirect_uri"=>"https://app.com/callback"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f7f5d9414021463d63c871e855f5dd3a571b4cbbc05d0f5b4320d60eb8616e84' LIMIT 1
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46158a914451f768a005763d324448ab777f4034bfd59304663258a12d1f5f88' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2ab3b53229036e83006c22afb9de1f5af482b3ee72d2b3abe8b24f91540caa12"], ["uid", "46158a914451f768a005763d324448ab777f4034bfd59304663258a12d1f5f88"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=46158a914451f768a005763d324448ab777f4034bfd59304663258a12d1f5f88&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"46158a914451f768a005763d324448ab777f4034bfd59304663258a12d1f5f88", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '46158a914451f768a005763d324448ab777f4034bfd59304663258a12d1f5f88' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8c70b6b1e7784295f5a1797829b6886927868fc0a483a6b10e60f21df6e2f084' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "MyApp"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "138c5ab2cc9c94f113c17466c8b69a81258b69603f31036e92d5ff9357da3008"], ["uid", "8c70b6b1e7784295f5a1797829b6886927868fc0a483a6b10e60f21df6e2f084"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=8c70b6b1e7784295f5a1797829b6886927868fc0a483a6b10e60f21df6e2f084&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"8c70b6b1e7784295f5a1797829b6886927868fc0a483a6b10e60f21df6e2f084", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8c70b6b1e7784295f5a1797829b6886927868fc0a483a6b10e60f21df6e2f084' LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
  CACHE (0.0ms)  SELECT "users".* FROM "users" LIMIT 1
Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'ddb65f88e8572413ea1034a0f4202e23c6294aa4241fa8def1931bb59b17e3e9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Oauth Dude"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "a163d6ee004c0c0c9d0845e33238b6a9237145554f2b5c3dd76c0839d5e9803e"], ["uid", "ddb65f88e8572413ea1034a0f4202e23c6294aa4241fa8def1931bb59b17e3e9"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'daeee4ea9b0b32bc18a1ac22702ca6dda78f322e732a113dc495248ba5d20c86' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Awesome App"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "330dca371b47529cc000edd4e4c155eacc7251e84fe749fe5402e4a569e25bb3"], ["uid", "daeee4ea9b0b32bc18a1ac22702ca6dda78f322e732a113dc495248ba5d20c86"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.8ms)
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.6ms)
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4febe7fa5be8f3a61cbcf5750d8e2a2f09f8d96babcf33016cd062d845f316ec' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 161"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d3a0dcc20598518d40bf3d5de637251d0d6189ed22286a815dda7c869d30bac4"], ["uid", "4febe7fa5be8f3a61cbcf5750d8e2a2f09f8d96babcf33016cd062d845f316ec"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#show as HTML
  Parameters: {"id"=>"1"}
  Doorkeeper::Application Load (0.0ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.3ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '69fe48844c39f4a89fcf0135fa1fcc9306b0a9df6bb12e654da53c4976f4af07' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 162"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0fd69806f4d6ae4874a892b593c28e3f0010d54308b81068f98f7b01d38089ca"], ["uid", "69fe48844c39f4a89fcf0135fa1fcc9306b0a9df6bb12e654da53c4976f4af07"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
  Rendered /Users/sdengler/src/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
Started DELETE "/oauth/applications/1" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
  Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"1"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."application_id" = 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  SQL (0.0ms)  DELETE FROM "oauth_applications" WHERE "oauth_applications"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to http://www.example.com/oauth/applications
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
Started GET "/oauth/applications" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::ApplicationsController#index as HTML
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" 
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4195ff3560741813db2cb59f3a917b17ec827dd3835797d7a20c0e0d0de40bee' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 163"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "395962ccfc1adbdc526e7a876deda6394cc3cfb9bfb99076a4abc2bdd49ebce6"], ["uid", "4195ff3560741813db2cb59f3a917b17ec827dd3835797d7a20c0e0d0de40bee"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8338cbdcfac82ce6c18f126bb3fdbc5e032d976c52ce4b1b62b87274638cccf0' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 164"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0da6d7ecc6ede4b44540ef6dac26682f73652b48338a9d71ba106da6188b1502"], ["uid", "8338cbdcfac82ce6c18f126bb3fdbc5e032d976c52ce4b1b62b87274638cccf0"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=8338cbdcfac82ce6c18f126bb3fdbc5e032d976c52ce4b1b62b87274638cccf0&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"8338cbdcfac82ce6c18f126bb3fdbc5e032d976c52ce4b1b62b87274638cccf0", "redirect_uri"=>"invalid", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8338cbdcfac82ce6c18f126bb3fdbc5e032d976c52ce4b1b62b87274638cccf0' LIMIT 1
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f3b5cc3e58c79b41c18b451f6ca080affb5d2a3f8f26bd4191dca8a4ff76edce' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 165"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b92cdb7289af78f255af85ea441ee71237fa14c23e60fea92f10797f449cca8b"], ["uid", "f3b5cc3e58c79b41c18b451f6ca080affb5d2a3f8f26bd4191dca8a4ff76edce"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'invalid' LIMIT 1
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7438de9323255bf54f8e28f76458b0d5ee0c4693acd0d22007bcfbaaf011f68d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 166"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6b88c2e507fb629259b2e149203eb418696e020d9a61d09cfc4db1cbc3efb45a"], ["uid", "7438de9323255bf54f8e28f76458b0d5ee0c4693acd0d22007bcfbaaf011f68d"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/sign_in" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#sign_in as HTML
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
Redirected to http://www.example.com/
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
Started GET "/" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by HomeController#index as HTML
Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth/authorize?client_id=7438de9323255bf54f8e28f76458b0d5ee0c4693acd0d22007bcfbaaf011f68d&response_type=token" for 127.0.0.1 at 2015-03-10 13:54:21 -0400
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7438de9323255bf54f8e28f76458b0d5ee0c4693acd0d22007bcfbaaf011f68d", "response_type"=>"token"}
  User Load (0.1ms)  SELECT "users".* FROM "users" LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7438de9323255bf54f8e28f76458b0d5ee0c4693acd0d22007bcfbaaf011f68d' LIMIT 1
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8846180fe42f5fc33d4b04c94b8c9f4edb79c0a3239edfa0b0db2904792e85c9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 167"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "7be59f02b88e972d052a12a6aa1f95915f72afe767a62b5b7c716498f3b3693c"], ["uid", "8846180fe42f5fc33d4b04c94b8c9f4edb79c0a3239edfa0b0db2904792e85c9"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8846180fe42f5fc33d4b04c94b8c9f4edb79c0a3239edfa0b0db2904792e85c9' AND "oauth_applications"."secret" = '7be59f02b88e972d052a12a6aa1f95915f72afe767a62b5b7c716498f3b3693c' LIMIT 1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '21faa7b3a148e27397795206756b6f0033d8f5bb87f3a8076ee23ee493804484' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00], ["name", "Application 168"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4ce0b666836e6503b2920791ec56b8c69a3b2e3cbf603f4385c70cba37af2c79"], ["uid", "21faa7b3a148e27397795206756b6f0033d8f5bb87f3a8076ee23ee493804484"], ["updated_at", Tue, 10 Mar 2015 17:54:21 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '53930b481b269a7cdf5b6afeabcd00d5d27d5edb85743ef0ea8af07c1c071255' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "53930b481b269a7cdf5b6afeabcd00d5d27d5edb85743ef0ea8af07c1c071255"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '21faa7b3a148e27397795206756b6f0033d8f5bb87f3a8076ee23ee493804484' AND "oauth_applications"."secret" = '4ce0b666836e6503b2920791ec56b8c69a3b2e3cbf603f4385c70cba37af2c79' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'c6fa384d951ed1426de44d5fd6d2266b165e9c3aaa2d9b59b1281b44655cc703' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "c6fa384d951ed1426de44d5fd6d2266b165e9c3aaa2d9b59b1281b44655cc703"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1751d97a40dddbd264a6c60fb838258bdb01eceacf1dd969b3ad1d5c142b6c8d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 169"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0a4ee4e96e5522ae70a93a108a4128b41ef0b24d19b8269fa6ae7ea07f795d50"], ["uid", "1751d97a40dddbd264a6c60fb838258bdb01eceacf1dd969b3ad1d5c142b6c8d"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1751d97a40dddbd264a6c60fb838258bdb01eceacf1dd969b3ad1d5c142b6c8d' AND "oauth_applications"."secret" = '0a4ee4e96e5522ae70a93a108a4128b41ef0b24d19b8269fa6ae7ea07f795d50' LIMIT 1
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '17f3ba4d09dba308911d934e1107d3d2aebdb54dc633f1b45508880ab685c890' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 170"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cfc7689295d4f7c8326f417296cfbd77b2f9050192d2a1816a575953113989b5"], ["uid", "17f3ba4d09dba308911d934e1107d3d2aebdb54dc633f1b45508880ab685c890"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '17f3ba4d09dba308911d934e1107d3d2aebdb54dc633f1b45508880ab685c890' AND "oauth_applications"."secret" = 'cfc7689295d4f7c8326f417296cfbd77b2f9050192d2a1816a575953113989b5' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'df56454ba508c27d0f4d20348b5d7d3a56b15ee0769816658c420f5ecc14904f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "df56454ba508c27d0f4d20348b5d7d3a56b15ee0769816658c420f5ecc14904f"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '62c0b45b281eef7a0e053e9c747294db9570ce6acac608b00b1c61bb64322337' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 171"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6c666c11fa1ef0dde2cf3e03ee41deb5d6c5ee14586df0ea9157c937b569feb9"], ["uid", "62c0b45b281eef7a0e053e9c747294db9570ce6acac608b00b1c61bb64322337"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8587ca0fb4edbd4aa5a586e71f0e64b28a54031c833630fcebbd3d04f66d636f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", nil], ["token", "8587ca0fb4edbd4aa5a586e71f0e64b28a54031c833630fcebbd3d04f66d636f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '62c0b45b281eef7a0e053e9c747294db9570ce6acac608b00b1c61bb64322337' AND "oauth_applications"."secret" = '6c666c11fa1ef0dde2cf3e03ee41deb5d6c5ee14586df0ea9157c937b569feb9' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 99 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '249bf3352f1e88869fb81e16c81ffba4bce4eb09915317e3ddbfd7747ab03193' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 172"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "395979f6830016bc69b992dd9f459b47fa8516900384973135d62dd03ff2dadf"], ["uid", "249bf3352f1e88869fb81e16c81ffba4bce4eb09915317e3ddbfd7747ab03193"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '249bf3352f1e88869fb81e16c81ffba4bce4eb09915317e3ddbfd7747ab03193' AND "oauth_applications"."secret" = '395979f6830016bc69b992dd9f459b47fa8516900384973135d62dd03ff2dadf' LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '245f4432120571147b67a171dff7e6023381f133835ea0ca3bd79e6a1c48b74c' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 173"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d6b6d56c530865b0cd7a5305d0d92d6e89e3848794aa16f6ca8f3e97d3d05151"], ["uid", "245f4432120571147b67a171dff7e6023381f133835ea0ca3bd79e6a1c48b74c"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '245f4432120571147b67a171dff7e6023381f133835ea0ca3bd79e6a1c48b74c' AND "oauth_applications"."secret" = 'd6b6d56c530865b0cd7a5305d0d92d6e89e3848794aa16f6ca8f3e97d3d05151' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '52a2ac1d54c147e90e0617e9cbcc426d5c0b045f860e39f4f4edcf83d4580b32' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", ""], ["token", "52a2ac1d54c147e90e0617e9cbcc426d5c0b045f860e39f4f4edcf83d4580b32"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '34e27f7e8db185afc5f4e032b5fc3488cf66607b8177463f5e9a96866553bf3f' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 174"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "6923d938353c58aefd0d3d8c2b29ed677312abb4ade451bd8aa52093aaf31c9d"], ["uid", "34e27f7e8db185afc5f4e032b5fc3488cf66607b8177463f5e9a96866553bf3f"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '34e27f7e8db185afc5f4e032b5fc3488cf66607b8177463f5e9a96866553bf3f' AND "oauth_applications"."secret" = '6923d938353c58aefd0d3d8c2b29ed677312abb4ade451bd8aa52093aaf31c9d' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0c87cc26d9ef4900a6dbededcd627471c84c4548dcf354f7b2e4df6b3fa5c488' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 99], ["revoked_at", nil], ["scopes", "public"], ["token", "0c87cc26d9ef4900a6dbededcd627471c84c4548dcf354f7b2e4df6b3fa5c488"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" ORDER BY "oauth_access_tokens"."id" DESC LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6b53ad7fc94bea152e1bd76c2a525e3df430a9dab6e62e907f2ae1aec2ee47e0' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 175"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "71538644bcde992ead584816c664b3e413915c7bf91d20c2a13e693a77ae211b"], ["uid", "6b53ad7fc94bea152e1bd76c2a525e3df430a9dab6e62e907f2ae1aec2ee47e0"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6b53ad7fc94bea152e1bd76c2a525e3df430a9dab6e62e907f2ae1aec2ee47e0' AND "oauth_applications"."secret" = '71538644bcde992ead584816c664b3e413915c7bf91d20c2a13e693a77ae211b' LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '19566bb103c9444ac7faa1d6f6abf6971674e1ed89fc411fe5d06c94d09e662d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 176"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dcffa0c3cd2a318e916c753c1fc0474a11be44eaee570c1e83603c1563b4cdc4"], ["uid", "19566bb103c9444ac7faa1d6f6abf6971674e1ed89fc411fe5d06c94d09e662d"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'b539cd446a2a0b6a2e48224b90ffab108076301e34b1c5b330824fa19d21eccd' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", nil], ["revoked_at", nil], ["scopes", ""], ["token", "b539cd446a2a0b6a2e48224b90ffab108076301e34b1c5b330824fa19d21eccd"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"an_invalid"=>"request"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" IS NULL LIMIT 1
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_grants" 
   (0.0ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aee6b93d63637686ce3c41fbbd538d2fdd61cc0307eb5de7c8c7b446cfb405ec' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 177"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "ffac932712925fa564bc222194729133b567a3ac2db5e483c34fe4a2ce0f4895"], ["uid", "aee6b93d63637686ce3c41fbbd538d2fdd61cc0307eb5de7c8c7b446cfb405ec"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"aee6b93d63637686ce3c41fbbd538d2fdd61cc0307eb5de7c8c7b446cfb405ec", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'aee6b93d63637686ce3c41fbbd538d2fdd61cc0307eb5de7c8c7b446cfb405ec' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '29f298e86bd8b7d3f78f186b5590160285850ba239727593a446a1d5583285c7' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 178"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "95cfb3c318ad3b4b4723b02967c3f4cc522126618543f8a3386cfad65e039643"], ["uid", "29f298e86bd8b7d3f78f186b5590160285850ba239727593a446a1d5583285c7"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"29f298e86bd8b7d3f78f186b5590160285850ba239727593a446a1d5583285c7", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '29f298e86bd8b7d3f78f186b5590160285850ba239727593a446a1d5583285c7' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bdcffe19738c856becd06ff8d3bc681d2a4f721654ade8881298d0fd836f024e' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 179"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0e7dc9ad192dc34c72212c14f3727764ccd5026569bf487b51c7d464eb8af80f"], ["uid", "bdcffe19738c856becd06ff8d3bc681d2a4f721654ade8881298d0fd836f024e"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"bdcffe19738c856becd06ff8d3bc681d2a4f721654ade8881298d0fd836f024e", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.3ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'bdcffe19738c856becd06ff8d3bc681d2a4f721654ade8881298d0fd836f024e' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e2ad3e9d5fd012eca89de07b517a6ad0985b63ccdb95ae5d36b438146909e68' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 180"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b2e3dabe8336506910a4398c4e38fc6574e95be30b9bacc78cf9193dcd36d185"], ["uid", "3e2ad3e9d5fd012eca89de07b517a6ad0985b63ccdb95ae5d36b438146909e68"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"3e2ad3e9d5fd012eca89de07b517a6ad0985b63ccdb95ae5d36b438146909e68", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3e2ad3e9d5fd012eca89de07b517a6ad0985b63ccdb95ae5d36b438146909e68' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2dacc397cc2401c1b1a6d873b6c29e01d38db1c4038fb677e1b9999ddb823930' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 181"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cdb2143d3395ad1a86ac64915d60bf0e608b16d8a5412c37184c84868d433292"], ["uid", "2dacc397cc2401c1b1a6d873b6c29e01d38db1c4038fb677e1b9999ddb823930"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"2dacc397cc2401c1b1a6d873b6c29e01d38db1c4038fb677e1b9999ddb823930", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '2dacc397cc2401c1b1a6d873b6c29e01d38db1c4038fb677e1b9999ddb823930' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e9c8bf64109769df298ace23ae3b696ced4ae864109a5625e9126460ef6f192' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 182"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cd7949709b74634b7b03cdf2f4470c1afaed80c6eb066a7da23a89070029c62e"], ["uid", "7e9c8bf64109769df298ace23ae3b696ced4ae864109a5625e9126460ef6f192"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"7e9c8bf64109769df298ace23ae3b696ced4ae864109a5625e9126460ef6f192", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '7e9c8bf64109769df298ace23ae3b696ced4ae864109a5625e9126460ef6f192' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8f3361cb6898a4c9ba2e302fcd2cbf79ef2512f9c7e6da969e441913115fbb07' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 183"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "b6be18714e35e796ed5363b48da29590f09e3d341391ebcbe53053e792603f90"], ["uid", "8f3361cb6898a4c9ba2e302fcd2cbf79ef2512f9c7e6da969e441913115fbb07"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"8f3361cb6898a4c9ba2e302fcd2cbf79ef2512f9c7e6da969e441913115fbb07", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '8f3361cb6898a4c9ba2e302fcd2cbf79ef2512f9c7e6da969e441913115fbb07' LIMIT 1
Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5e59de1e4a7e1457db2af34bd39b30659db5eecc42acd783633749af3a3fff8e' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 184"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "0f7ba0127e97d697e729f316efa108572d524cf2762183fb9b97cc45caaaa8e5"], ["uid", "5e59de1e4a7e1457db2af34bd39b30659db5eecc42acd783633749af3a3fff8e"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"5e59de1e4a7e1457db2af34bd39b30659db5eecc42acd783633749af3a3fff8e", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5e59de1e4a7e1457db2af34bd39b30659db5eecc42acd783633749af3a3fff8e' LIMIT 1
  Doorkeeper::AccessToken Load (0.2ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'd8fddbfcfaefb519e52d39c14d2127446acd20bdcb1c354f0e5ac0b76c33e347' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "d8fddbfcfaefb519e52d39c14d2127446acd20bdcb1c354f0e5ac0b76c33e347"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=d8fddbfcfaefb519e52d39c14d2127446acd20bdcb1c354f0e5ac0b76c33e347&token_type=bearer&expires_in=7200
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5f401c2726bc6563641e23831871cf04c9c308fcec04d2dc20f1650c6bb2a29b' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 185"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "81fdfc65f10e9fc427480c150f91f59cbd0d47ef5e529624d235aa80d8e270d4"], ["uid", "5f401c2726bc6563641e23831871cf04c9c308fcec04d2dc20f1650c6bb2a29b"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"5f401c2726bc6563641e23831871cf04c9c308fcec04d2dc20f1650c6bb2a29b", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5f401c2726bc6563641e23831871cf04c9c308fcec04d2dc20f1650c6bb2a29b' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ab5099f0b274c5ea1a6dc12550e2e352236b84599ab359aa9d53a100a5b0dfc9' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "ab5099f0b274c5ea1a6dc12550e2e352236b84599ab359aa9d53a100a5b0dfc9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=ab5099f0b274c5ea1a6dc12550e2e352236b84599ab359aa9d53a100a5b0dfc9&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1402511e6827def6bb17942908f89366c8396f8a0d1ed66e1353442158f01fc1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 186"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "96a575e6f0dfd93f7f007458a937d425e50f0ad7e8c6e2879fdaba73b277a2dd"], ["uid", "1402511e6827def6bb17942908f89366c8396f8a0d1ed66e1353442158f01fc1"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"1402511e6827def6bb17942908f89366c8396f8a0d1ed66e1353442158f01fc1", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1402511e6827def6bb17942908f89366c8396f8a0d1ed66e1353442158f01fc1' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'ea0be6870e3dd5cc58ca94037b298292727173b9c6ac1bc5c5c4341850dbee1f' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "ea0be6870e3dd5cc58ca94037b298292727173b9c6ac1bc5c5c4341850dbee1f"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=ea0be6870e3dd5cc58ca94037b298292727173b9c6ac1bc5c5c4341850dbee1f&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.1ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '63917a966a86512461c033ea994c374eff32613c4d1f7397c989e4c7f31184cb' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 187"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "dc5c6b5d1025d49821d58ba238387c10eac98b16ace038c379c5f2c4f6ebfd81"], ["uid", "63917a966a86512461c033ea994c374eff32613c4d1f7397c989e4c7f31184cb"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"63917a966a86512461c033ea994c374eff32613c4d1f7397c989e4c7f31184cb", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '63917a966a86512461c033ea994c374eff32613c4d1f7397c989e4c7f31184cb' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1d752b845f2141f8a74534daba5db751c3606ffb2abd863e08d9ba855aa05a6a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "1d752b845f2141f8a74534daba5db751c3606ffb2abd863e08d9ba855aa05a6a"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=1d752b845f2141f8a74534daba5db751c3606ffb2abd863e08d9ba855aa05a6a&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
   (0.1ms)  SELECT COUNT(*) FROM "oauth_access_tokens" 
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4db8e7a3614bc1edd3fc52a534b8f8c1ce25caf3b7a03a3be37f772f2336ea90' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 188"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "606341d7b21acda0fa79e58c22d5c1f6c30c0a7e0bb42a8457ba5bfab888fddf"], ["uid", "4db8e7a3614bc1edd3fc52a534b8f8c1ce25caf3b7a03a3be37f772f2336ea90"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"4db8e7a3614bc1edd3fc52a534b8f8c1ce25caf3b7a03a3be37f772f2336ea90", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '4db8e7a3614bc1edd3fc52a534b8f8c1ce25caf3b7a03a3be37f772f2336ea90' LIMIT 1
  Doorkeeper::AccessToken Load (0.3ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '89d970241405d0226f51be4e02eda176d6c596afbdf0b73769f0efd74f7226b2' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "89d970241405d0226f51be4e02eda176d6c596afbdf0b73769f0efd74f7226b2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=89d970241405d0226f51be4e02eda176d6c596afbdf0b73769f0efd74f7226b2&token_type=bearer&expires_in=7200
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '787f86a6ff0b51d59cc3038cc24d82eb46ec1d55bd0786013dda37e7277dc465' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 189"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "03ee772196df19b41d7c3061536323fe35ee4148372f11ace6ed6090e3cbc109"], ["uid", "787f86a6ff0b51d59cc3038cc24d82eb46ec1d55bd0786013dda37e7277dc465"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"787f86a6ff0b51d59cc3038cc24d82eb46ec1d55bd0786013dda37e7277dc465", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '787f86a6ff0b51d59cc3038cc24d82eb46ec1d55bd0786013dda37e7277dc465' LIMIT 1
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = 1 AND "oauth_access_tokens"."resource_owner_id" = 1 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '7afdbe1a89055e142b8feb0353ac0a40c23f01ca02b59e69d9df90abbc10d1b4' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "7afdbe1a89055e142b8feb0353ac0a40c23f01ca02b59e69d9df90abbc10d1b4"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=7afdbe1a89055e142b8feb0353ac0a40c23f01ca02b59e69d9df90abbc10d1b4&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '03adf3646c4801c16e373e646a6944fdeeb0cceb8065ce0166d9cbff9d8e2729' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 190"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "c07e540d6f3e1830bbe76a513ee179be327cf280d7382c5f751b2a1c4cb67555"], ["uid", "03adf3646c4801c16e373e646a6944fdeeb0cceb8065ce0166d9cbff9d8e2729"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"03adf3646c4801c16e373e646a6944fdeeb0cceb8065ce0166d9cbff9d8e2729", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '03adf3646c4801c16e373e646a6944fdeeb0cceb8065ce0166d9cbff9d8e2729' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'cb24e2eb3f9996c0fa1abdbfb0f04573294971d71a63c6b29d0c101ef51dce6d' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "cb24e2eb3f9996c0fa1abdbfb0f04573294971d71a63c6b29d0c101ef51dce6d"]]
   (0.4ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=cb24e2eb3f9996c0fa1abdbfb0f04573294971d71a63c6b29d0c101ef51dce6d&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '493466667e697c0510a3652a2db04172e200758ca17fbdb5c9e9f280e6669c27' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 191"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2f8c4b2387dc50ef554c33e4a102ab90a3f4665c43a2ee68cf0737051d98ba9a"], ["uid", "493466667e697c0510a3652a2db04172e200758ca17fbdb5c9e9f280e6669c27"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"493466667e697c0510a3652a2db04172e200758ca17fbdb5c9e9f280e6669c27", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '493466667e697c0510a3652a2db04172e200758ca17fbdb5c9e9f280e6669c27' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'afd34554a5d77ca955434005c586208af8b230ff892df12537f152f70821eda9' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "afd34554a5d77ca955434005c586208af8b230ff892df12537f152f70821eda9"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=afd34554a5d77ca955434005c586208af8b230ff892df12537f152f70821eda9&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6ec6881fcd812a79a556639d756dcbe623beb764dab7c8147ade5ea0e667a91a' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 192"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2e72bb69c1f15491f08cfd2c0a3342a40ba62a179d0ed898d2fa7ac634e89229"], ["uid", "6ec6881fcd812a79a556639d756dcbe623beb764dab7c8147ade5ea0e667a91a"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"6ec6881fcd812a79a556639d756dcbe623beb764dab7c8147ade5ea0e667a91a", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '6ec6881fcd812a79a556639d756dcbe623beb764dab7c8147ade5ea0e667a91a' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '5043e9938f37bebb924d507aa0fe7f05867246dc90de9ff1b7422d2bd4f3edbd' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "5043e9938f37bebb924d507aa0fe7f05867246dc90de9ff1b7422d2bd4f3edbd"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=5043e9938f37bebb924d507aa0fe7f05867246dc90de9ff1b7422d2bd4f3edbd&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1dab3fa199fde51bff01c0792632c92b2dc1154ecbf517506a15dc14b732b2ae' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 193"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "94aae6a6599052b693ab8d74bfeaecd3e46e38d9e28faf2fa9c54252139078e1"], ["uid", "1dab3fa199fde51bff01c0792632c92b2dc1154ecbf517506a15dc14b732b2ae"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"1dab3fa199fde51bff01c0792632c92b2dc1154ecbf517506a15dc14b732b2ae", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '1dab3fa199fde51bff01c0792632c92b2dc1154ecbf517506a15dc14b732b2ae' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f107ae1d03e8afd086e4584126a3f492eda5af02955b1c35c021385fd23180c1' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "f107ae1d03e8afd086e4584126a3f492eda5af02955b1c35c021385fd23180c1"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=f107ae1d03e8afd086e4584126a3f492eda5af02955b1c35c021385fd23180c1&token_type=bearer&expires_in=7200
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.3ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '22f5e5305e1c9c662d7afbec7bdbf56a6f2d12bc3958366ee04f18105e7a3987' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 194"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "d5c5f40973e91573877d93077d35b4f705f0527331c4ea3637527424de2790d8"], ["uid", "22f5e5305e1c9c662d7afbec7bdbf56a6f2d12bc3958366ee04f18105e7a3987"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"22f5e5305e1c9c662d7afbec7bdbf56a6f2d12bc3958366ee04f18105e7a3987", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '22f5e5305e1c9c662d7afbec7bdbf56a6f2d12bc3958366ee04f18105e7a3987' LIMIT 1
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f5d9cbf073bd7ef41ef883a28bb9bbf235e2d1f94adbe0a7e604c0b1856fb48d' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "f5d9cbf073bd7ef41ef883a28bb9bbf235e2d1f94adbe0a7e604c0b1856fb48d"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=f5d9cbf073bd7ef41ef883a28bb9bbf235e2d1f94adbe0a7e604c0b1856fb48d&token_type=bearer&expires_in=7200
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (1.4ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd5a85df19cdc7da978336f4f706fb62a2256e79eec2f1d0d7c53e9652ddc8e05' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 195"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "cbf5d362fb1749d24d6ce851265101329c3c040e138bc7840ea5307e629d8dcb"], ["uid", "d5a85df19cdc7da978336f4f706fb62a2256e79eec2f1d0d7c53e9652ddc8e05"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"d5a85df19cdc7da978336f4f706fb62a2256e79eec2f1d0d7c53e9652ddc8e05", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'd5a85df19cdc7da978336f4f706fb62a2256e79eec2f1d0d7c53e9652ddc8e05' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'bfa922e254596849ae30ac35ead5ab659acd4aa9b2b0d0c47da0dab567959db2' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "bfa922e254596849ae30ac35ead5ab659acd4aa9b2b0d0c47da0dab567959db2"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=bfa922e254596849ae30ac35ead5ab659acd4aa9b2b0d0c47da0dab567959db2&token_type=bearer&expires_in=7200
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.2ms)  INSERT INTO "users" ("created_at", "name", "password", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Joe"], ["password", "sekret"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '55a4ac56eb3f49e84c75aaa6a08a1bc9dba662a55b3b8af08a8d02736e599dae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 196"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "8c201e42b9309c249f00be5f00f6bf4cbd104fb60bb2de3fdbb1e847e36c8ddf"], ["uid", "55a4ac56eb3f49e84c75aaa6a08a1bc9dba662a55b3b8af08a8d02736e599dae"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Processing by Doorkeeper::AuthorizationsController#create as HTML
  Parameters: {"client_id"=>"55a4ac56eb3f49e84c75aaa6a08a1bc9dba662a55b3b8af08a8d02736e599dae", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"}
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '55a4ac56eb3f49e84c75aaa6a08a1bc9dba662a55b3b8af08a8d02736e599dae' LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'e8f16128dc49c0bc3ad1a8a9e3b97601fa1f58cda45cb24491694df0236931cf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 1], ["revoked_at", nil], ["scopes", ""], ["token", "e8f16128dc49c0bc3ad1a8a9e3b97601fa1f58cda45cb24491694df0236931cf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Redirected to https://app.com/callback#access_token=e8f16128dc49c0bc3ad1a8a9e3b97601fa1f58cda45cb24491694df0236931cf&token_type=bearer&expires_in=7200
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c1222b642bb7318297080c021060dffed2990b7bc0f51552028e3b87a7c764ac' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 197"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "119ad31327bfdb3043355fb103f742dbf4e29bb49e19ed49e394dd3ba704d207"], ["uid", "c1222b642bb7318297080c021060dffed2990b7bc0f51552028e3b87a7c764ac"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1f565bb03de2016a535ec45938723a12a577829210eebf3a45f0734311132e4b' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public"], ["token", "1f565bb03de2016a535ec45938723a12a577829210eebf3a45f0734311132e4b"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=1f565bb03de2016a535ec45938723a12a577829210eebf3a45f0734311132e4b&client_id=c1222b642bb7318297080c021060dffed2990b7bc0f51552028e3b87a7c764ac&client_secret=119ad31327bfdb3043355fb103f742dbf4e29bb49e19ed49e394dd3ba704d207&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"1f565bb03de2016a535ec45938723a12a577829210eebf3a45f0734311132e4b", "client_id"=>"c1222b642bb7318297080c021060dffed2990b7bc0f51552028e3b87a7c764ac", "client_secret"=>"119ad31327bfdb3043355fb103f742dbf4e29bb49e19ed49e394dd3ba704d207", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '1f565bb03de2016a535ec45938723a12a577829210eebf3a45f0734311132e4b' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'c1222b642bb7318297080c021060dffed2990b7bc0f51552028e3b87a7c764ac' AND "oauth_applications"."secret" = '119ad31327bfdb3043355fb103f742dbf4e29bb49e19ed49e394dd3ba704d207' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:22' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '8bc6fbce67a481e7fbe6bd4c34e19ee65abd7e0d73e35b28c6020d7feba466dc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", nil], ["refresh_token", nil], ["resource_owner_id", 29], ["revoked_at", nil], ["scopes", "public"], ["token", "8bc6fbce67a481e7fbe6bd4c34e19ee65abd7e0d73e35b28c6020d7feba466dc"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '09b5028ffe2e49e494a46c08bb822a34099ac9219adafb42bd88c479c2246788' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 198"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "2540de6de68ba237ff18859ec973075c45658d8ff35fdc34cc1a9199141b6150"], ["uid", "09b5028ffe2e49e494a46c08bb822a34099ac9219adafb42bd88c479c2246788"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'fad146897d029f3c9b53a81793e46a294c4747cef983893af7be4ffcd34d2256' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 30], ["revoked_at", nil], ["scopes", "public"], ["token", "fad146897d029f3c9b53a81793e46a294c4747cef983893af7be4ffcd34d2256"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=fad146897d029f3c9b53a81793e46a294c4747cef983893af7be4ffcd34d2256&client_id=09b5028ffe2e49e494a46c08bb822a34099ac9219adafb42bd88c479c2246788&client_secret=2540de6de68ba237ff18859ec973075c45658d8ff35fdc34cc1a9199141b6150&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"fad146897d029f3c9b53a81793e46a294c4747cef983893af7be4ffcd34d2256", "client_id"=>"09b5028ffe2e49e494a46c08bb822a34099ac9219adafb42bd88c479c2246788", "client_secret"=>"2540de6de68ba237ff18859ec973075c45658d8ff35fdc34cc1a9199141b6150", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = 'f4a2332ad18f5fa4356b2f3bf08a57d436a43f65a38bb98bbb66b4e6199d59ae' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 199"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "1f5e73c57375f40187fd355acf26ea51342333e7074f2900afb9c3f643ecf3f2"], ["uid", "f4a2332ad18f5fa4356b2f3bf08a57d436a43f65a38bb98bbb66b4e6199d59ae"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'e98f5e73c34cfd681c875f4ffde46b9737d8e8db889ee34c0d7889563e0142f8' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 31], ["revoked_at", nil], ["scopes", "public"], ["token", "e98f5e73c34cfd681c875f4ffde46b9737d8e8db889ee34c0d7889563e0142f8"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=e98f5e73c34cfd681c875f4ffde46b9737d8e8db889ee34c0d7889563e0142f8&client_id=f4a2332ad18f5fa4356b2f3bf08a57d436a43f65a38bb98bbb66b4e6199d59ae&client_secret=1f5e73c57375f40187fd355acf26ea51342333e7074f2900afb9c3f643ecf3f2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"e98f5e73c34cfd681c875f4ffde46b9737d8e8db889ee34c0d7889563e0142f8", "client_id"=>"f4a2332ad18f5fa4356b2f3bf08a57d436a43f65a38bb98bbb66b4e6199d59ae", "client_secret"=>"1f5e73c57375f40187fd355acf26ea51342333e7074f2900afb9c3f643ecf3f2", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3a75ab06814e2f581a3e7d22735f90f93c3a32c1f53e9d864b1768a4b476d721' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 200"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "823fb385dc0a2d818b3d24c70c5fe1e923c316ff9479b4cf69d1e940795c9bab"], ["uid", "3a75ab06814e2f581a3e7d22735f90f93c3a32c1f53e9d864b1768a4b476d721"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b0bd68366bc45a6ee2d086ee0f47ee722161d61c87fab62015aaaa2c570445dc' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public"], ["token", "b0bd68366bc45a6ee2d086ee0f47ee722161d61c87fab62015aaaa2c570445dc"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=b0bd68366bc45a6ee2d086ee0f47ee722161d61c87fab62015aaaa2c570445dc&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"b0bd68366bc45a6ee2d086ee0f47ee722161d61c87fab62015aaaa2c570445dc", "client_id"=>nil, "client_secret"=>nil, "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.2ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'b0bd68366bc45a6ee2d086ee0f47ee722161d61c87fab62015aaaa2c570445dc' LIMIT 1
  Doorkeeper::Application Load (0.2ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '3a75ab06814e2f581a3e7d22735f90f93c3a32c1f53e9d864b1768a4b476d721' AND "oauth_applications"."secret" = '823fb385dc0a2d818b3d24c70c5fe1e923c316ff9479b4cf69d1e940795c9bab' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:22' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '90af1e578b1fe4827249f878388ea48ed4b3b816037807cde4c2e11546e69ccf' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 32], ["revoked_at", nil], ["scopes", "public"], ["token", "90af1e578b1fe4827249f878388ea48ed4b3b816037807cde4c2e11546e69ccf"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 6ms (ActiveRecord: 0.7ms)
  Doorkeeper::AccessToken Load (0.1ms)  SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" LIMIT 1
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '68d56c1613029de86caa5bcc1fe29486a1e3eba6653a838b1b3fd79075ea0a01' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 201"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "e346386a42bd2f0d003f14c85cd9ab8cfb1393dfa709e8f96551ee693db868e2"], ["uid", "68d56c1613029de86caa5bcc1fe29486a1e3eba6653a838b1b3fd79075ea0a01"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '19ff909ea5a7e54ad64ed4f1d1fb3619b184cc18e87595a6f9a53df03dd83bf3' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 33], ["revoked_at", nil], ["scopes", "public"], ["token", "19ff909ea5a7e54ad64ed4f1d1fb3619b184cc18e87595a6f9a53df03dd83bf3"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=19ff909ea5a7e54ad64ed4f1d1fb3619b184cc18e87595a6f9a53df03dd83bf3&client_id=68d56c1613029de86caa5bcc1fe29486a1e3eba6653a838b1b3fd79075ea0a01&client_secret=e346386a42bd2f0d003f14c85cd9ab8cfb1393dfa709e8f96551ee693db868e2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"19ff909ea5a7e54ad64ed4f1d1fb3619b184cc18e87595a6f9a53df03dd83bf3", "client_id"=>"68d56c1613029de86caa5bcc1fe29486a1e3eba6653a838b1b3fd79075ea0a01", "client_secret"=>"e346386a42bd2f0d003f14c85cd9ab8cfb1393dfa709e8f96551ee693db868e2", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '0e4d733e3d3533f2e3da7ee2fd4bd7f81617ac6dbec58d1d3b6cbe2d9f841e50' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 202"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "4d6089822a0a809e345b7da36dcf9c9bf22477fcca2ba4bba4ab618da1a8f77c"], ["uid", "0e4d733e3d3533f2e3da7ee2fd4bd7f81617ac6dbec58d1d3b6cbe2d9f841e50"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = '8621a364e4a721a8127eaeed6da0b2a1392d5e4fd23ad0bded8d8daa47935f16' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 34], ["revoked_at", nil], ["scopes", "public"], ["token", "8621a364e4a721a8127eaeed6da0b2a1392d5e4fd23ad0bded8d8daa47935f16"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=8621a364e4a721a8127eaeed6da0b2a1392d5e4fd23ad0bded8d8daa47935f16&client_id=0e4d733e3d3533f2e3da7ee2fd4bd7f81617ac6dbec58d1d3b6cbe2d9f841e50&client_secret=4d6089822a0a809e345b7da36dcf9c9bf22477fcca2ba4bba4ab618da1a8f77c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"8621a364e4a721a8127eaeed6da0b2a1392d5e4fd23ad0bded8d8daa47935f16", "client_id"=>"0e4d733e3d3533f2e3da7ee2fd4bd7f81617ac6dbec58d1d3b6cbe2d9f841e50", "client_secret"=>"4d6089822a0a809e345b7da36dcf9c9bf22477fcca2ba4bba4ab618da1a8f77c", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::Application Exists (0.1ms)  SELECT 1 AS one FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5516f0036e38c05ca730af6db7cc9c63ccabea029cfdafd394f521480d0684b3' LIMIT 1
  SQL (0.2ms)  INSERT INTO "oauth_applications" ("created_at", "name", "owner_id", "owner_type", "redirect_uri", "secret", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["name", "Application 203"], ["owner_id", nil], ["owner_type", nil], ["redirect_uri", "https://app.com/callback"], ["secret", "07b01dfa4b8cd98d70c8632a2eec73a5107dd9eeeb58f816885e9e5c87874438"], ["uid", "5516f0036e38c05ca730af6db7cc9c63ccabea029cfdafd394f521480d0684b3"], ["updated_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessGrant Exists (0.1ms)  SELECT 1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd435cfae9665be75ec15632f616a67f486c322e1d305b5ab13ba3b213f76e496' LIMIT 1
  SQL (0.1ms)  INSERT INTO "oauth_access_grants" ("application_id", "created_at", "expires_in", "redirect_uri", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 100], ["redirect_uri", "https://app.com/callback"], ["resource_owner_id", 35], ["revoked_at", nil], ["scopes", "public"], ["token", "d435cfae9665be75ec15632f616a67f486c322e1d305b5ab13ba3b213f76e496"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Started POST "/oauth/token?code=d435cfae9665be75ec15632f616a67f486c322e1d305b5ab13ba3b213f76e496&client_id=5516f0036e38c05ca730af6db7cc9c63ccabea029cfdafd394f521480d0684b3&client_secret=07b01dfa4b8cd98d70c8632a2eec73a5107dd9eeeb58f816885e9e5c87874438&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2015-03-10 13:54:22 -0400
Processing by Doorkeeper::TokensController#create as HTML
  Parameters: {"code"=>"d435cfae9665be75ec15632f616a67f486c322e1d305b5ab13ba3b213f76e496", "client_id"=>"5516f0036e38c05ca730af6db7cc9c63ccabea029cfdafd394f521480d0684b3", "client_secret"=>"07b01dfa4b8cd98d70c8632a2eec73a5107dd9eeeb58f816885e9e5c87874438", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"}
  Doorkeeper::AccessGrant Load (0.1ms)  SELECT "oauth_access_grants".* FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = 'd435cfae9665be75ec15632f616a67f486c322e1d305b5ab13ba3b213f76e496' LIMIT 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = '5516f0036e38c05ca730af6db7cc9c63ccabea029cfdafd394f521480d0684b3' AND "oauth_applications"."secret" = '07b01dfa4b8cd98d70c8632a2eec73a5107dd9eeeb58f816885e9e5c87874438' LIMIT 1
  SQL (0.1ms)  UPDATE "oauth_access_grants" SET "revoked_at" = '2015-03-10 17:54:22' WHERE "oauth_access_grants"."id" = 1
  Doorkeeper::Application Load (0.1ms)  SELECT "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."id" = 1 LIMIT 1
   (0.0ms)  SAVEPOINT active_record_1
  Doorkeeper::AccessToken Exists (0.0ms)  SELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '0454658accee77492971e28fcf9c8a402a964b6745b8d1f43b31dc684a460db0' LIMIT 1
  SQL (0.3ms)  INSERT INTO "oauth_access_tokens" ("application_id", "created_at", "expires_in", "refresh_token", "resource_owner_id", "revoked_at", "scopes", "token") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["application_id", 1], ["created_at", Tue, 10 Mar 2015 17:54:22 UTC +00:00], ["expires_in", 7200], ["refresh_token", nil], ["resource_owner_id", 35], ["revoked_at", nil], ["scopes", "public"], ["token", "0454658accee77492971e28fcf9c8a402a964b6745b8d1f43b31dc684a460db0"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.7ms)  select sqlite_version(*)
   (0.3ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (1.0ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.2ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.3ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.9ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.1ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.2ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (1.0ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.8ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.9ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (1.1ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.2ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.1ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.2ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (0.9ms)  select sqlite_version(*)
   (0.3ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.1ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.2ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
====> Doorkeeper.orm = :active_record
======> active_record.table_name_prefix = ""
======> active_record.table_name_suffix = ""
====> Rails version: 3.2.13
====> Ruby version: 2.1.2
   (1.2ms)  select sqlite_version(*)
   (0.4ms)  CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255)) 
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
   (0.2ms)  CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) 
   (0.2ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
   (0.1ms)  CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
   (0.2ms)  CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "owner_type" varchar(255)) 
   (0.1ms)  CREATE INDEX "index_oauth_applications_on_owner_id_and_owner_type" ON "oauth_applications" ("owner_id", "owner_type")
   (0.1ms)  CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
   (0.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "password" varchar(255)) 
   (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
   (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.0ms)  SELECT version FROM "schema_migrations"
   (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('20130902175349')
   (0.1ms)  begin transaction
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (0.0ms)  rollback transaction
Connecting to database specified by database.yml
Connecting to database specified by database.yml