ruby_jwt 2.0.2 → 2.0.4

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: be1da5a6105e3f41aa9c804a07ae90517ee75b2d
4
- data.tar.gz: 1ef89a4e914c4271022172b5f4fcfd8e93889214
3
+ metadata.gz: c26f05952897384ad7d987c432d6e256dd0b4643
4
+ data.tar.gz: acdab5df412b9b6bcda49c0a2d2dc6fc4565ceef
5
5
  SHA512:
6
- metadata.gz: e7d992bc6f0777240f7f429ea12d0851fd75d46d01c9120c6aca41a663344f9e2a6bbbe9d5e9147a6a3d559e1f7893e49bb59967d6312d8662472fae2bacd663
7
- data.tar.gz: 991d37aebad4af8a107eb6cd4ec1418f866707d4b209623c87ab1ae667710bdf0e02b9333daf290a8cc7083cf48cb8aedda5145b4941ff046ba38e456159a4aa
6
+ metadata.gz: c07bd70e45037595948e4685519b52baf4cc6dbad02f3ab51e1d3b9879cc185f5980044f6ca830f316a9fc651a26a9a2d2c8ab77c519b3462a61214997da5c6e
7
+ data.tar.gz: ecf1f0ab9e80f552dc954fa1c1b6e69288d001544f3c4313eedb8c9e3c89c645b71945cc23fda1fecd8db1a8cf295a3744f09b47eee6f7af99048268bd799991
data/lib/ruby_jwt.rb CHANGED
@@ -7,22 +7,14 @@ module JWT
7
7
  class VerificationError < StandardError;end
8
8
  class SignError < StandardError;end
9
9
  class DecodeResponse
10
- attr_accessor :header, :payload, :signature
11
- def initialize(header,payload,signature)
10
+ attr_accessor :header, :payload, :signature, :sign_input
11
+ def initialize(header,payload,signature,sign_input)
12
12
  @header = header
13
13
  @payload = payload
14
14
  @signature = signature
15
+ @sign_input = sign_input
15
16
  end
16
17
  end
17
- # class VerificationResponse
18
- # attr_accessor :success, :message, :decoded_token
19
-
20
- # def initialize(success,message, decoded = nil)
21
- # @success = success
22
- # @message = message
23
- # @decoded_token = decoded
24
- # end
25
- # end
26
18
 
27
19
  # class OpenSSL::PKey::EC
28
20
  # alias_method :private?, :private_key?
@@ -59,22 +51,21 @@ module JWT
59
51
  jwt_parts = token.split(".")
60
52
  header = json_decode_data(jwt_parts[0])
61
53
  payload = json_decode_data(jwt_parts[1])
62
- return DecodeResponse.new(header,payload,jwt_parts[2])
54
+ return DecodeResponse.new(header,payload,jwt_parts[2],jwt_parts[0..1].join("."))
63
55
  end
64
56
 
65
57
  def verify(token,secret,options={})
66
58
  raise VerificationError.new("JWT cannot be blank") if !token or token.empty?
67
59
  jwt_parts = token.split(".")
60
+ raise VerificationError.new("JWT has invalid number of segments.") if(jwt_parts.count != 3 and secret)
61
+ raise VerificationError.new("JWT has invalid number of segments.") if((jwt_parts.count < 2 or jwt_parts.count > 3) and !secret)
62
+ #raise VerificationError.new("JWT signature is required.") if(jwt_parts[2].nil? and secret)
68
63
  jwt = decode(token)
69
64
  alg = jwt.header[:alg]
70
-
71
- raise VerificationError.new("JWT has invalid number of segments.") if(jwt_parts.count < 3 and alg != "none")
72
- raise VerificationError.new("JWT has invalid number of segments.") if(jwt_parts.count < 2 and alg == "none")
73
65
 
74
66
  payload = jwt.payload
75
67
  signature = jwt.signature.nil? ? "none" : base64urldecode(jwt.signature)
