devise_token_auth 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e33016ffd28a069e4a7ae7c5fcce2ed3f06745c
4
- data.tar.gz: f6bbbde25fae84f8390730216260716655e9441b
3
+ metadata.gz: 834e6565e101d247f0c8941ebc6d3c9a5aeb57fb
4
+ data.tar.gz: e0d5fec0bbf44b1d96bf0f91bdc2b525e5e87d02
5
5
  SHA512:
6
- metadata.gz: a53b336969bfc87fbde2078e3524eacfd35abd406b6cb345c96c13727177f784ae6f4db45b02e79cf58ec254217e66705d547114c33c373fdefc42f6e4bae7fa
7
- data.tar.gz: 619bbe3e3f25489a0b55bb8298736c57c87d769111d6ec3869bf9bd21ba2769f2bd5fd684aacfcd6ec8aacd22b22e47c899fbfcb4598318055535cc9e1f439f1
6
+ metadata.gz: 6f5d97700e9940fb9a6fe382efe248f2bb26332d1c232c563fb944e968adceeb122e77ca2a26bce437965980a56bfd6d7a7639e0e5d7475a990e0f614dfb4dbe
7
+ data.tar.gz: c5cd9381e88c4cd41213967e2249a4fa4a6292a8b598e37a46c8a2562df4ef204f784417732ecb3751ab3a178ba5868b479f4b309b3fc35cd3846c7ab684cafe
@@ -25,9 +25,6 @@ module DeviseTokenAuth
25
25
  provider: auth_hash['provider']
26
26
  }).first_or_initialize
27
27
 
28
- # don't send confirmation email!!!
29
- @user.skip_confirmation!
30
-
31
28
  # create client id
32
29
  @client_id = SecureRandom.urlsafe_base64(nil, false)
33
30
  @token = SecureRandom.urlsafe_base64(nil, false)
@@ -44,16 +41,20 @@ module DeviseTokenAuth
44
41
  token: BCrypt::Password.create(@token),
45
42
  expiry: Time.now + 2.weeks
46
43
  }
47
- @user.save
48
44
 
49
45
  # sync user info with provider, update/generate auth token