76
-
77
- raise VerificationError.new("JWT signature is required.") if(jwt.signature.nil? and !secret.nil?)
68
+
78
69
  current_time = Time.now.to_i
79
70
  if(payload[:exp] and current_time >= payload[:exp])
80
71
  raise VerificationError.new("JWT is expired.")
@@ -93,7 +84,7 @@ module JWT
93
84
  raise VerificationError.new("JWT audience is invalid.") if !audience.include? payload[:aud]
94
85
  end
95
86
 
96
- raise VerificationError.new("JWT signature is invalid.") if !verify_signature(alg,secret,jwt_parts[0..1].join("."),signature)
87
+ raise VerificationError.new("JWT signature is invalid.") if !verify_signature(alg,secret,jwt.sign_input,signature)
97
88
 
98
89
  return jwt
99
90
  end
@@ -103,20 +94,16 @@ module JWT
103
94
  #utility methods
104
95
 
105
96
  def json_decode_data(data)
106
- if defined?(Rails)
107
- return JSON.load(base64urldecode(data)).symbolize_keys!
108
- else
109
- return symbolize_keys(JSON.load(base64urldecode(data)))
110
- end
97
+ return JSON.parse(base64urldecode(data),{:symbolize_names => true})
111
98
  end
112
99
 
113
100
  def encode_header(header_options)
114
101
  header = {:typ => "JWT"}.merge(header_options)
115
- return base64urlencode(JSON.dump(header))
102
+ return base64urlencode(JSON.generate(header))
116
103
  end
117
104
 
118
105
  def encode_payload(payload)
119
- return base64urlencode(JSON.dump(payload))
106
+ return base64urlencode(JSON.generate(payload))
120
107
  end
121
108
 
122
109
  def encode_signature(data,key,alg)
@@ -173,10 +160,6 @@ module JWT
173
160
 
174
161
  end
175
162
 
176
- def symbolize_keys(hash)
177
- return hash.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
178
- end
179
-
180
163
  def time_compare(a,b)
181
164
  return false if a.nil? || b.nil? || a.empty? || b.empty? || a.bytesize != b.bytesize
182
165
  l = a.bytes
@@ -1,3 +1,3 @@
1
1
  module RubyJwt
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.4"
3
3
  end
@@ -0,0 +1,3 @@
1
+ module RubyJwt
2
+ VERSION = "3.0.0"
3
+ end
@@ -5,9 +5,12 @@ class ApplicationController < ActionController::Base
5
5
 
6
6
  def verify_token
7
7
  if(cookies[:session_token])
8
- x = JWT.verify(cookies[:session_token],"secret")
9
- redirect_to(root_path) if !x.success
10
- @current_user = User.find(x.decoded_token.payload[:user_id])
8
+ begin
9
+ x = JWT.verify(cookies[:session_token],"secret")
10
+ @current_user = User.find(x.payload[:user_id])
11
+ rescue JWT::VerificationError => e
12
+ redirect_to root_path
13
+ end
11
14
  else
12
15
  redirect_to root_path
13
16
  end
@@ -0,0 +1,21 @@
1
+ class ApplicationController < ActionController::Base
2
+ # Prevent CSRF attacks by raising an exception.
3
+ # For APIs, you may want to use :null_session instead.
4
+ protect_from_forgery with: :exception
5
+
6
+ def verify_token
7
+ if(cookies[:session_token])
8
+ x = JWT.verify(cookies[:session_token],"secret")
9
+ if(x.success)
10
+ @current_user = User.find(x.payload[:user_id])
11
+ else
12
+ redirect_to root_path
13
+ else
14
+ redirect_to root_path
15
+ end
16
+
17
+
18
+
19
+ end
20
+
21
+ end
@@ -18,7 +18,7 @@ class UsersController < ApplicationController
18
18
  end
19
19
 
20
20
  def login
21
- cookies[:session_token] = JWT.sign({:user_id => 1},"secret",{},{:alg => "HS384"})
21
+ cookies[:session_token] = JWT.sign({:user_id => 1},"secret",{:exp => 10},{:alg => "HS384"})
22
22
  end
23
23
 
24
24
  # GET /users/1/edit
@@ -1110,3 +1110,983 @@ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-18 20:57:3
1110
1110
 
1111
1111
 
1112
1112
  Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-18 20:57:36 -0400
1113
+
1114
+
1115
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:13:46 -0400
1116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1117
+ Processing by UsersController#index as HTML
1118
+ Completed 500 Internal Server Error in 1ms
1119
+
1120
+ NoMethodError (undefined method `success' for #<JWT::DecodeResponse:0x00000005bb2178>):
1121
+ app/controllers/application_controller.rb:9:in `verify_token'
1122
+
1123
+
1124
+ Rendered /home/chris/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
1125
+ Rendered /home/chris/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
1126
+ Rendered /home/chris/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.8ms)
1127
+ Rendered /home/chris/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.4ms)
1128
+
1129
+
1130
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:15:15 -0400
1131
+ Processing by UsersController#index as HTML
1132
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1133
+ User Load (0.1ms) SELECT "users".* FROM "users"
1134
+ Rendered users/index.html.erb within layouts/application (1.8ms)
1135
+ Completed 200 OK in 48ms (Views: 38.0ms | ActiveRecord: 0.6ms)
1136
+
1137
+
1138
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1139
+
1140
+
1141
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1142
+
1143
+
1144
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1145
+
1146
+
1147
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1148
+
1149
+
1150
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1151
+
1152
+
1153
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1154
+
1155
+
1156
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:16 -0400
1157
+
1158
+
1159
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1160
+ Processing by UsersController#show as HTML
1161
+ Parameters: {"id"=>"1"}
1162
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1163
+ Rendered users/show.html.erb within layouts/application (0.9ms)
1164
+ Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.1ms)
1165
+
1166
+
1167
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1168
+
1169
+
1170
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1171
+
1172
+
1173
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1174
+
1175
+
1176
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1177
+
1178
+
1179
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1180
+
1181
+
1182
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1183
+
1184
+
1185
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:19 -0400
1186
+
1187
+
1188
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:15:20 -0400
1189
+ Processing by UsersController#index as HTML
1190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1191
+ User Load (0.1ms) SELECT "users".* FROM "users"
1192
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1193
+ Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms)
1194
+
1195
+
1196
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1197
+
1198
+
1199
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1200
+
1201
+
1202
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1203
+
1204
+
1205
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1206
+
1207
+
1208
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1209
+
1210
+
1211
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1212
+
1213
+
1214
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:21 -0400
1215
+
1216
+
1217
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:22 -0400
1218
+
1219
+
1220
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:22 -0400
1221
+
1222
+
1223
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:22 -0400
1224
+
1225
+
1226
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:22 -0400
1227
+
1228
+
1229
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:15:29 -0400
1230
+ Processing by UsersController#index as HTML
1231
+ Redirected to http://192.168.0.11:3000/
1232
+ Filter chain halted as :verify_token rendered or redirected
1233
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1234
+
1235
+
1236
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:15:29 -0400
1237
+ Processing by MainController#index as HTML
1238
+ Rendered main/index.html.erb within layouts/application (0.3ms)
1239
+ Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.0ms)
1240
+
1241
+
1242
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1243
+
1244
+
1245
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1246
+
1247
+
1248
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1249
+
1250
+
1251
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1252
+
1253
+
1254
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1255
+
1256
+
1257
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1258
+
1259
+
1260
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:30 -0400
1261
+
1262
+
1263
+ Started GET "/login" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1264
+ Processing by UsersController#login as HTML
1265
+ Rendered users/login.html.erb within layouts/application (0.3ms)
1266
+ Completed 200 OK in 20ms (Views: 19.8ms | ActiveRecord: 0.0ms)
1267
+
1268
+
1269
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1270
+
1271
+
1272
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1273
+
1274
+
1275
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1276
+
1277
+
1278
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1279
+
1280
+
1281
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1282
+
1283
+
1284
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1285
+
1286
+
1287
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:34 -0400
1288
+
1289
+
1290
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1291
+ Processing by UsersController#index as HTML
1292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1293
+ User Load (0.1ms) SELECT "users".* FROM "users"
1294
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1295
+ Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.2ms)
1296
+
1297
+
1298
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1299
+ Processing by UsersController#index as HTML
1300
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1301
+ User Load (0.1ms) SELECT "users".* FROM "users"
1302
+ Rendered users/index.html.erb within layouts/application (0.8ms)
1303
+ Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.2ms)
1304
+
1305
+
1306
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1307
+
1308
+
1309
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1310
+
1311
+
1312
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1313
+
1314
+
1315
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1316
+
1317
+
1318
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1319
+
1320
+
1321
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1322
+
1323
+
1324
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:43 -0400
1325
+
1326
+
1327
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1328
+ Processing by UsersController#show as HTML
1329
+ Parameters: {"id"=>"1"}
1330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1331
+ Rendered users/show.html.erb within layouts/application (0.4ms)
1332
+ Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.1ms)
1333
+
1334
+
1335
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1336
+
1337
+
1338
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1339
+
1340
+
1341
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1342
+
1343
+
1344
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1345
+
1346
+
1347
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1348
+
1349
+
1350
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1351
+
1352
+
1353
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:15:45 -0400
1354
+
1355
+
1356
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1357
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1358
+ Processing by UsersController#index as HTML
1359
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1360
+ User Load (0.1ms) SELECT "users".* FROM "users"
1361
+ Rendered users/index.html.erb within layouts/application (2.3ms)
1362
+ Completed 200 OK in 54ms (Views: 46.3ms | ActiveRecord: 0.5ms)
1363
+
1364
+
1365
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1366
+
1367
+
1368
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1369
+
1370
+
1371
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1372
+
1373
+
1374
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1375
+
1376
+
1377
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1378
+
1379
+
1380
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1381
+
1382
+
1383
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:18:59 -0400
1384
+
1385
+
1386
+ Started GET "/login" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1387
+ Processing by UsersController#login as HTML
1388
+ Rendered users/login.html.erb within layouts/application (0.3ms)
1389
+ Completed 200 OK in 41ms (Views: 40.8ms | ActiveRecord: 0.0ms)
1390
+
1391
+
1392
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1393
+
1394
+
1395
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1396
+
1397
+
1398
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1399
+
1400
+
1401
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1402
+
1403
+
1404
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1405
+
1406
+
1407
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1408
+
1409
+
1410
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:00 -0400
1411
+
1412
+
1413
+ Started GET "/login" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1414
+ Processing by UsersController#login as HTML
1415
+ Rendered users/login.html.erb within layouts/application (0.0ms)
1416
+ Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.0ms)
1417
+
1418
+
1419
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1420
+
1421
+
1422
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1423
+
1424
+
1425
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1426
+
1427
+
1428
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1429
+
1430
+
1431
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1432
+
1433
+
1434
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1435
+
1436
+
1437
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:01 -0400
1438
+
1439
+
1440
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1441
+ Processing by UsersController#index as HTML
1442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1443
+ User Load (0.1ms) SELECT "users".* FROM "users"
1444
+ Rendered users/index.html.erb within layouts/application (1.0ms)
1445
+ Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms)
1446
+
1447
+
1448
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1449
+
1450
+
1451
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1452
+
1453
+
1454
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1455
+
1456
+
1457
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1458
+
1459
+
1460
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1461
+
1462
+
1463
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1464
+
1465
+
1466
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1467
+
1468
+
1469
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1470
+ Processing by UsersController#index as HTML
1471
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1472
+ User Load (0.1ms) SELECT "users".* FROM "users"
1473
+ Rendered users/index.html.erb within layouts/application (0.8ms)
1474
+ Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.2ms)
1475
+
1476
+
1477
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1478
+
1479
+
1480
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1481
+
1482
+
1483
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1484
+
1485
+
1486
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1487
+
1488
+
1489
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1490
+
1491
+
1492
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1493
+
1494
+
1495
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:09 -0400
1496
+
1497
+
1498
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1499
+ Processing by UsersController#index as HTML
1500
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1501
+ User Load (0.1ms) SELECT "users".* FROM "users"
1502
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1503
+ Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms)
1504
+
1505
+
1506
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1507
+
1508
+
1509
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1510
+
1511
+
1512
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1513
+
1514
+
1515
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1516
+
1517
+
1518
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1519
+
1520
+
1521
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1522
+
1523
+
1524
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1525
+
1526
+
1527
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1528
+ Processing by UsersController#index as HTML
1529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1530
+ User Load (0.1ms) SELECT "users".* FROM "users"
1531
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1532
+ Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.2ms)
1533
+
1534
+
1535
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1536
+
1537
+
1538
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1539
+
1540
+
1541
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1542
+
1543
+
1544
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1545
+
1546
+
1547
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1548
+
1549
+
1550
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1551
+
1552
+
1553
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:10 -0400
1554
+
1555
+
1556
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:19:11 -0400
1557
+ Processing by UsersController#show as HTML
1558
+ Parameters: {"id"=>"1"}
1559
+ Redirected to http://192.168.0.11:3000/
1560
+ Filter chain halted as :verify_token rendered or redirected
1561
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1562
+
1563
+
1564
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:19:11 -0400
1565
+ Processing by MainController#index as HTML
1566
+ Rendered main/index.html.erb within layouts/application (0.4ms)
1567
+ Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.0ms)
1568
+
1569
+
1570
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:11 -0400
1571
+
1572
+
1573
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:11 -0400
1574
+
1575
+
1576
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:11 -0400
1577
+
1578
+
1579
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:12 -0400
1580
+
1581
+
1582
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:12 -0400
1583
+
1584
+
1585
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:12 -0400
1586
+
1587
+
1588
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:12 -0400
1589
+
1590
+
1591
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1592
+ Processing by UsersController#show as HTML
1593
+ Parameters: {"id"=>"1"}
1594
+ Redirected to http://192.168.0.11:3000/
1595
+ Filter chain halted as :verify_token rendered or redirected
1596
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1597
+
1598
+
1599
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1600
+ Processing by MainController#index as HTML
1601
+ Rendered main/index.html.erb within layouts/application (0.0ms)
1602
+ Completed 200 OK in 19ms (Views: 19.3ms | ActiveRecord: 0.0ms)
1603
+
1604
+
1605
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1606
+
1607
+
1608
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1609
+
1610
+
1611
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1612
+
1613
+
1614
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1615
+
1616
+
1617
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1618
+
1619
+
1620
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1621
+
1622
+
1623
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:14 -0400
1624
+
1625
+
1626
+ Started GET "/login" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1627
+ Processing by UsersController#login as HTML
1628
+ Rendered users/login.html.erb within layouts/application (0.0ms)
1629
+ Completed 200 OK in 20ms (Views: 20.0ms | ActiveRecord: 0.0ms)
1630
+
1631
+
1632
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1633
+
1634
+
1635
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1636
+
1637
+
1638
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1639
+
1640
+
1641
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1642
+
1643
+
1644
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1645
+
1646
+
1647
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1648
+
1649
+
1650
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1651
+
1652
+
1653
+ Started GET "/login" for 192.168.0.27 at 2014-09-19 18:19:33 -0400
1654
+ Processing by UsersController#login as HTML
1655
+ Rendered users/login.html.erb within layouts/application (0.0ms)
1656
+ Completed 200 OK in 20ms (Views: 20.1ms | ActiveRecord: 0.0ms)
1657
+
1658
+
1659
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1660
+
1661
+
1662
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1663
+
1664
+
1665
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1666
+
1667
+
1668
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1669
+
1670
+
1671
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1672
+
1673
+
1674
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1675
+
1676
+
1677
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:34 -0400
1678
+
1679
+
1680
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1681
+ Processing by UsersController#index as HTML
1682
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1683
+ User Load (0.1ms) SELECT "users".* FROM "users"
1684
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1685
+ Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.2ms)
1686
+
1687
+
1688
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1689
+
1690
+
1691
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1692
+
1693
+
1694
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1695
+
1696
+
1697
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1698
+
1699
+
1700
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1701
+
1702
+
1703
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1704
+
1705
+
1706
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:35 -0400
1707
+
1708
+
1709
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:19:36 -0400
1710
+ Processing by UsersController#show as HTML
1711
+ Parameters: {"id"=>"1"}
1712
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1713
+ Rendered users/show.html.erb within layouts/application (0.9ms)
1714
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.1ms)
1715
+
1716
+
1717
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1718
+
1719
+
1720
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1721
+
1722
+
1723
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1724
+
1725
+
1726
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1727
+
1728
+
1729
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1730
+
1731
+
1732
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1733
+
1734
+
1735
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:37 -0400
1736
+
1737
+
1738
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1739
+ Processing by UsersController#index as HTML
1740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1741
+ User Load (0.1ms) SELECT "users".* FROM "users"
1742
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1743
+ Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.2ms)
1744
+
1745
+
1746
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1747
+
1748
+
1749
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1750
+
1751
+
1752
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1753
+
1754
+
1755
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1756
+
1757
+
1758
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1759
+
1760
+
1761
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1762
+
1763
+
1764
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1765
+
1766
+
1767
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1768
+ Processing by UsersController#index as HTML
1769
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1770
+ User Load (0.1ms) SELECT "users".* FROM "users"
1771
+ Rendered users/index.html.erb within layouts/application (1.0ms)
1772
+ Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.2ms)
1773
+
1774
+
1775
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1776
+
1777
+
1778
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1779
+
1780
+
1781
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1782
+
1783
+
1784
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1785
+
1786
+
1787
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1788
+
1789
+
1790
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1791
+
1792
+
1793
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:38 -0400
1794
+
1795
+
1796
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1797
+ Processing by UsersController#index as HTML
1798
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1799
+ User Load (0.1ms) SELECT "users".* FROM "users"
1800
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1801
+ Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.2ms)
1802
+
1803
+
1804
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1805
+
1806
+
1807
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1808
+
1809
+
1810
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1811
+
1812
+
1813
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1814
+
1815
+
1816
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1817
+
1818
+
1819
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1820
+
1821
+
1822
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1823
+
1824
+
1825
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1826
+ Processing by UsersController#index as HTML
1827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1828
+ User Load (0.1ms) SELECT "users".* FROM "users"
1829
+ Rendered users/index.html.erb within layouts/application (0.8ms)
1830
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.2ms)
1831
+
1832
+
1833
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1834
+
1835
+
1836
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:39 -0400
1837
+
1838
+
1839
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1840
+
1841
+
1842
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1843
+
1844
+
1845
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1846
+
1847
+
1848
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1849
+
1850
+
1851
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1852
+
1853
+
1854
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1855
+ Processing by UsersController#index as HTML
1856
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1857
+ User Load (0.1ms) SELECT "users".* FROM "users"
1858
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1859
+ Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms)
1860
+
1861
+
1862
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1863
+
1864
+
1865
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1866
+
1867
+
1868
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1869
+
1870
+
1871
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1872
+
1873
+
1874
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1875
+
1876
+
1877
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1878
+
1879
+
1880
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:40 -0400
1881
+
1882
+
1883
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1884
+ Processing by UsersController#index as HTML
1885
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1886
+ User Load (0.1ms) SELECT "users".* FROM "users"
1887
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1888
+ Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.2ms)
1889
+
1890
+
1891
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1892
+
1893
+
1894
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1895
+
1896
+
1897
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1898
+
1899
+
1900
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1901
+
1902
+
1903
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1904
+
1905
+
1906
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1907
+
1908
+
1909
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1910
+
1911
+
1912
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1913
+ Processing by UsersController#index as HTML
1914
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1915
+ User Load (0.1ms) SELECT "users".* FROM "users"
1916
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1917
+ Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.2ms)
1918
+
1919
+
1920
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1921
+
1922
+
1923
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1924
+
1925
+
1926
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1927
+
1928
+
1929
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1930
+
1931
+
1932
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1933
+
1934
+
1935
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1936
+
1937
+
1938
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:41 -0400
1939
+
1940
+
1941
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1942
+ Processing by UsersController#index as HTML
1943
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1944
+ User Load (0.1ms) SELECT "users".* FROM "users"
1945
+ Rendered users/index.html.erb within layouts/application (0.9ms)
1946
+ Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.2ms)
1947
+
1948
+
1949
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1950
+
1951
+
1952
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1953
+
1954
+
1955
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1956
+
1957
+
1958
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1959
+
1960
+
1961
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1962
+
1963
+
1964
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1965
+
1966
+
1967
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1968
+
1969
+
1970
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1971
+ Processing by UsersController#index as HTML
1972
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1973
+ User Load (0.1ms) SELECT "users".* FROM "users"
1974
+ Rendered users/index.html.erb within layouts/application (0.8ms)
1975
+ Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.2ms)
1976
+
1977
+
1978
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1979
+
1980
+
1981
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1982
+
1983
+
1984
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1985
+
1986
+
1987
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1988
+
1989
+
1990
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1991
+
1992
+
1993
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1994
+
1995
+
1996
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:42 -0400
1997
+
1998
+
1999
+ Started GET "/users" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2000
+ Processing by UsersController#index as HTML
2001
+ Redirected to http://192.168.0.11:3000/
2002
+ Filter chain halted as :verify_token rendered or redirected
2003
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2004
+
2005
+
2006
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2007
+ Processing by MainController#index as HTML
2008
+ Rendered main/index.html.erb within layouts/application (0.0ms)
2009
+ Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)
2010
+
2011
+
2012
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2013
+
2014
+
2015
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2016
+
2017
+
2018
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2019
+
2020
+
2021
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2022
+
2023
+
2024
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2025
+
2026
+
2027
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2028
+
2029
+
2030
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:43 -0400
2031
+
2032
+
2033
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2034
+ Processing by MainController#index as HTML
2035
+ Rendered main/index.html.erb within layouts/application (0.0ms)
2036
+ Completed 200 OK in 19ms (Views: 19.3ms | ActiveRecord: 0.0ms)
2037
+
2038
+
2039
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2040
+
2041
+
2042
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2043
+
2044
+
2045
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2046
+
2047
+
2048
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2049
+
2050
+
2051
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2052
+
2053
+
2054
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2055
+
2056
+
2057
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:44 -0400
2058
+
2059
+
2060
+ Started GET "/users/1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2061
+ Processing by UsersController#show as HTML
2062
+ Parameters: {"id"=>"1"}
2063
+ Redirected to http://192.168.0.11:3000/
2064
+ Filter chain halted as :verify_token rendered or redirected
2065
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2066
+
2067
+
2068
+ Started GET "/" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2069
+ Processing by MainController#index as HTML
2070
+ Rendered main/index.html.erb within layouts/application (0.0ms)
2071
+ Completed 200 OK in 19ms (Views: 19.1ms | ActiveRecord: 0.0ms)
2072
+
2073
+
2074
+ Started GET "/assets/main.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2075
+
2076
+
2077
+ Started GET "/assets/scaffold.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2078
+
2079
+
2080
+ Started GET "/assets/main.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2081
+
2082
+
2083
+ Started GET "/assets/users.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2084
+
2085
+
2086
+ Started GET "/assets/application.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2087
+
2088
+
2089
+ Started GET "/assets/users.css?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400
2090
+
2091
+
2092
+ Started GET "/assets/application.js?body=1" for 192.168.0.27 at 2014-09-19 18:19:45 -0400