50
- @user.update_attributes({
46
+ @user.assign_attributes({
51
47
  nickname: auth_hash['info']['nickname'],
52
48
  name: auth_hash['info']['name'],
53
49
  image: auth_hash['info']['image'],
54
50
  email: auth_hash['info']['email']
55
51
  })
56
52
 
53
+ # don't send confirmation email!!!
54
+ @user.skip_confirmation!
55
+
56
+ @user.save!
57
+
57
58
  # render user info to javascript postMessage communication window
58
59
  respond_to do |format|
59
60
  format.html { render :layout => "omniauth_response", :template => "devise_token_auth/omniauth_success" }
data/app/models/user.rb CHANGED
@@ -7,6 +7,9 @@ class User < ActiveRecord::Base
7
7
 
8
8
  serialize :tokens, JSON
9
9
 
10
+ # only validate unique emails among email registration users
11
+ validates_uniqueness_of :email, conditions: -> { where(provider: 'email') }
12
+
10
13
  def valid_token?(client_id, token)
11
14
  return false unless self.tokens[client_id]['expiry'] > 2.weeks.ago
12
15
  return false unless BCrypt::Password.new(self.tokens[client_id]['token']) == token
@@ -19,4 +22,9 @@ class User < ActiveRecord::Base
19
22
  options[:except] ||= [:tokens]
20
23
  super(options)
21
24
  end
25
+
26
+ # don't use default devise email validation
27
+ def email_changed?
28
+ false
29
+ end
22
30
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseTokenAuth
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
@@ -1,13 +1,9 @@
1
1
  # Add application configuration variables here, as shown below.
2
+ GITHUB_KEY: ebc065d5c6b6d5f1fc7e
3
+ GITHUB_SECRET: 0087577ed1fbb538ac97dcb4b0df9b582b148b7b
2
4
 
3
- GITHUB_KEY: ebc065d5c6b6d5f1fc7e
4
- GITHUB_SECRET: 0087577ed1fbb538ac97dcb4b0df9b582b148b7b
5
- GITHUB_REDIRECT_URI: http://localhost:3000/auth/github/callback
5
+ FACEBOOK_KEY: 519048964889141
6
+ FACEBOOK_SECRET: 40b7a0506495382818983f10883f4d5b
6
7
 
7
- FACEBOOK_KEY: 515818101878894
8
- FACEBOOK_SECRET: d7cfef7cfa485dd30f10c237a97a0a8d
9
- FACEBOOK_REDIRECT_URI: http://localhost:3000/auth/facebook/callback
10
-
11
- GOOGLE_KEY: 276861244411-b1m3bteiuvraajilmcf8rvh83v5n4dp2.apps.googleusercontent.com
12
- GOOGLE_SECRET: A9_CLZNIvPAY-T09fBiaKPEI
13
- GOOGLE_REDIRECT_URI: http://localhost:3000/auth/google/callback
8
+ GOOGLE_KEY: 276861244411-b1m3bteiuvraajilmcf8rvh83v5n4dp2.apps.googleusercontent.com
9
+ GOOGLE_SECRET: A9_CLZNIvPAY-T09fBiaKPEI
@@ -39,4 +39,6 @@ Rails.application.configure do
39
39
 
40
40
  # Raises error for missing translations
41
41
  # config.action_view.raise_on_missing_translations = true
42
+
43
+ OmniAuth.config.full_host = "http://localhost:3000"
42
44
  end
Binary file
@@ -39,7 +39,7 @@ ActiveRecord::Schema.define(version: 20140705000006) do
39
39
  t.datetime "updated_at"
40
40
  end
41
41
 
42
- add_index "users", ["email"], name: "index_users_on_email", unique: true
42
+ add_index "users", ["email"], name: "index_users_on_email"
43
43
  add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
44
44
  add_index "users", ["uid"], name: "index_users_on_uid", unique: true
45
45
 
@@ -11127,3 +11127,918 @@ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
11127
11127
  SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 11 [["tokens", "{\"sxS_El2TfOGgvUvI6dJlnA\":{\"token\":\"$2a$10$P8nkr6TVKEI5KicPkaxpR.KwnJt4FOKa9ae8/gLY3m8EIvi9pKG6i\",\"expiry\":\"2014-07-20 16:42:40 -0500\"}}"], ["updated_at", "2014-07-06 21:42:40.091389"]]
11128
11128
   (1.7ms) commit transaction
11129
11129
  Completed 200 OK in 132ms (Views: 0.4ms | ActiveRecord: 2.3ms)
11130
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11131
+  (0.0ms) select sqlite_version(*)
11132
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11133
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
11134
+ Migrating to DeviseTokenAuthCreateUsers (20140705000006)
11135
+  (0.0ms) begin transaction
11136
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime)
11137
+  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
11138
+  (0.1ms) SELECT sql
11139
+ FROM sqlite_master
11140
+ WHERE name='index_users_on_email' AND type='index'
11141
+ UNION ALL
11142
+ SELECT sql
11143
+ FROM sqlite_temp_master
11144
+ WHERE name='index_users_on_email' AND type='index'
11145
+
11146
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_uid" ON "users" ("uid")
11147
+  (0.1ms) SELECT sql
11148
+ FROM sqlite_master
11149
+ WHERE name='index_users_on_uid' AND type='index'
11150
+ UNION ALL
11151
+ SELECT sql
11152
+ FROM sqlite_temp_master
11153
+ WHERE name='index_users_on_uid' AND type='index'
11154
+
11155
+  (0.0ms)  SELECT sql
11156
+ FROM sqlite_master
11157
+ WHERE name='index_users_on_email' AND type='index'
11158
+ UNION ALL
11159
+ SELECT sql
11160
+ FROM sqlite_temp_master
11161
+ WHERE name='index_users_on_email' AND type='index'
11162
+ 
11163
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
11164
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140705000006"]]
11165
+  (0.6ms) commit transaction
11166
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11167
+  (0.1ms) SELECT sql
11168
+ FROM sqlite_master
11169
+ WHERE name='index_users_on_reset_password_token' AND type='index'
11170
+ UNION ALL
11171
+ SELECT sql
11172
+ FROM sqlite_temp_master
11173
+ WHERE name='index_users_on_reset_password_token' AND type='index'
11174
+
11175
+  (0.1ms)  SELECT sql
11176
+ FROM sqlite_master
11177
+ WHERE name='index_users_on_uid' AND type='index'
11178
+ UNION ALL
11179
+ SELECT sql
11180
+ FROM sqlite_temp_master
11181
+ WHERE name='index_users_on_uid' AND type='index'
11182
+ 
11183
+  (0.1ms) SELECT sql
11184
+ FROM sqlite_master
11185
+ WHERE name='index_users_on_email' AND type='index'
11186
+ UNION ALL
11187
+ SELECT sql
11188
+ FROM sqlite_temp_master
11189
+ WHERE name='index_users_on_email' AND type='index'
11190
+
11191
+
11192
+
11193
+ Started GET "/auth/google_oauth2" for 127.0.0.1 at 2014-07-06 17:41:46 -0500
11194
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11195
+
11196
+
11197
+ Started GET "/auth/google_oauth2/callback?state=a1f7fb8e296a95fbfb96fc3c688c91a2e0413bf32e82bfda&code=4/2rY5tWKGOue6tZS8T15ww-jrYXry.4nNQxObYVS0emmS0T3UFEsNey7EbjgI" for 127.0.0.1 at 2014-07-06 17:41:46 -0500
11198
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11199
+ Parameters: {"state"=>"a1f7fb8e296a95fbfb96fc3c688c91a2e0413bf32e82bfda", "code"=>"4/2rY5tWKGOue6tZS8T15ww-jrYXry.4nNQxObYVS0emmS0T3UFEsNey7EbjgI", "provider"=>"google_oauth2"}
11200
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' AND "users"."provider" = 'google_oauth2' ORDER BY "users"."id" ASC LIMIT 1
11201
+  (0.1ms) begin transaction
11202
+  (0.1ms) rollback transaction
11203
+  (0.0ms) begin transaction
11204
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11205
+ Binary data inserted for `string` type on column `encrypted_password`
11206
+ SQL (0.4ms) INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "image", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-07-06 22:41:47.976818"], ["created_at", "2014-07-06 22:41:48.121110"], ["email", "lynn.dylan.hurley@gmail.com"], ["encrypted_password", "$2a$10$W.xSRPH3y0xFpqgGBhjru.sBtqrgZKIsAID1ofPRTSV78tGKCuWpe"], ["image", "https://lh6.googleusercontent.com/-3myFYp72z8g/AAAAAAAAAAI/AAAAAAAAA-I/p-MeOAkUzt0/photo.jpg?sz=50"], ["name", "Lynn Dylan Hurley"], ["provider", "google_oauth2"], ["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$tjOl2DsDUF5y4EpvZPUdAujHCk76C/dipODzis/iwaCrnweeeJN/m\",\"expiry\":\"2014-07-20 17:41:48 -0500\"}}"], ["uid", "110417483437532545267"], ["updated_at", "2014-07-06 22:41:48.121110"]]
11207
+  (1.6ms) commit transaction
11208
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.4ms)
11209
+ Completed 200 OK in 172ms (Views: 6.8ms | ActiveRecord: 2.8ms)
11210
+
11211
+
11212
+ Started OPTIONS "/auth/sign_out" for 127.0.0.1 at 2014-07-06 17:43:49 -0500
11213
+
11214
+
11215
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 17:43:49 -0500
11216
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11217
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' LIMIT 1
11218
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
11219
+  (0.0ms) begin transaction
11220
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$tjOl2DsDUF5y4EpvZPUdAujHCk76C/dipODzis/iwaCrnweeeJN/m\",\"expiry\":\"2014-07-20 17:41:48 -0500\"}}"], ["updated_at", "2014-07-06 22:43:49.921534"]]
11221
+  (0.5ms) commit transaction
11222
+  (0.1ms) begin transaction
11223
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"}}"], ["updated_at", "2014-07-06 22:43:49.984554"]]
11224
+  (0.9ms) commit transaction
11225
+ Completed 200 OK in 134ms (Views: 0.2ms | ActiveRecord: 2.5ms)
11226
+
11227
+
11228
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:43:52 -0500
11229
+
11230
+
11231
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:45:22 -0500
11232
+
11233
+
11234
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:47:18 -0500
11235
+
11236
+
11237
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:48:54 -0500
11238
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11239
+
11240
+
11241
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:50:08 -0500
11242
+
11243
+
11244
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 17:52:22 -0500
11245
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11246
+
11247
+
11248
+ Started GET "/auth/facebook/callback?code=AQDGGta6ugwGYfaKsvGnvuVXCEG1IhyuYseN-GpAQHSHj_Lym2cn4r6uXeIBUZ3RyXKrSWNuxJYprsKwDWN9vrqOK7NQ2KDk9U9ntQPpS1V6aDVyQeZyX2mcrANm_5bLZ9h0urtWrJP5C1XJIz08KZ-lrSe1dNiE4obfBqTFjCvPjNob9DXI7-M9QOjuZUq_vX7c9SLVWTmjpeTTxGeKgt1rUsVX5x_B-RbLVqiZK8vRXFWsB4-WN11YetmirwQpYG3mmv9HQyjJwCaF0B9V6IhYzvJgE1aW60ocd6snLxhAIXsvUMIZoOXqtxQ_anmmAwA&state=426956503ea033aa8451f7b86b860a7cba14d4e35852e3a8" for 127.0.0.1 at 2014-07-06 17:52:32 -0500
11249
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11250
+ Parameters: {"code"=>"AQDGGta6ugwGYfaKsvGnvuVXCEG1IhyuYseN-GpAQHSHj_Lym2cn4r6uXeIBUZ3RyXKrSWNuxJYprsKwDWN9vrqOK7NQ2KDk9U9ntQPpS1V6aDVyQeZyX2mcrANm_5bLZ9h0urtWrJP5C1XJIz08KZ-lrSe1dNiE4obfBqTFjCvPjNob9DXI7-M9QOjuZUq_vX7c9SLVWTmjpeTTxGeKgt1rUsVX5x_B-RbLVqiZK8vRXFWsB4-WN11YetmirwQpYG3mmv9HQyjJwCaF0B9V6IhYzvJgE1aW60ocd6snLxhAIXsvUMIZoOXqtxQ_anmmAwA", "state"=>"426956503ea033aa8451f7b86b860a7cba14d4e35852e3a8", "provider"=>"facebook"}
11251
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11252
+  (0.1ms) begin transaction
11253
+  (0.1ms) rollback transaction
11254
+  (0.0ms) begin transaction
11255
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11256
+  (0.0ms) rollback transaction
11257
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.2ms)
11258
+ Completed 200 OK in 165ms (Views: 6.5ms | ActiveRecord: 0.8ms)
11259
+
11260
+
11261
+ Started OPTIONS "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:06:11 -0500
11262
+
11263
+
11264
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:06:11 -0500
11265
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11266
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' LIMIT 1
11267
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11268
+
11269
+
11270
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:06:19 -0500
11271
+
11272
+
11273
+ Started GET "/auth/facebook/callback?code=AQCINLIz3NzLePsrone7vyBFzW5quEh7iBSABJVoQ_ngTiZmj5NkGCmnnm3EPKnAfi5WEZ2xCOx3z5XsgKDi17Wcm7yP1WEoC8QKKSY-LJtaQGodCmQ_f-AlHGKFLBdECwg2YiJTHviSNHiWjOYStlPFPkmMGXwZ6QBZM7rwXJdra8WGPhSVgMR6WB9TCXZrX-nKOlhoTkoEohvl6tUryrDDjylqWe8mn7XSFKs1N6cw6BfnodvQG1MDTIdceT5XP99rBoR57UUKQjsidKg6eamyfJxeSmeUaBBMgAv31xkOrfCLXOSp1F2P28bfsf6va_M&state=1adb919c605a7e68f0050b2f2564acd5ceef4cb37632e217" for 127.0.0.1 at 2014-07-06 18:06:19 -0500
11274
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11275
+ Parameters: {"code"=>"AQCINLIz3NzLePsrone7vyBFzW5quEh7iBSABJVoQ_ngTiZmj5NkGCmnnm3EPKnAfi5WEZ2xCOx3z5XsgKDi17Wcm7yP1WEoC8QKKSY-LJtaQGodCmQ_f-AlHGKFLBdECwg2YiJTHviSNHiWjOYStlPFPkmMGXwZ6QBZM7rwXJdra8WGPhSVgMR6WB9TCXZrX-nKOlhoTkoEohvl6tUryrDDjylqWe8mn7XSFKs1N6cw6BfnodvQG1MDTIdceT5XP99rBoR57UUKQjsidKg6eamyfJxeSmeUaBBMgAv31xkOrfCLXOSp1F2P28bfsf6va_M", "state"=>"1adb919c605a7e68f0050b2f2564acd5ceef4cb37632e217", "provider"=>"facebook"}
11276
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11277
+  (0.1ms) begin transaction
11278
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11279
+  (0.1ms) rollback transaction
11280
+ Completed 422 Unprocessable Entity in 141ms
11281
+
11282
+ ActiveRecord::RecordInvalid (Validation failed: Email has already been taken):
11283
+ activerecord (4.1.2) lib/active_record/validations.rb:57:in `save!'
11284
+ activerecord (4.1.2) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
11285
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `block in save!'
11286
+ activerecord (4.1.2) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
11287
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
11288
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
11289
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
11290
+ activerecord (4.1.2) lib/active_record/transactions.rb:208:in `transaction'
11291
+ activerecord (4.1.2) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
11292
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `save!'
11293
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/auth_controller.rb:53:in `omniauth_success'
11294
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11295
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
11296
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
11297
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11298
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11299
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11300
+ activesupport (4.1.2) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
11301
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
11302
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
11303
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
11304
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
11305
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
11306
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
11307
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
11308
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
11309
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11310
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
11311
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11312
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11313
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11314
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
11315
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
11316
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
11317
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11318
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
11319
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
11320
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
11321
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
11322
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11323
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11324
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11325
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11326
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11327
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
11328
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
11329
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11330
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11331
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11332
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11333
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11334
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11335
+ omniauth (1.2.1) lib/omniauth/strategy.rb:404:in `call_app!'
11336
+ omniauth (1.2.1) lib/omniauth/strategy.rb:362:in `callback_phase'
11337
+ omniauth-oauth2 (1.1.2) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
11338
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:72:in `block in callback_phase'
11339
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:135:in `with_authorization_code!'
11340
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:71:in `callback_phase'
11341
+ omniauth (1.2.1) lib/omniauth/strategy.rb:227:in `callback_call'
11342
+ omniauth (1.2.1) lib/omniauth/strategy.rb:184:in `call!'
11343
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11344
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11345
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11346
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
11347
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
11348
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
11349
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
11350
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
11351
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11352
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11353
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11354
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11355
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
11356
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11357
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11358
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
11359
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
11360
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
11361
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
11362
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11363
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
11364
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11365
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
11366
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11367
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11368
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11369
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
11370
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
11371
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11372
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
11373
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
11374
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
11375
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11376
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11377
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11378
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
11379
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11380
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
11381
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11382
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11383
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
11384
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11385
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11386
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11387
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
11388
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
11389
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
11390
+
11391
+
11392
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
11393
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
11394
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
11395
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.6ms)
11396
+
11397
+
11398
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:09:21 -0500
11399
+
11400
+
11401
+ Started GET "/auth/facebook/callback?code=AQB6KGkOwxf2owZZQCLqSe9iztKpvDGc9tDitObgZDBYjsAzvUAn5HKkWM-gyhBn1Feq3A1nvpa-xW1UcxOPpsXerZcpCM_Q_KN2V7KnGoLqVr0A4vXPnoWnhWXEpqvOA9vHACMz0UCDhsJLU6A36nDue_IOYRiibW-E3tMZvcIpz_9iCDFbkRrp47OtupFfRp3ZNDRF9mGm2q7ELuV_-g_gJSPBvwMZOMtfliy0g4VXLP5KXxon0QqItan6Kj5xJoYpa6jSwGqFs7ATPY737XSbWZsFISyi8T_6-UbDks8vuXYRR_cZ0ejwWiYMO1TQAKE&state=68cfcd72eaab638b09ec58c9e5bb30400e40bc415e12de53" for 127.0.0.1 at 2014-07-06 18:09:21 -0500
11402
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11403
+ Parameters: {"code"=>"AQB6KGkOwxf2owZZQCLqSe9iztKpvDGc9tDitObgZDBYjsAzvUAn5HKkWM-gyhBn1Feq3A1nvpa-xW1UcxOPpsXerZcpCM_Q_KN2V7KnGoLqVr0A4vXPnoWnhWXEpqvOA9vHACMz0UCDhsJLU6A36nDue_IOYRiibW-E3tMZvcIpz_9iCDFbkRrp47OtupFfRp3ZNDRF9mGm2q7ELuV_-g_gJSPBvwMZOMtfliy0g4VXLP5KXxon0QqItan6Kj5xJoYpa6jSwGqFs7ATPY737XSbWZsFISyi8T_6-UbDks8vuXYRR_cZ0ejwWiYMO1TQAKE", "state"=>"68cfcd72eaab638b09ec58c9e5bb30400e40bc415e12de53", "provider"=>"facebook"}
11404
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11405
+  (0.1ms) begin transaction
11406
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11407
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."provider" = 'email' LIMIT 1
11408
+  (0.0ms) rollback transaction
11409
+ Completed 422 Unprocessable Entity in 136ms
11410
+
11411
+ ActiveRecord::RecordInvalid (Validation failed: Email has already been taken):
11412
+ activerecord (4.1.2) lib/active_record/validations.rb:57:in `save!'
11413
+ activerecord (4.1.2) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
11414
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `block in save!'
11415
+ activerecord (4.1.2) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
11416
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
11417
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
11418
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
11419
+ activerecord (4.1.2) lib/active_record/transactions.rb:208:in `transaction'
11420
+ activerecord (4.1.2) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
11421
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `save!'
11422
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/auth_controller.rb:53:in `omniauth_success'
11423
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11424
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
11425
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
11426
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11427
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11428
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11429
+ activesupport (4.1.2) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
11430
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
11431
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
11432
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
11433
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
11434
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
11435
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
11436
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
11437
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
11438
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11439
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
11440
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11441
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11442
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11443
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
11444
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
11445
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
11446
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11447
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
11448
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
11449
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
11450
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
11451
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11452
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11453
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11454
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11455
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11456
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
11457
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
11458
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11459
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11460
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11461
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11462
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11463
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11464
+ omniauth (1.2.1) lib/omniauth/strategy.rb:404:in `call_app!'
11465
+ omniauth (1.2.1) lib/omniauth/strategy.rb:362:in `callback_phase'
11466
+ omniauth-oauth2 (1.1.2) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
11467
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:72:in `block in callback_phase'
11468
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:135:in `with_authorization_code!'
11469
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:71:in `callback_phase'
11470
+ omniauth (1.2.1) lib/omniauth/strategy.rb:227:in `callback_call'
11471
+ omniauth (1.2.1) lib/omniauth/strategy.rb:184:in `call!'
11472
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11473
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11474
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11475
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
11476
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
11477
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
11478
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
11479
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
11480
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11481
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11482
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11483
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11484
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
11485
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11486
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11487
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
11488
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
11489
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
11490
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
11491
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11492
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
11493
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11494
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
11495
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11496
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11497
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11498
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
11499
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
11500
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11501
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
11502
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
11503
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
11504
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11505
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11506
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11507
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
11508
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11509
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
11510
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11511
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11512
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
11513
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11514
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11515
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11516
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
11517
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
11518
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
11519
+
11520
+
11521
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
11522
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
11523
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
11524
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.2ms)
11525
+
11526
+
11527
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:13:28 -0500
11528
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
11529
+
11530
+
11531
+ Started GET "/auth/facebook/callback?code=AQAPS9FH5pPcFDmSKV8PzoAY0DFfD6bHnIAt-J53EhXdGWaJVG-gKtEAmKpatoum3AODUZ8gUc17J_BOGGmsB4pkLC8z_t0cjxjKfOgEz1c5eNKonauO7uUd85XypySCRfm3hA6DwwaS_m1RzpoHbG02rcIJjMcHDljNazQ_e-K80-OQRRAbcPQiPy6tFu5QdutZEu6-Jz9gGn1OC8VvXoFN9hb9dCWCw7xiHysgAEYZJBaQ3tIS4ntSImMkXLZ_94FF1zx8wKS3nqyi1LQBENH7pm1NZ6xhsSNuk4rEQX3I-t1L7KAUdy-luvXGRg4bkFY&state=89f09b6ac94e7e9b76a2143a0bb326c4143dd13404612e20" for 127.0.0.1 at 2014-07-06 18:13:28 -0500
11532
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11533
+ Parameters: {"code"=>"AQAPS9FH5pPcFDmSKV8PzoAY0DFfD6bHnIAt-J53EhXdGWaJVG-gKtEAmKpatoum3AODUZ8gUc17J_BOGGmsB4pkLC8z_t0cjxjKfOgEz1c5eNKonauO7uUd85XypySCRfm3hA6DwwaS_m1RzpoHbG02rcIJjMcHDljNazQ_e-K80-OQRRAbcPQiPy6tFu5QdutZEu6-Jz9gGn1OC8VvXoFN9hb9dCWCw7xiHysgAEYZJBaQ3tIS4ntSImMkXLZ_94FF1zx8wKS3nqyi1LQBENH7pm1NZ6xhsSNuk4rEQX3I-t1L7KAUdy-luvXGRg4bkFY", "state"=>"89f09b6ac94e7e9b76a2143a0bb326c4143dd13404612e20", "provider"=>"facebook"}
11534
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11535
+  (0.1ms) begin transaction
11536
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11537
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."provider" = 'email' LIMIT 1
11538
+  (0.0ms) rollback transaction
11539
+ Completed 422 Unprocessable Entity in 154ms
11540
+
11541
+ ActiveRecord::RecordInvalid (Validation failed: Email has already been taken):
11542
+ activerecord (4.1.2) lib/active_record/validations.rb:57:in `save!'
11543
+ activerecord (4.1.2) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
11544
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `block in save!'
11545
+ activerecord (4.1.2) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
11546
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
11547
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
11548
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
11549
+ activerecord (4.1.2) lib/active_record/transactions.rb:208:in `transaction'
11550
+ activerecord (4.1.2) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
11551
+ activerecord (4.1.2) lib/active_record/transactions.rb:273:in `save!'
11552
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/auth_controller.rb:53:in `omniauth_success'
11553
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11554
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
11555
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
11556
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11557
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11558
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
11559
+ activesupport (4.1.2) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
11560
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
11561
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
11562
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
11563
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
11564
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
11565
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
11566
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
11567
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
11568
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11569
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
11570
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11571
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11572
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11573
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
11574
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
11575
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
11576
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11577
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
11578
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
11579
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
11580
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
11581
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11582
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11583
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11584
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11585
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11586
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
11587
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
11588
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
11589
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
11590
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
11591
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
11592
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11593
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11594
+ omniauth (1.2.1) lib/omniauth/strategy.rb:404:in `call_app!'
11595
+ omniauth (1.2.1) lib/omniauth/strategy.rb:362:in `callback_phase'
11596
+ omniauth-oauth2 (1.1.2) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
11597
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:72:in `block in callback_phase'
11598
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:135:in `with_authorization_code!'
11599
+ /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/omniauth-facebook-4dbd5f0f40df/lib/omniauth/strategies/facebook.rb:71:in `callback_phase'
11600
+ omniauth (1.2.1) lib/omniauth/strategy.rb:227:in `callback_call'
11601
+ omniauth (1.2.1) lib/omniauth/strategy.rb:184:in `call!'
11602
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11603
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
11604
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
11605
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
11606
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
11607
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
11608
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
11609
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
11610
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11611
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11612
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11613
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11614
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
11615
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11616
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11617
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
11618
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
11619
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
11620
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
11621
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11622
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
11623
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11624
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
11625
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11626
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11627
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11628
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
11629
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
11630
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11631
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
11632
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
11633
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
11634
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11635
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11636
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11637
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
11638
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11639
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
11640
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11641
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11642
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
11643
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11644
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11645
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11646
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
11647
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
11648
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
11649
+
11650
+
11651
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
11652
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
11653
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
11654
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms)
11655
+
11656
+
11657
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:17:49 -0500
11658
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11659
+
11660
+
11661
+ Started GET "/auth/facebook/callback?code=AQCO4F-HN1V9olzlRt2HzDy1TVIDpb3ke_wIPX6jYYVZWsHrHkZJsnkMupa4E3wIWZ3BSzDJnSSgVsll-YbRDg3NoCcEoMGy2jKNZYDyDhzecXOyoYKomWmQMBbxgoPCI8Dy0WSCr0KsRpYMUyLc2Veh3qlqaJ7-kCcJCKH9Ld5EpMtQam7f5ZKdaWrXTBuErFGhw3VFJUZc7nGYlam2fJ7BUFFJO6eibMtTrkr5oOD-5Zm2GgWLqJg-tWC707OfqdVrX1j_TxqgtArv4A-X8l8h4xKH5PayRxVSZG_1izniFX84045BummrlrnS-Li3M34&state=46c93fbdfb04a67ac5d879cacfeb836afa78984dd49a9701" for 127.0.0.1 at 2014-07-06 18:17:49 -0500
11662
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11663
+ Parameters: {"code"=>"AQCO4F-HN1V9olzlRt2HzDy1TVIDpb3ke_wIPX6jYYVZWsHrHkZJsnkMupa4E3wIWZ3BSzDJnSSgVsll-YbRDg3NoCcEoMGy2jKNZYDyDhzecXOyoYKomWmQMBbxgoPCI8Dy0WSCr0KsRpYMUyLc2Veh3qlqaJ7-kCcJCKH9Ld5EpMtQam7f5ZKdaWrXTBuErFGhw3VFJUZc7nGYlam2fJ7BUFFJO6eibMtTrkr5oOD-5Zm2GgWLqJg-tWC707OfqdVrX1j_TxqgtArv4A-X8l8h4xKH5PayRxVSZG_1izniFX84045BummrlrnS-Li3M34", "state"=>"46c93fbdfb04a67ac5d879cacfeb836afa78984dd49a9701", "provider"=>"facebook"}
11664
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11665
+  (0.1ms) begin transaction
11666
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'b09724ad3828151b508220b7b1a0d60e9ac8832c48e1c9cea999759337e30344' ORDER BY "users"."id" ASC LIMIT 1
11667
+ Binary data inserted for `string` type on column `confirmation_token`
11668
+ Binary data inserted for `string` type on column `encrypted_password`
11669
+ SQL (0.4ms) INSERT INTO "users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "image", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmation_sent_at", "2014-07-06 23:17:50.938363"], ["confirmation_token", "b09724ad3828151b508220b7b1a0d60e9ac8832c48e1c9cea999759337e30344"], ["created_at", "2014-07-06 23:17:50.749475"], ["email", "lynn.dylan.hurley@gmail.com"], ["encrypted_password", "$2a$10$n.nXkIv/TBMsMn/yMl2G9uEYiFGj44ymGhRhUSRPOlChMgLIGWtYe"], ["image", "http://graph.facebook.com/10203213484155274/picture"], ["name", "Lynn Dylan Hurley"], ["provider", "facebook"], ["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$5E.uyb68WQs0QWdKf51KjuiD63VjJNFVbqJOMy3JvpKc.H1kdsIQG\",\"expiry\":\"2014-07-20 18:17:50 -0500\"}}"], ["uid", "10203213484155274"], ["updated_at", "2014-07-06 23:17:50.749475"]]
11670
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (1.6ms)
11671
+
11672
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 37.9ms
11673
+
11674
+ Sent mail to lynn.dylan.hurley@gmail.com (63.0ms)
11675
+ Date: Sun, 06 Jul 2014 18:17:50 -0500
11676
+ From: please-change-me-at-config-initializers-devise@example.com
11677
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
11678
+ To: lynn.dylan.hurley@gmail.com
11679
+ Message-ID: <53b9d91ef1316_17aaf3ff2e27dc624797dc@Lynns-MacBook-Pro.local.mail>
11680
+ Subject: Confirmation instructions
11681
+ Mime-Version: 1.0
11682
+ Content-Type: text/html;
11683
+ charset=UTF-8
11684
+ Content-Transfer-Encoding: 7bit
11685
+
11686
+ <p>Welcome lynn.dylan.hurley@gmail.com!</p>
11687
+
11688
+ <p>You can confirm your account email through the link below:</p>
11689
+
11690
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=vyyzNK9YhW9eVnCp6LYy">Confirm my account</a></p>
11691
+
11692
+  (0.7ms) commit transaction
11693
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.5ms)
11694
+ Completed 200 OK in 440ms (Views: 2.3ms | ActiveRecord: 1.9ms)
11695
+
11696
+
11697
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-06 18:18:34 -0500
11698
+
11699
+
11700
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-06 18:18:34 -0500
11701
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
11702
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' LIMIT 1
11703
+  (0.1ms) begin transaction
11704
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$sBwskD7G2Rbs/pYALfZTcO2.GvCm4T3BLSRIbzQPd8/C86X7KdSPm\",\"expiry\":\"2014-07-20 18:18:34 -0500\"}}"], ["updated_at", "2014-07-06 23:18:34.554703"]]
11705
+  (1.6ms) commit transaction
11706
+ Completed 200 OK in 138ms (Views: 0.3ms | ActiveRecord: 2.5ms)
11707
+
11708
+
11709
+ Started OPTIONS "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:18:36 -0500
11710
+
11711
+
11712
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:18:36 -0500
11713
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11714
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' LIMIT 1
11715
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
11716
+  (0.1ms) begin transaction
11717
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$sBwskD7G2Rbs/pYALfZTcO2.GvCm4T3BLSRIbzQPd8/C86X7KdSPm\",\"expiry\":\"2014-07-20 18:18:34 -0500\"}}"], ["updated_at", "2014-07-06 23:18:36.784292"]]
11718
+  (0.6ms) commit transaction
11719
+  (0.1ms) begin transaction
11720
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$P6ylem8vUo1tH1tfgT8OZ.Z9O9uJlG5jGcCUcrtis4g7ILQACJRsW\",\"expiry\":\"2014-07-20 18:18:36 -0500\"}}"], ["updated_at", "2014-07-06 23:18:36.846689"]]
11721
+  (0.6ms) commit transaction
11722
+ Completed 200 OK in 131ms (Views: 0.1ms | ActiveRecord: 2.1ms)
11723
+
11724
+
11725
+ Started GET "/auth/google_oauth2" for 127.0.0.1 at 2014-07-06 18:18:37 -0500
11726
+
11727
+
11728
+ Started GET "/auth/google_oauth2/callback?state=16e0975ed02efc7a3016a9568d2fa27eb4dc5303e84bc05d&code=4/LKl92i_KR6PQ1pO_OTPSVI38nYrq.UvxdF_5-9vgbmmS0T3UFEsOqQPUbjgI" for 127.0.0.1 at 2014-07-06 18:18:37 -0500
11729
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11730
+ Parameters: {"state"=>"16e0975ed02efc7a3016a9568d2fa27eb4dc5303e84bc05d", "code"=>"4/LKl92i_KR6PQ1pO_OTPSVI38nYrq.UvxdF_5-9vgbmmS0T3UFEsOqQPUbjgI", "provider"=>"google_oauth2"}
11731
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' AND "users"."provider" = 'google_oauth2' ORDER BY "users"."id" ASC LIMIT 1
11732
+  (0.1ms) begin transaction
11733
+ SQL (0.3ms) UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["confirmed_at", "2014-07-06 23:18:38.899945"], ["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$z.OzimoNhWFn3Sg0WiZcn.giwyVTHPBZPNaWTWIUSCWxhAx.nfFvm\",\"expiry\":\"2014-07-20 18:18:38 -0500\"}}"], ["updated_at", "2014-07-06 23:18:38.900474"]]
11734
+  (1.7ms) commit transaction
11735
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.1ms)
11736
+ Completed 200 OK in 101ms (Views: 1.7ms | ActiveRecord: 2.2ms)
11737
+
11738
+
11739
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:18:42 -0500
11740
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11741
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' LIMIT 1
11742
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
11743
+  (0.1ms) begin transaction
11744
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$z.OzimoNhWFn3Sg0WiZcn.giwyVTHPBZPNaWTWIUSCWxhAx.nfFvm\",\"expiry\":\"2014-07-20 18:18:38 -0500\"}}"], ["updated_at", "2014-07-06 23:18:42.787576"]]
11745
+  (1.6ms) commit transaction
11746
+  (0.1ms) begin transaction
11747
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$1YCC/9ULk73tkFDD9Fk13ePpM1g58ORLtnNTJY/j8dXvc7ToNSuXq\",\"expiry\":\"2014-07-20 18:18:42 -0500\"}}"], ["updated_at", "2014-07-06 23:18:42.851147"]]
11748
+  (0.6ms) commit transaction
11749
+ Completed 200 OK in 130ms (Views: 0.1ms | ActiveRecord: 3.3ms)
11750
+
11751
+
11752
+ Started OPTIONS "/auth/sign_in" for 127.0.0.1 at 2014-07-06 18:19:02 -0500
11753
+
11754
+
11755
+ Started POST "/auth/sign_in" for 127.0.0.1 at 2014-07-06 18:19:02 -0500
11756
+ Processing by DeviseTokenAuth::SessionsController#create as HTML
11757
+ Parameters: {"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]", "session"=>{"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]"}}
11758
+ Unpermitted parameters: session
11759
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11760
+ Completed 401 Unauthorized in 67ms (Views: 0.3ms | ActiveRecord: 0.2ms)
11761
+
11762
+
11763
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:23:48 -0500
11764
+
11765
+ NoMethodError (undefined method `validate_uniqueness_of' for #<Class:0x007fe5c33ccd90>):
11766
+ attr_encrypted (1.3.2) lib/attr_encrypted.rb:258:in `method_missing'
11767
+ activerecord (4.1.2) lib/active_record/dynamic_matchers.rb:26:in `method_missing'
11768
+ attr_encrypted (1.3.2) lib/attr_encrypted/adapters/active_record.rb:75:in `method_missing_with_attr_encrypted'
11769
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/models/user.rb:11:in `<class:User>'
11770
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/models/user.rb:1:in `<top (required)>'
11771
+ activesupport (4.1.2) lib/active_support/dependencies.rb:443:in `load'
11772
+ activesupport (4.1.2) lib/active_support/dependencies.rb:443:in `block in load_file'
11773
+ activesupport (4.1.2) lib/active_support/dependencies.rb:633:in `new_constants_in'
11774
+ activesupport (4.1.2) lib/active_support/dependencies.rb:442:in `load_file'
11775
+ activesupport (4.1.2) lib/active_support/dependencies.rb:342:in `require_or_load'
11776
+ activesupport (4.1.2) lib/active_support/dependencies.rb:480:in `load_missing_constant'
11777
+ activesupport (4.1.2) lib/active_support/dependencies.rb:180:in `const_missing'
11778
+ activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `const_get'
11779
+ activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `block in constantize'
11780
+ activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `each'
11781
+ activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `inject'
11782
+ activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `constantize'
11783
+ activesupport (4.1.2) lib/active_support/dependencies.rb:552:in `get'
11784
+ activesupport (4.1.2) lib/active_support/dependencies.rb:583:in `constantize'
11785
+ devise (3.2.4) lib/devise.rb:297:in `get'
11786
+ devise (3.2.4) lib/devise/mapping.rb:77:in `to'
11787
+ devise (3.2.4) lib/devise/mapping.rb:72:in `modules'
11788
+ devise (3.2.4) lib/devise/mapping.rb:89:in `routes'
11789
+ devise (3.2.4) lib/devise/mapping.rb:156:in `default_used_route'
11790
+ devise (3.2.4) lib/devise/mapping.rb:66:in `initialize'
11791
+ devise (3.2.4) lib/devise.rb:331:in `new'
11792
+ devise (3.2.4) lib/devise.rb:331:in `add_mapping'
11793
+ devise (3.2.4) lib/devise/rails/routes.rb:221:in `block in devise_for'
11794
+ devise (3.2.4) lib/devise/rails/routes.rb:220:in `each'
11795
+ devise (3.2.4) lib/devise/rails/routes.rb:220:in `devise_for'
11796
+ /Users/lynnhurley/Code/Auth/devise_token_auth/config/routes.rb:2:in `block in <top (required)>'
11797
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:543:in `instance_exec'
11798
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:543:in `block in with_default_scope'
11799
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:757:in `scope'
11800
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:542:in `with_default_scope'
11801
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:335:in `eval_block'
11802
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:315:in `draw'
11803
+ /Users/lynnhurley/Code/Auth/devise_token_auth/config/routes.rb:1:in `<top (required)>'
11804
+ activesupport (4.1.2) lib/active_support/dependencies.rb:241:in `load'
11805
+ activesupport (4.1.2) lib/active_support/dependencies.rb:241:in `block in load'
11806
+ activesupport (4.1.2) lib/active_support/dependencies.rb:232:in `load_dependency'
11807
+ activesupport (4.1.2) lib/active_support/dependencies.rb:241:in `load'
11808
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
11809
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:40:in `each'
11810
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:40:in `load_paths'
11811
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:16:in `reload!'
11812
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:26:in `block in updater'
11813
+ activesupport (4.1.2) lib/active_support/file_update_checker.rb:75:in `call'
11814
+ activesupport (4.1.2) lib/active_support/file_update_checker.rb:75:in `execute'
11815
+ railties (4.1.2) lib/rails/application/routes_reloader.rb:7:in `execute'
11816
+ railties (4.1.2) lib/rails/application/finisher.rb:83:in `block (2 levels) in <module:Finisher>'
11817
+ activesupport (4.1.2) lib/active_support/callbacks.rb:438:in `instance_exec'
11818
+ activesupport (4.1.2) lib/active_support/callbacks.rb:438:in `block in make_lambda'
11819
+ activesupport (4.1.2) lib/active_support/callbacks.rb:184:in `call'
11820
+ activesupport (4.1.2) lib/active_support/callbacks.rb:184:in `block in simple'
11821
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `call'
11822
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `block in simple'
11823
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `call'
11824
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `block in simple'
11825
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `call'
11826
+ activesupport (4.1.2) lib/active_support/callbacks.rb:185:in `block in simple'
11827
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
11828
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
11829
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
11830
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:71:in `call'
11831
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11832
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11833
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11834
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
11835
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
11836
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11837
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
11838
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
11839
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
11840
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11841
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11842
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11843
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
11844
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11845
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
11846
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11847
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
11848
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
11849
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11850
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11851
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11852
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
11853
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
11854
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
11855
+
11856
+
11857
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
11858
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
11859
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
11860
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
11861
+
11862
+
11863
+ Started GET "/auth/facebook" for 127.0.0.1 at 2014-07-06 18:24:14 -0500
11864
+
11865
+
11866
+ Started GET "/auth/facebook/callback?code=AQAw7hESQpSQa81QLtSlWXAnaadtFVGvWZhVYAAvYQ-1MGQT_YLaxiDq-4_P7hzb3i--PsRdNzN6V3fG1xeAju0xjvan9nAVsqx5hr3pM1oXLlJGBdTF1bFTehr6xyBi-VOsmznO6GV6hHzS0L2sCYB-0AKzuNOSZZPEwLc4Zlicc4mLkHXPsHQYkLbYyoC-h1nNx06ugeEXeFnPiLqRI50XDWSGx5-D6lmXMZQCuZjE9HfDtnuHme-qE9okZ3VLtLTqkf_j0Wu8vQLXhmuDv3GdHm3wcgvoR9oLAo7YOherBTa6oNvJsB7TDyJpwj0JrCA&state=44c5fe68e5f90e07eb745069e751a248014fabc04393482a" for 127.0.0.1 at 2014-07-06 18:24:14 -0500
11867
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11868
+ Parameters: {"code"=>"AQAw7hESQpSQa81QLtSlWXAnaadtFVGvWZhVYAAvYQ-1MGQT_YLaxiDq-4_P7hzb3i--PsRdNzN6V3fG1xeAju0xjvan9nAVsqx5hr3pM1oXLlJGBdTF1bFTehr6xyBi-VOsmznO6GV6hHzS0L2sCYB-0AKzuNOSZZPEwLc4Zlicc4mLkHXPsHQYkLbYyoC-h1nNx06ugeEXeFnPiLqRI50XDWSGx5-D6lmXMZQCuZjE9HfDtnuHme-qE9okZ3VLtLTqkf_j0Wu8vQLXhmuDv3GdHm3wcgvoR9oLAo7YOherBTa6oNvJsB7TDyJpwj0JrCA", "state"=>"44c5fe68e5f90e07eb745069e751a248014fabc04393482a", "provider"=>"facebook"}
11869
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1
11870
+  (0.1ms) begin transaction
11871
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 2) AND "users"."provider" = 'email' LIMIT 1
11872
+ SQL (0.3ms) UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["confirmed_at", "2014-07-06 23:24:15.743447"], ["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$P6ylem8vUo1tH1tfgT8OZ.Z9O9uJlG5jGcCUcrtis4g7ILQACJRsW\",\"expiry\":\"2014-07-20 18:18:36 -0500\"},\"k2zFJJ7rcSoJho3MBwzM5w\":{\"token\":\"$2a$10$qM4WgVAef.bKgZWfH4jGj.8JDObDJFKTCAgzjUBCmlQ5cOBv7lOaS\",\"expiry\":\"2014-07-20 18:24:15 -0500\"}}"], ["updated_at", "2014-07-06 23:24:15.750894"]]
11873
+  (2.0ms) commit transaction
11874
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.1ms)
11875
+ Completed 200 OK in 106ms (Views: 1.7ms | ActiveRecord: 3.0ms)
11876
+
11877
+
11878
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-06 18:24:19 -0500
11879
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
11880
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' LIMIT 1
11881
+  (0.1ms) begin transaction
11882
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 2) AND "users"."provider" = 'email' LIMIT 1
11883
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$P6ylem8vUo1tH1tfgT8OZ.Z9O9uJlG5jGcCUcrtis4g7ILQACJRsW\",\"expiry\":\"2014-07-20 18:18:36 -0500\"},\"k2zFJJ7rcSoJho3MBwzM5w\":{\"token\":\"$2a$10$3.SmnPgrf.WknJt6B99jaOCR8yGjkCgNXGKACPXwpx.fXmVLiFPtC\",\"expiry\":\"2014-07-20 18:24:19 -0500\"}}"], ["updated_at", "2014-07-06 23:24:19.721141"]]
11884
+  (1.7ms) commit transaction
11885
+ Completed 200 OK in 130ms (Views: 0.3ms | ActiveRecord: 2.4ms)
11886
+
11887
+
11888
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:24:21 -0500
11889
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11890
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '10203213484155274' LIMIT 1
11891
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
11892
+  (0.0ms) begin transaction
11893
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$P6ylem8vUo1tH1tfgT8OZ.Z9O9uJlG5jGcCUcrtis4g7ILQACJRsW\",\"expiry\":\"2014-07-20 18:18:36 -0500\"},\"k2zFJJ7rcSoJho3MBwzM5w\":{\"token\":\"$2a$10$3.SmnPgrf.WknJt6B99jaOCR8yGjkCgNXGKACPXwpx.fXmVLiFPtC\",\"expiry\":\"2014-07-20 18:24:19 -0500\"}}"], ["updated_at", "2014-07-06 23:24:21.919940"]]
11894
+  (1.6ms) commit transaction
11895
+  (0.1ms) begin transaction
11896
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 2) AND "users"."provider" = 'email' LIMIT 1
11897
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"K0tUCytaW3bjyGcPoE8TOw\":{\"token\":\"$2a$10$P6ylem8vUo1tH1tfgT8OZ.Z9O9uJlG5jGcCUcrtis4g7ILQACJRsW\",\"expiry\":\"2014-07-20 18:18:36 -0500\"},\"k2zFJJ7rcSoJho3MBwzM5w\":{\"token\":\"$2a$10$3oxf2W21ah3VbmgBO5EjZuwWsUIEJAVvuBpdITq7jrXlUNPlWXCkW\",\"expiry\":\"2014-07-20 18:24:21 -0500\"}}"], ["updated_at", "2014-07-06 23:24:21.984230"]]
11898
+  (0.5ms) commit transaction
11899
+ Completed 200 OK in 130ms (Views: 0.1ms | ActiveRecord: 3.2ms)
11900
+
11901
+
11902
+ Started GET "/auth/google_oauth2" for 127.0.0.1 at 2014-07-06 18:24:24 -0500
11903
+
11904
+
11905
+ Started GET "/auth/google_oauth2/callback?state=8d8c24578a91d5232bc563cf633fdac98b17e4954e09a594&code=4/pm9xyUmgvOYiWZra7xlWYdH_RgJN.UqTF6YBwtU0UmmS0T3UFEsPM0v8bjgI" for 127.0.0.1 at 2014-07-06 18:24:24 -0500
11906
+ Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
11907
+ Parameters: {"state"=>"8d8c24578a91d5232bc563cf633fdac98b17e4954e09a594", "code"=>"4/pm9xyUmgvOYiWZra7xlWYdH_RgJN.UqTF6YBwtU0UmmS0T3UFEsPM0v8bjgI", "provider"=>"google_oauth2"}
11908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' AND "users"."provider" = 'google_oauth2' ORDER BY "users"."id" ASC LIMIT 1
11909
+  (0.1ms) begin transaction
11910
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 1) AND "users"."provider" = 'email' LIMIT 1
11911
+ SQL (0.2ms) UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["confirmed_at", "2014-07-06 23:24:25.785589"], ["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$1YCC/9ULk73tkFDD9Fk13ePpM1g58ORLtnNTJY/j8dXvc7ToNSuXq\",\"expiry\":\"2014-07-20 18:18:42 -0500\"},\"-d02Cao7Ps4mDNm7mHugJw\":{\"token\":\"$2a$10$KvW13vb4uCLyhxfCWXiymOKQV4OezJWfdrLqNufKzOMhRz1JhcFRa\",\"expiry\":\"2014-07-20 18:24:25 -0500\"}}"], ["updated_at", "2014-07-06 23:24:25.786835"]]
11912
+  (1.7ms) commit transaction
11913
+ Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.1ms)
11914
+ Completed 200 OK in 104ms (Views: 1.5ms | ActiveRecord: 2.4ms)
11915
+
11916
+
11917
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:24:28 -0500
11918
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
11919
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '110417483437532545267' LIMIT 1
11920
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
11921
+  (0.0ms) begin transaction
11922
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$1YCC/9ULk73tkFDD9Fk13ePpM1g58ORLtnNTJY/j8dXvc7ToNSuXq\",\"expiry\":\"2014-07-20 18:18:42 -0500\"},\"-d02Cao7Ps4mDNm7mHugJw\":{\"token\":\"$2a$10$KvW13vb4uCLyhxfCWXiymOKQV4OezJWfdrLqNufKzOMhRz1JhcFRa\",\"expiry\":\"2014-07-20 18:24:25 -0500\"}}"], ["updated_at", "2014-07-06 23:24:28.509386"]]
11923
+  (2.0ms) commit transaction
11924
+  (0.1ms) begin transaction
11925
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 1) AND "users"."provider" = 'email' LIMIT 1
11926
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"o3DGduGcN3SOCyglYFlegQ\":{\"token\":\"$2a$10$YCyWcWft8m8Y/4xnYLIUYOW19Zl1TGZrSr1EGiJDmdxTdwRiQH6gC\",\"expiry\":\"2014-07-20 17:43:49 -0500\"},\"HAHmmsKPI9XJ_aRtTGxHMw\":{\"token\":\"$2a$10$1YCC/9ULk73tkFDD9Fk13ePpM1g58ORLtnNTJY/j8dXvc7ToNSuXq\",\"expiry\":\"2014-07-20 18:18:42 -0500\"},\"-d02Cao7Ps4mDNm7mHugJw\":{\"token\":\"$2a$10$PMshUYXQPXajIyx8sEtjb.PXLVx9FPMnGiO.kAcagYHrktcUjSKhe\",\"expiry\":\"2014-07-20 18:24:28 -0500\"}}"], ["updated_at", "2014-07-06 23:24:28.604993"]]
11927
+  (0.8ms) commit transaction
11928
+ Completed 200 OK in 191ms (Views: 0.2ms | ActiveRecord: 3.8ms)
11929
+
11930
+
11931
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-06 18:24:40 -0500
11932
+
11933
+
11934
+ Started POST "/auth" for 127.0.0.1 at 2014-07-06 18:24:40 -0500
11935
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
11936
+ Parameters: {"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
11937
+ Unpermitted parameters: registration
11938
+ Unpermitted parameters: registration
11939
+  (0.1ms) begin transaction
11940
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."provider" = 'email' LIMIT 1
11941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '3084ddf32f79ff0ba6359c7dea3ddf2fa09b4d3b374bb1b66125c0928dd1b38c' ORDER BY "users"."id" ASC LIMIT 1
11942
+ Binary data inserted for `string` type on column `confirmation_token`
11943
+ Binary data inserted for `string` type on column `encrypted_password`
11944
+ SQL (0.5ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-06 23:24:41.071405"], ["confirmation_token", "3084ddf32f79ff0ba6359c7dea3ddf2fa09b4d3b374bb1b66125c0928dd1b38c"], ["created_at", "2014-07-06 23:24:41.070690"], ["email", "lynn.dylan.hurley@gmail.com"], ["encrypted_password", "$2a$10$f8UcMqogQjOl5UoMC4Dn..HnsC5NnMTMQrA79N0u8bLimEYgeE9tC"], ["provider", "email"], ["tokens", "{}"], ["uid", "lynn.dylan.hurley@gmail.com"], ["updated_at", "2014-07-06 23:24:41.070690"]]
11945
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
11946
+
11947
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13.9ms
11948
+
11949
+ Sent mail to lynn.dylan.hurley@gmail.com (50.0ms)
11950
+ Date: Sun, 06 Jul 2014 18:24:41 -0500
11951
+ From: please-change-me-at-config-initializers-devise@example.com
11952
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
11953
+ To: lynn.dylan.hurley@gmail.com
11954
+ Message-ID: <53b9dab9169c3_17aaf3ff2e45d949c798be@Lynns-MacBook-Pro.local.mail>
11955
+ Subject: Confirmation instructions
11956
+ Mime-Version: 1.0
11957
+ Content-Type: text/html;
11958
+ charset=UTF-8
11959
+ Content-Transfer-Encoding: 7bit
11960
+
11961
+ <p>Welcome lynn.dylan.hurley@gmail.com!</p>
11962
+
11963
+ <p>You can confirm your account email through the link below:</p>
11964
+
11965
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=yaxFkw3ve2Ts3yGAyZ5c">Confirm my account</a></p>
11966
+
11967
+  (0.9ms) commit transaction
11968
+ Completed 200 OK in 167ms (Views: 0.3ms | ActiveRecord: 1.7ms)
11969
+
11970
+
11971
+ Started GET "/auth/confirmation?confirmation_token=yaxFkw3ve2Ts3yGAyZ5c" for 127.0.0.1 at 2014-07-06 18:25:05 -0500
11972
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
11973
+ Parameters: {"confirmation_token"=>"yaxFkw3ve2Ts3yGAyZ5c"}
11974
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '3084ddf32f79ff0ba6359c7dea3ddf2fa09b4d3b374bb1b66125c0928dd1b38c' ORDER BY "users"."id" ASC LIMIT 1
11975
+  (0.0ms) begin transaction
11976
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["confirmation_token", nil], ["confirmed_at", "2014-07-06 23:25:05.037656"], ["tokens", "{}"], ["updated_at", "2014-07-06 23:25:05.037900"]]
11977
+  (0.7ms) commit transaction
11978
+  (0.1ms) begin transaction
11979
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 3) AND "users"."provider" = 'email' LIMIT 1
11980
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["confirmation_token", "yaxFkw3ve2Ts3yGAyZ5c"], ["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$ppH./InfKBXZxOrFdcNUzeL8UQOf5Oa8p14W8tDWTTUNq5jzOsXCK\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:05.101995"]]
11981
+  (0.5ms) commit transaction
11982
+ Redirected to http://localhost:7777/?client_id=kU8m4mNU3BEP9KkqAj9MnQ&token=BHoML93okB-lWoAj-qJg8w&uid=lynn.dylan.hurley%40gmail.com
11983
+  (0.1ms) begin transaction
11984
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 3) AND "users"."provider" = 'email' LIMIT 1
11985
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$ppH./InfKBXZxOrFdcNUzeL8UQOf5Oa8p14W8tDWTTUNq5jzOsXCK\",\"expiry\":\"2014-07-20 18:25:05 -0500\"},\"\":{\"token\":\"$2a$10$s7JrwwvZfMUcDXG7MG8LLuVN7oNg3/7lYLCVpTvxCoGaSVm.Ty4lO\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:05.165036"]]
11986
+  (0.6ms) commit transaction
11987
+ Completed 302 Found in 132ms (ActiveRecord: 3.2ms)
11988
+
11989
+
11990
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-06 18:25:05 -0500
11991
+
11992
+
11993
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-06 18:25:05 -0500
11994
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
11995
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
11996
+  (0.1ms) begin transaction
11997
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 3) AND "users"."provider" = 'email' LIMIT 1
11998
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$1siPiab5fckn8c.A0vH3JulO3.KhovVoW86SUzPj0tUyRRWJOz/Ra\",\"expiry\":\"2014-07-20 18:25:05 -0500\"},\"\":{\"token\":\"$2a$10$s7JrwwvZfMUcDXG7MG8LLuVN7oNg3/7lYLCVpTvxCoGaSVm.Ty4lO\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:05.813168"]]
11999
+  (1.6ms) commit transaction
12000
+ Completed 200 OK in 127ms (Views: 0.3ms | ActiveRecord: 2.2ms)
12001
+
12002
+
12003
+ Started OPTIONS "/demo/members_only" for 127.0.0.1 at 2014-07-06 18:25:09 -0500
12004
+
12005
+
12006
+ Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-06 18:25:09 -0500
12007
+ Processing by DemoController#members_only as HTML
12008
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
12009
+  (0.1ms) begin transaction
12010
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 3) AND "users"."provider" = 'email' LIMIT 1
12011
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$K3jgH8CFio7jL6XCO.pIW.OYpemD/B8yaYTvA83DeTln1yPassEqm\",\"expiry\":\"2014-07-20 18:25:09 -0500\"},\"\":{\"token\":\"$2a$10$s7JrwwvZfMUcDXG7MG8LLuVN7oNg3/7lYLCVpTvxCoGaSVm.Ty4lO\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:09.364989"]]
12012
+  (1.6ms) commit transaction
12013
+ Completed 200 OK in 125ms (Views: 0.7ms | ActiveRecord: 2.2ms)
12014
+
12015
+
12016
+ Started OPTIONS "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:25:16 -0500
12017
+
12018
+
12019
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-07-06 18:25:16 -0500
12020
+ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
12021
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'lynn.dylan.hurley@gmail.com' LIMIT 1
12022
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1
12023
+  (0.0ms) begin transaction
12024
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$K3jgH8CFio7jL6XCO.pIW.OYpemD/B8yaYTvA83DeTln1yPassEqm\",\"expiry\":\"2014-07-20 18:25:09 -0500\"},\"\":{\"token\":\"$2a$10$s7JrwwvZfMUcDXG7MG8LLuVN7oNg3/7lYLCVpTvxCoGaSVm.Ty4lO\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:16.705890"]]
12025
+  (1.6ms) commit transaction
12026
+  (0.1ms) begin transaction
12027
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."id" != 3) AND "users"."provider" = 'email' LIMIT 1
12028
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"kU8m4mNU3BEP9KkqAj9MnQ\":{\"token\":\"$2a$10$.LdWdZsM9.eNMZdMCAoRfudp9QijcoFjgJI/6aZYFLznoF9Ql.w92\",\"expiry\":\"2014-07-20 18:25:16 -0500\"},\"\":{\"token\":\"$2a$10$s7JrwwvZfMUcDXG7MG8LLuVN7oNg3/7lYLCVpTvxCoGaSVm.Ty4lO\",\"expiry\":\"2014-07-20 18:25:05 -0500\"}}"], ["updated_at", "2014-07-06 23:25:16.769383"]]
12029
+  (0.8ms) commit transaction
12030
+ Completed 200 OK in 129ms (Views: 0.1ms | ActiveRecord: 3.5ms)
12031
+
12032
+
12033
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-06 18:25:24 -0500
12034
+
12035
+
12036
+ Started POST "/auth" for 127.0.0.1 at 2014-07-06 18:25:24 -0500
12037
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
12038
+ Parameters: {"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=kU8m4mNU3BEP9KkqAj9MnQ&token=BHoML93okB-lWoAj-qJg8w&uid=lynn.dylan.hurley%40gmail.com", "registration"=>{"email"=>"lynn.dylan.hurley@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=kU8m4mNU3BEP9KkqAj9MnQ&token=BHoML93okB-lWoAj-qJg8w&uid=lynn.dylan.hurley%40gmail.com"}}
12039
+ Unpermitted parameters: registration
12040
+ Unpermitted parameters: registration
12041
+  (0.1ms) begin transaction
12042
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley@gmail.com' AND "users"."provider" = 'email' LIMIT 1
12043
+  (0.1ms) rollback transaction
12044
+ Completed 403 Forbidden in 69ms (Views: 0.3ms | ActiveRecord: 0.3ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley