aadhar 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/aadhar/passwords_controller.rb +1 -1
- data/app/controllers/aadhar/users_controller.rb +1 -1
- data/app/mailers/user_mailer.rb +16 -0
- data/app/views/layouts/aadhar/mailer.html.erb +5 -0
- data/app/views/layouts/aadhar/mailer.text.erb +1 -0
- data/app/views/user_mailer/reset_email.html.erb +38 -0
- data/app/views/user_mailer/signup_email.html.erb +43 -0
- data/lib/aadhar/version.rb +1 -1
- data/test/dummy/log/development.log +1114 -0
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGYxZjRjNTFhOWViZTU4MTk3NzhmNjhhYjhkZWMwOGI3ZTlmMDgyNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmI5MWI4ZDllODVmMjQxODNhZjczOTU1NGNiZDAxN2JiMTRhYzA3MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjdjYzc2OTI5YTlkY2RhODYyZWY2NWZlM2JiNzA4MjE2Y2Q0NmRlZGM5NjQz
|
10
|
+
NjYyNTgwN2YwODRmNTA2OWJkZjNiOWExMjQwOTBhMTZkNDk1YTFkNTYyZmQ4
|
11
|
+
NTZiODFmY2JhYmIyZDgwM2Y4OWMzMjlkOTk0N2Y0YjE2MGJjYTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjMxODJkYmM4YjIyODFiNDVlNTgyNWViZmMyMzkwMmZhNzg5MDAwYTk5YzMx
|
14
|
+
MDNhMzY3ZmI5YWY5MmRmMmQ0Yzk0ZmU5ZWVhZDdjMWMwNjY1NzIyNGI4ODc2
|
15
|
+
ZTBlYTJmN2Q5MGVkMDc3ZDZmYTczNzZlMTBkMjdiZDJiOTAyODg=
|
@@ -31,7 +31,7 @@ class Aadhar::PasswordsController < ApplicationController
|
|
31
31
|
@user.change_password = true
|
32
32
|
@user.save
|
33
33
|
#ResetEmailJob.set(wait: 20.seconds).perform_later(@user, @user.temp_password)
|
34
|
-
|
34
|
+
UserMailer.reset_email(@user, @user.temp_password).deliver_later
|
35
35
|
render :status => 200,
|
36
36
|
:json => { :success => true,
|
37
37
|
:info => "Check your email",
|
@@ -8,7 +8,7 @@ class Aadhar::UsersController < ApplicationController
|
|
8
8
|
@user.change_password = true
|
9
9
|
if @user.save
|
10
10
|
#RegistrationEmailJob.set(wait: 20.seconds).perform_later(@user, @user.temp_password)
|
11
|
-
|
11
|
+
UserMailer.signup_email(@user, @user.temp_password).deliver_later
|
12
12
|
render :status => 200,
|
13
13
|
:json => { :success => true,
|
14
14
|
:info => "Registered",
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class UserMailer < ActionMailer::Base
|
2
|
+
default from: "support@oneclick.com"
|
3
|
+
layout 'aadhar/mailer'
|
4
|
+
def signup_email(user, temp_password)
|
5
|
+
@user = user
|
6
|
+
@temp_password = temp_password
|
7
|
+
mail(to: @user.email, subject: 'OneClick Account Information')
|
8
|
+
end
|
9
|
+
|
10
|
+
def reset_email(user, temp_password)
|
11
|
+
@user = user
|
12
|
+
@temp_password = temp_password
|
13
|
+
mail(to: @user.email, subject: 'New password for OneClick')
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= yield %>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<center>
|
8
|
+
<table width="580" cellspacing="0" cellpadding="0" border="0" style="font-family:arial,'lucida grande','lucida sans','lucida sans unicode',tahoma,verdana,sans-serif;background:#FFF;border:2px solid #eee;padding: 10px 0px;background-color:#fff;text-align:left;">
|
9
|
+
<tr>
|
10
|
+
<td valign="top" style="padding: 15px;font-size: 14px; color: #000000; background-color:#ffffff;">
|
11
|
+
|
12
|
+
Hello <%= @user.name.titleize.strip %>,
|
13
|
+
|
14
|
+
<p style="margin:20px 0px;">We recently received a request from you to reset your password on Oneclick.</p>
|
15
|
+
|
16
|
+
<p style="margin:10px 0px;">Your new temporary password is: <b><%= @temp_password -%></b></p>
|
17
|
+
<br/>
|
18
|
+
|
19
|
+
<p style="margin:20px 0px 10px 0px;">
|
20
|
+
For security reasons, after you use the above password to sign in to Oneclick you will be required to set a new password.
|
21
|
+
</p>
|
22
|
+
</td>
|
23
|
+
</tr>
|
24
|
+
<tr>
|
25
|
+
<td style="padding: 10px 15px 15px; font-size:16px;background:#fff;">
|
26
|
+
<p style="margin:0px 0px;">
|
27
|
+
<%= "Thanks" %>,<br>
|
28
|
+
The OneClick Team<br>
|
29
|
+
</p>
|
30
|
+
</td>
|
31
|
+
</tr>
|
32
|
+
|
33
|
+
</table>
|
34
|
+
</center>
|
35
|
+
</body>
|
36
|
+
</html>
|
37
|
+
|
38
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<center>
|
8
|
+
<table width="580" cellspacing="0" cellpadding="0" border="0" style="font-family:arial,'lucida grande','lucida sans','lucida sans unicode',tahoma,verdana,sans-serif;background:#FFF;border:2px solid #eee;padding: 10px 0px;background-color:#fff;text-align:left;">
|
9
|
+
<tr>
|
10
|
+
<td valign="top" style="padding: 15px;font-size: 14px; color: #000000; background-color:#ffffff;">
|
11
|
+
Hi <%= @user.name.titleize.strip %>,
|
12
|
+
<p style="margin:20px 0px;"><%= "Here are your login details." %></p>
|
13
|
+
|
14
|
+
<p style="margin:10px 0px;color:#CC3333; font-weight: bold; font-size: 18px;"><%= "Account Information" %></p>
|
15
|
+
<p style="margin:10px 0px;"><%= "Login ID" %>: <b><%= @user.email -%></b></p>
|
16
|
+
<p style="margin:10px 0px;"><%= "Password" %>: <b><%= @temp_password -%></b></p>
|
17
|
+
<br/>
|
18
|
+
<p style="margin:20px 0px 10px 0px;">
|
19
|
+
<b><%= "For questions and support:"%></b>
|
20
|
+
</p>
|
21
|
+
<p style="margin:20px 0px 10px 0px;">
|
22
|
+
<%= 'To help you get started quickly with Oneclick, we encourage you to read our ' %>
|
23
|
+
|
24
|
+
<a href = 'http://oneclick.com/help'>help blog</a>
|
25
|
+
</p>
|
26
|
+
<p style="margin:20px 0px 10px 0px;">
|
27
|
+
<%= 'Remember, you can always email us with your questions and feedback at support@oneclick.com or visit us at our contact us page for more information on support.' %>
|
28
|
+
</p>
|
29
|
+
</td>
|
30
|
+
</tr>
|
31
|
+
<tr>
|
32
|
+
<td style="padding: 10px 15px 15px; font-size:16px;background:#fff;">
|
33
|
+
<p style="margin:0px 0px;">
|
34
|
+
<%= "Thanks" %>,<br>
|
35
|
+
The OneClick Team<br>
|
36
|
+
</p>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
|
40
|
+
</table>
|
41
|
+
</center>
|
42
|
+
</body>
|
43
|
+
</html>
|
data/lib/aadhar/version.rb
CHANGED
@@ -444,3 +444,1117 @@ Can't verify CSRF token authenticity
|
|
444
444
|
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$cifPL5jlxObe0kHfbjd3le', '$2a$10$cifPL5jlxObe0kHfbjd3lecibS9NE9HxU6hf1Mn7JNTmG2DpjtYue', 1, '2015-01-30 04:46:50.502820', '2015-01-30 04:46:50.502820')[0m
|
445
445
|
[1m[35m (128.2ms)[0m COMMIT
|
446
446
|
Completed 200 OK in 317ms (Views: 0.3ms | ActiveRecord: 153.8ms)
|
447
|
+
|
448
|
+
|
449
|
+
Started POST "/users.json" for 127.0.0.1 at 2015-01-30 12:09:14 -0600
|
450
|
+
|
451
|
+
ActionController::RoutingError (No route matches [POST] "/users.json"):
|
452
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
453
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
454
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
455
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
456
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
457
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
458
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
459
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
460
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
461
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
462
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
463
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
464
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
465
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
466
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
467
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
468
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
469
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
470
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
471
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
472
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
473
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
474
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
475
|
+
|
476
|
+
|
477
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
|
478
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
479
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
|
480
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (35.6ms)
|
481
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.3ms)
|
482
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (77.5ms)
|
483
|
+
|
484
|
+
|
485
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:09:31 -0600
|
486
|
+
Processing by Aadhar::UsersController#create as JSON
|
487
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
488
|
+
Can't verify CSRF token authenticity
|
489
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
490
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
491
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
492
|
+
Completed 422 Unprocessable Entity in 198ms (Views: 0.4ms | ActiveRecord: 2.1ms)
|
493
|
+
|
494
|
+
|
495
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:09:58 -0600
|
496
|
+
Processing by Aadhar::UsersController#create as JSON
|
497
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
498
|
+
Can't verify CSRF token authenticity
|
499
|
+
[1m[35m (0.1ms)[0m BEGIN
|
500
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1[0m
|
501
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$9zxK593sDis2j9DYW8lfUu', '$2a$10$9zxK593sDis2j9DYW8lfUupQzp3jmBYAtFpHLVU.KC0WooA4i5gXG', 1, '2015-01-30 18:09:59.046182', '2015-01-30 18:09:59.046182')
|
502
|
+
[1m[36m (72.3ms)[0m [1mCOMMIT[0m
|
503
|
+
Completed 500 Internal Server Error in 147ms
|
504
|
+
|
505
|
+
TypeError (wrong argument type Module (expected Class)):
|
506
|
+
/home/krunal/code/aadhar/app/mailers/user_mailer.rb:1:in `<top (required)>'
|
507
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load'
|
508
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
|
509
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
510
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file'
|
511
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load'
|
512
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
513
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
514
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
515
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
516
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
517
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
518
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
519
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
520
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
521
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
522
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
523
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
524
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
525
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
526
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
527
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
528
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
529
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
530
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
531
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
532
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
533
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
534
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
535
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
536
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
537
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
538
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
539
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
540
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
541
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
542
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
543
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
544
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
545
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
546
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
547
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
548
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
549
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
550
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
551
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
552
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
553
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
554
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
555
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
556
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
557
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
558
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
559
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
560
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
561
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
562
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
563
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
564
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
565
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
566
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
567
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
568
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
569
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
570
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
571
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
572
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
573
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
574
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
575
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
576
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
577
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
578
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
579
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
580
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
581
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
582
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
583
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
584
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
585
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
586
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
587
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
588
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
589
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
590
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
591
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
592
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
593
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
594
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
595
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
596
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
597
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
598
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
599
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
600
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
601
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
602
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
603
|
+
|
604
|
+
|
605
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
|
606
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
|
607
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
|
608
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (12.5ms)
|
609
|
+
|
610
|
+
|
611
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:10:43 -0600
|
612
|
+
Processing by Aadhar::UsersController#create as JSON
|
613
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
614
|
+
Can't verify CSRF token authenticity
|
615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
616
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
617
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
618
|
+
Completed 422 Unprocessable Entity in 151ms (Views: 0.3ms | ActiveRecord: 2.0ms)
|
619
|
+
|
620
|
+
|
621
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:10:53 -0600
|
622
|
+
Processing by Aadhar::UsersController#create as JSON
|
623
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
624
|
+
Can't verify CSRF token authenticity
|
625
|
+
[1m[35m (0.1ms)[0m BEGIN
|
626
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1[0m
|
627
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$P9uahZan/3vEnc7gkkmluu', '$2a$10$P9uahZan/3vEnc7gkkmluukZkUF9s0z0Y6GKkAVnB3bOSn5TZG4bG', 1, '2015-01-30 18:10:53.279349', '2015-01-30 18:10:53.279349')
|
628
|
+
[1m[36m (57.3ms)[0m [1mCOMMIT[0m
|
629
|
+
Completed 500 Internal Server Error in 140ms
|
630
|
+
|
631
|
+
TypeError (wrong argument type Module (expected Class)):
|
632
|
+
/home/krunal/code/aadhar/app/mailers/user_mailer.rb:1:in `<top (required)>'
|
633
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load'
|
634
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
|
635
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
636
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file'
|
637
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load'
|
638
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
639
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
640
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
641
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
642
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
643
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
644
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
645
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
646
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
647
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
648
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
649
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
650
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
651
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
652
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
653
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
654
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
655
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
656
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
657
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
658
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
659
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
660
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
661
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
662
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
663
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
664
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
665
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
666
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
667
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
668
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
669
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
670
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
671
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
672
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
673
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
674
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
675
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
676
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
677
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
678
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
679
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
680
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
681
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
682
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
683
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
684
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
685
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
686
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
687
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
688
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
689
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
690
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
691
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
692
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
693
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
694
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
695
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
696
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
697
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
698
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
699
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
700
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
701
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
702
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
703
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
704
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
705
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
706
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
707
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
708
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
709
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
710
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
711
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
712
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
713
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
714
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
715
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
716
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
717
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
718
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
719
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
720
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
721
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
722
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
723
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
724
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
725
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
726
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
727
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
728
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
729
|
+
|
730
|
+
|
731
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms)
|
732
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
|
733
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
|
734
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.7ms)
|
735
|
+
|
736
|
+
|
737
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:14:27 -0600
|
738
|
+
Processing by Aadhar::UsersController#create as JSON
|
739
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
740
|
+
Can't verify CSRF token authenticity
|
741
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
742
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
743
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$//RwV.bhdfj6NpUsBpr9se', '$2a$10$//RwV.bhdfj6NpUsBpr9se5C7WDbIvkNwFW2jT/WYivsLE/pi8l3a', 1, '2015-01-30 18:14:28.510861', '2015-01-30 18:14:28.510861')[0m
|
744
|
+
[1m[35m (49.4ms)[0m COMMIT
|
745
|
+
Completed 500 Internal Server Error in 200ms
|
746
|
+
|
747
|
+
LoadError (Unable to autoload constant UserMailer, expected /home/krunal/code/aadhar/app/mailers/user_mailer.rb to define it):
|
748
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
749
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
750
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
751
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
752
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
753
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
754
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
755
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
756
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
757
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
758
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
759
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
760
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
761
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
762
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
763
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
764
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
765
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
766
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
767
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
768
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
769
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
770
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
771
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
772
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
773
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
774
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
775
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
776
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
777
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
778
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
779
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
780
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
781
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
782
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
783
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
784
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
785
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
786
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
787
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
788
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
789
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
790
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
791
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
792
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
793
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
794
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
795
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
796
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
797
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
798
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
799
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
800
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
801
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
802
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
803
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
804
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
805
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
806
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
807
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
808
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
809
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
810
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
811
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
812
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
813
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
814
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
815
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
816
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
817
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
818
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
819
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
820
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
821
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
822
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
823
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
824
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
825
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
826
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
827
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
828
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
829
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
830
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
831
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
832
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
833
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
834
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
835
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
836
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
837
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
838
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
839
|
+
|
840
|
+
|
841
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
|
842
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
|
843
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
|
844
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (38.4ms)
|
845
|
+
|
846
|
+
|
847
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:15:57 -0600
|
848
|
+
Processing by Aadhar::UsersController#create as JSON
|
849
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
850
|
+
Can't verify CSRF token authenticity
|
851
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
852
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
853
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$Q2k.CiEnhjqvogYvgYw7Zu', '$2a$10$Q2k.CiEnhjqvogYvgYw7ZuCUK/NhnFN/XwCR2Xsc99IQu/fxLQEgS', 1, '2015-01-30 18:15:57.821754', '2015-01-30 18:15:57.821754')[0m
|
854
|
+
[1m[35m (74.5ms)[0m COMMIT
|
855
|
+
Completed 500 Internal Server Error in 217ms
|
856
|
+
|
857
|
+
LoadError (Unable to autoload constant UserMailer, expected /home/krunal/code/aadhar/app/mailers/user_mailer.rb to define it):
|
858
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
859
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
860
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
861
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
862
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
863
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
864
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
865
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
866
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
867
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
868
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
869
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
870
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
871
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
872
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
873
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
874
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
875
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
876
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
877
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
878
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
879
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
880
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
881
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
882
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
883
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
884
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
885
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
886
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
887
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
888
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
889
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
890
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
891
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
892
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
893
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
894
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
895
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
896
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
897
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
898
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
899
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
900
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
901
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
902
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
903
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
904
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
905
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
906
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
907
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
908
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
909
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
910
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
911
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
912
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
913
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
914
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
915
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
916
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
917
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
918
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
919
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
920
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
921
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
922
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
923
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
924
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
925
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
926
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
927
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
928
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
929
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
930
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
931
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
932
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
933
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
934
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
935
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
936
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
937
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
938
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
939
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
940
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
941
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
942
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
943
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
944
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
945
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
946
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
947
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
948
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
949
|
+
|
950
|
+
|
951
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
|
952
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
|
953
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
954
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (37.3ms)
|
955
|
+
|
956
|
+
|
957
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:19:07 -0600
|
958
|
+
Processing by Aadhar::UsersController#create as JSON
|
959
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
960
|
+
Can't verify CSRF token authenticity
|
961
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
962
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
963
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$OhFdhYBmscgDYXduReocLu', '$2a$10$OhFdhYBmscgDYXduReocLuL5D96HzxWMcWwH4cjIaP2a/ppvfu1DK', 1, '2015-01-30 18:19:08.731213', '2015-01-30 18:19:08.731213')[0m
|
964
|
+
[1m[35m (36.9ms)[0m COMMIT
|
965
|
+
Completed 500 Internal Server Error in 190ms
|
966
|
+
|
967
|
+
LoadError (Unable to autoload constant UserMailer, expected /home/krunal/code/aadhar/app/mailers/user_mailer.rb to define it):
|
968
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
969
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
970
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
971
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
972
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
973
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
974
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
975
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
976
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
977
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
978
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
979
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
980
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
981
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
982
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
983
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
984
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
985
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
986
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
987
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
988
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
989
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
990
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
991
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
992
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
993
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
994
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
995
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
996
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
997
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
998
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
999
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
1000
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
1001
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
1002
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
1003
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
1004
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
1005
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1006
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1007
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1008
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1009
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1010
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
1011
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
1012
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
1013
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1014
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1015
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1016
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1017
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
1018
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
1019
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
1020
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
1021
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
1022
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
1023
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
1024
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
1025
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
1026
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
1027
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
1028
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
1029
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
1030
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
1031
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
1032
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1033
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
1034
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
1035
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
1036
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
1037
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1038
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
1039
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
1040
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1041
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1042
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1043
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
1044
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1045
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
1046
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
1047
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
1048
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1049
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
1050
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
1051
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1052
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
1053
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1054
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
1055
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
1056
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
1057
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
1058
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
1059
|
+
|
1060
|
+
|
1061
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms)
|
1062
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
|
1063
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
1064
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.4ms)
|
1065
|
+
|
1066
|
+
|
1067
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:22:02 -0600
|
1068
|
+
Processing by Aadhar::UsersController#create as JSON
|
1069
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
1070
|
+
Can't verify CSRF token authenticity
|
1071
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1072
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
1073
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$wDNfI2tlUVAEXyVebgq7DO', '$2a$10$wDNfI2tlUVAEXyVebgq7DOfJT8eO.dqH95ub0dq7951OUXqxELCEq', 1, '2015-01-30 18:22:03.440857', '2015-01-30 18:22:03.440857')[0m
|
1074
|
+
[1m[35m (61.2ms)[0m COMMIT
|
1075
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 24bbebae-ce43-454d-b78e-a979c6c3f174) to Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/7, "hylahxo"
|
1076
|
+
[ActiveJob] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 7 LIMIT 1[0m
|
1077
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [24bbebae-ce43-454d-b78e-a979c6c3f174] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/7, "hylahxo"
|
1078
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [24bbebae-ce43-454d-b78e-a979c6c3f174]
|
1079
|
+
UserMailer#signup_email: processed outbound mail in 71.7ms
|
1080
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [24bbebae-ce43-454d-b78e-a979c6c3f174] Performed ActionMailer::DeliveryJob from Inline(mailers) in 72.4ms
|
1081
|
+
Completed 500 Internal Server Error in 480ms
|
1082
|
+
|
1083
|
+
ActionView::MissingTemplate (Missing template layouts/mailer with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
1084
|
+
* "/home/krunal/code/aadhar/test/dummy/app/views"
|
1085
|
+
* "/home/krunal/code/aadhar/app/views"
|
1086
|
+
):
|
1087
|
+
actionview (4.2.0) lib/action_view/path_set.rb:46:in `find'
|
1088
|
+
actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find'
|
1089
|
+
actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
1090
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:86:in `resolve_layout'
|
1091
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:93:in `resolve_layout'
|
1092
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:76:in `block in find_layout'
|
1093
|
+
actionview (4.2.0) lib/action_view/lookup_context.rb:242:in `with_layout_format'
|
1094
|
+
actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `with_layout_format'
|
1095
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:76:in `find_layout'
|
1096
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:60:in `render_with_layout'
|
1097
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
1098
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
1099
|
+
actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
1100
|
+
actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
|
1101
|
+
actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
|
1102
|
+
actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
|
1103
|
+
actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
|
1104
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:903:in `block in collect_responses'
|
1105
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:917:in `each'
|
1106
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:917:in `each_template'
|
1107
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:899:in `collect_responses'
|
1108
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:828:in `mail'
|
1109
|
+
/home/krunal/code/aadhar/app/mailers/user_mailer.rb:7:in `signup_email'
|
1110
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
1111
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
1112
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
1113
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
1114
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
1115
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1116
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
1117
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
1118
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
1119
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:596:in `block in process'
|
1120
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1121
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1122
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1123
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:593:in `process'
|
1124
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:584:in `initialize'
|
1125
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:25:in `new'
|
1126
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:25:in `__getobj__'
|
1127
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:34:in `message'
|
1128
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:85:in `deliver_now'
|
1129
|
+
actionmailer (4.2.0) lib/action_mailer/delivery_job.rb:10:in `perform'
|
1130
|
+
activejob (4.2.0) lib/active_job/execution.rb:32:in `block in perform_now'
|
1131
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1132
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1133
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `block (2 levels) in simple'
|
1134
|
+
activejob (4.2.0) lib/active_job/logging.rb:23:in `call'
|
1135
|
+
activejob (4.2.0) lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
|
1136
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1137
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1138
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1139
|
+
activejob (4.2.0) lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
|
1140
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `block in tag_logger'
|
1141
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1142
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1143
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1144
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `tag_logger'
|
1145
|
+
activejob (4.2.0) lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
|
1146
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `instance_exec'
|
1147
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `block in make_lambda'
|
1148
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `call'
|
1149
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `block in simple'
|
1150
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1151
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1152
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'
|
1153
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1154
|
+
activejob (4.2.0) lib/active_job/execution.rb:31:in `perform_now'
|
1155
|
+
activejob (4.2.0) lib/active_job/execution.rb:21:in `execute'
|
1156
|
+
activejob (4.2.0) lib/active_job/queue_adapters/inline_adapter.rb:14:in `enqueue'
|
1157
|
+
activejob (4.2.0) lib/active_job/enqueuing.rb:71:in `block in enqueue'
|
1158
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1159
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1160
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `block in simple'
|
1161
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `call'
|
1162
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `block (2 levels) in simple'
|
1163
|
+
activejob (4.2.0) lib/active_job/logging.rb:14:in `call'
|
1164
|
+
activejob (4.2.0) lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
|
1165
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `block in tag_logger'
|
1166
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1167
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1168
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1169
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `tag_logger'
|
1170
|
+
activejob (4.2.0) lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
|
1171
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `instance_exec'
|
1172
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `block in make_lambda'
|
1173
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `call'
|
1174
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `block in simple'
|
1175
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1176
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1177
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_enqueue_callbacks'
|
1178
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1179
|
+
activejob (4.2.0) lib/active_job/enqueuing.rb:67:in `enqueue'
|
1180
|
+
activejob (4.2.0) lib/active_job/configured_job.rb:13:in `perform_later'
|
1181
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:112:in `enqueue_delivery'
|
1182
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:68:in `deliver_later'
|
1183
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
1184
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
1185
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
1186
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
1187
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
1188
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1189
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1190
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
1191
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
1192
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
1193
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1194
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1195
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
1196
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1197
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
1198
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
1199
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
1200
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1201
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1202
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1203
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
1204
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
1205
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
1206
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
1207
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
1208
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
1209
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
1210
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
1211
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
1212
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
1213
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
1214
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1215
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1216
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1217
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1218
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1219
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
1220
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
1221
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
1222
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1223
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1224
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1225
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1226
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
1227
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
1228
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
1229
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
1230
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
1231
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
1232
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
1233
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
1234
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
1235
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
1236
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
1237
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
1238
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
1239
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
1240
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
1241
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1242
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
1243
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
1244
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
1245
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
1246
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1247
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
1248
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
1249
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1250
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1251
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1252
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
1253
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1254
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
1255
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
1256
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
1257
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1258
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
1259
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
1260
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1261
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
1262
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1263
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
1264
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
1265
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
1266
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
1267
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
1268
|
+
|
1269
|
+
|
1270
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
|
1271
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
|
1272
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
1273
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (48.9ms)
|
1274
|
+
|
1275
|
+
|
1276
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:23:53 -0600
|
1277
|
+
Processing by Aadhar::UsersController#create as JSON
|
1278
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
1279
|
+
Can't verify CSRF token authenticity
|
1280
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1281
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
1282
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$na.R5m5KTf4l/otymxqDeu', '$2a$10$na.R5m5KTf4l/otymxqDeuvf4ThZWHimQd.vGgC9.vHTntR7BibKO', 1, '2015-01-30 18:23:54.008599', '2015-01-30 18:23:54.008599')[0m
|
1283
|
+
[1m[35m (44.7ms)[0m COMMIT
|
1284
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: f9250cea-6ebf-4242-8bbe-14ccd438e5e6) to Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/8, "yfhlofu"
|
1285
|
+
[ActiveJob] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 8 LIMIT 1[0m
|
1286
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [f9250cea-6ebf-4242-8bbe-14ccd438e5e6] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/8, "yfhlofu"
|
1287
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [f9250cea-6ebf-4242-8bbe-14ccd438e5e6]
|
1288
|
+
UserMailer#signup_email: processed outbound mail in 47.0ms
|
1289
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [f9250cea-6ebf-4242-8bbe-14ccd438e5e6] Performed ActionMailer::DeliveryJob from Inline(mailers) in 47.62ms
|
1290
|
+
Completed 500 Internal Server Error in 360ms
|
1291
|
+
|
1292
|
+
ActionView::MissingTemplate (Missing template layouts/mailer with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
1293
|
+
* "/home/krunal/code/aadhar/test/dummy/app/views"
|
1294
|
+
* "/home/krunal/code/aadhar/app/views"
|
1295
|
+
):
|
1296
|
+
actionview (4.2.0) lib/action_view/path_set.rb:46:in `find'
|
1297
|
+
actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find'
|
1298
|
+
actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
1299
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:86:in `resolve_layout'
|
1300
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:93:in `resolve_layout'
|
1301
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:76:in `block in find_layout'
|
1302
|
+
actionview (4.2.0) lib/action_view/lookup_context.rb:242:in `with_layout_format'
|
1303
|
+
actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `with_layout_format'
|
1304
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:76:in `find_layout'
|
1305
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:60:in `render_with_layout'
|
1306
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
1307
|
+
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
1308
|
+
actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
1309
|
+
actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
|
1310
|
+
actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
|
1311
|
+
actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
|
1312
|
+
actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
|
1313
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:903:in `block in collect_responses'
|
1314
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:917:in `each'
|
1315
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:917:in `each_template'
|
1316
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:899:in `collect_responses'
|
1317
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:828:in `mail'
|
1318
|
+
/home/krunal/code/aadhar/app/mailers/user_mailer.rb:7:in `signup_email'
|
1319
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
1320
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
1321
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
1322
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
1323
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
1324
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1325
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
1326
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
1327
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
1328
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:596:in `block in process'
|
1329
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1330
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1331
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1332
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:593:in `process'
|
1333
|
+
actionmailer (4.2.0) lib/action_mailer/base.rb:584:in `initialize'
|
1334
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:25:in `new'
|
1335
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:25:in `__getobj__'
|
1336
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:34:in `message'
|
1337
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:85:in `deliver_now'
|
1338
|
+
actionmailer (4.2.0) lib/action_mailer/delivery_job.rb:10:in `perform'
|
1339
|
+
activejob (4.2.0) lib/active_job/execution.rb:32:in `block in perform_now'
|
1340
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1341
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1342
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `block (2 levels) in simple'
|
1343
|
+
activejob (4.2.0) lib/active_job/logging.rb:23:in `call'
|
1344
|
+
activejob (4.2.0) lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
|
1345
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1346
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1347
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1348
|
+
activejob (4.2.0) lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
|
1349
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `block in tag_logger'
|
1350
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1351
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1352
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1353
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `tag_logger'
|
1354
|
+
activejob (4.2.0) lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
|
1355
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `instance_exec'
|
1356
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `block in make_lambda'
|
1357
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `call'
|
1358
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `block in simple'
|
1359
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1360
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1361
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'
|
1362
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1363
|
+
activejob (4.2.0) lib/active_job/execution.rb:31:in `perform_now'
|
1364
|
+
activejob (4.2.0) lib/active_job/execution.rb:21:in `execute'
|
1365
|
+
activejob (4.2.0) lib/active_job/queue_adapters/inline_adapter.rb:14:in `enqueue'
|
1366
|
+
activejob (4.2.0) lib/active_job/enqueuing.rb:71:in `block in enqueue'
|
1367
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1368
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1369
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:190:in `block in simple'
|
1370
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `call'
|
1371
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:338:in `block (2 levels) in simple'
|
1372
|
+
activejob (4.2.0) lib/active_job/logging.rb:14:in `call'
|
1373
|
+
activejob (4.2.0) lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
|
1374
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `block in tag_logger'
|
1375
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1376
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1377
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1378
|
+
activejob (4.2.0) lib/active_job/logging.rb:43:in `tag_logger'
|
1379
|
+
activejob (4.2.0) lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
|
1380
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `instance_exec'
|
1381
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:436:in `block in make_lambda'
|
1382
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `call'
|
1383
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:337:in `block in simple'
|
1384
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1385
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1386
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_enqueue_callbacks'
|
1387
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1388
|
+
activejob (4.2.0) lib/active_job/enqueuing.rb:67:in `enqueue'
|
1389
|
+
activejob (4.2.0) lib/active_job/configured_job.rb:13:in `perform_later'
|
1390
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:112:in `enqueue_delivery'
|
1391
|
+
actionmailer (4.2.0) lib/action_mailer/message_delivery.rb:68:in `deliver_later'
|
1392
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:11:in `create'
|
1393
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
1394
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
1395
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
1396
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
1397
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1398
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
1399
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
1400
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
1401
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
1402
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
1403
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
1404
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
1405
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1406
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
1407
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
1408
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
1409
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
1410
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1411
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
1412
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
1413
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
1414
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
1415
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
1416
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
1417
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
1418
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
1419
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
1420
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
1421
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
1422
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
1423
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1424
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1425
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1426
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1427
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1428
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
1429
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
1430
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
1431
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
1432
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
1433
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
1434
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
1435
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
1436
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
1437
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
1438
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
1439
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
1440
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
1441
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
1442
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
1443
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
1444
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
1445
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
1446
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
1447
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
1448
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
1449
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
1450
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
1451
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
1452
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
1453
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
1454
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
1455
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1456
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
1457
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
1458
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1459
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1460
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1461
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
1462
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1463
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
1464
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
1465
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
1466
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1467
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
1468
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
1469
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
1470
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
1471
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
1472
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
1473
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
1474
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
1475
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
1476
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
1477
|
+
|
1478
|
+
|
1479
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms)
|
1480
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
|
1481
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
1482
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (45.0ms)
|
1483
|
+
|
1484
|
+
|
1485
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-30 12:25:14 -0600
|
1486
|
+
Processing by Aadhar::UsersController#create as JSON
|
1487
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
1488
|
+
Can't verify CSRF token authenticity
|
1489
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1490
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
1491
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$dRZovUBeTMld2XwRk9S3nO', '$2a$10$dRZovUBeTMld2XwRk9S3nOQJubUdzJH.Eba06LVGuXzuf3T2DUQbi', 1, '2015-01-30 18:25:15.272806', '2015-01-30 18:25:15.272806')[0m
|
1492
|
+
[1m[35m (44.9ms)[0m COMMIT
|
1493
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 77707b52-c348-4757-a61b-694b1a727976) to Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/9, "xnrojjg"
|
1494
|
+
[ActiveJob] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 9 LIMIT 1[0m
|
1495
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/9, "xnrojjg"
|
1496
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976] Rendered /home/krunal/code/aadhar/app/views/user_mailer/signup_email.html.erb within layouts/aadhar/mailer (2.1ms)
|
1497
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976]
|
1498
|
+
UserMailer#signup_email: processed outbound mail in 631.1ms
|
1499
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976]
|
1500
|
+
Sent mail to krumasta@gmail.com (33.2ms)
|
1501
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976] Date: Fri, 30 Jan 2015 12:25:16 -0600
|
1502
|
+
From: support@oneclick.com
|
1503
|
+
To: krumasta@gmail.com
|
1504
|
+
Message-ID: <54cbcc8cb708_670f1daed2c5059a@krunal-Lenovo-IdeaPad-U530-Touch.mail>
|
1505
|
+
Subject: OneClick Account Information
|
1506
|
+
Mime-Version: 1.0
|
1507
|
+
Content-Type: text/html;
|
1508
|
+
charset=UTF-8
|
1509
|
+
Content-Transfer-Encoding: 7bit
|
1510
|
+
|
1511
|
+
<html>
|
1512
|
+
<body>
|
1513
|
+
<!DOCTYPE html>
|
1514
|
+
<html>
|
1515
|
+
<head>
|
1516
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
1517
|
+
</head>
|
1518
|
+
<body>
|
1519
|
+
<center>
|
1520
|
+
<table width="580" cellspacing="0" cellpadding="0" border="0" style="font-family:arial,'lucida grande','lucida sans','lucida sans unicode',tahoma,verdana,sans-serif;background:#FFF;border:2px solid #eee;padding: 10px 0px;background-color:#fff;text-align:left;">
|
1521
|
+
<tr>
|
1522
|
+
<td valign="top" style="padding: 15px;font-size: 14px; color: #000000; background-color:#ffffff;">
|
1523
|
+
Hi Krunal,
|
1524
|
+
<p style="margin:20px 0px;">Here are your login details.</p>
|
1525
|
+
|
1526
|
+
<p style="margin:10px 0px;color:#CC3333; font-weight: bold; font-size: 18px;">Account Information</p>
|
1527
|
+
<p style="margin:10px 0px;">Login ID: <b>krumasta@gmail.com</b></p>
|
1528
|
+
<p style="margin:10px 0px;">Password: <b>xnrojjg</b></p>
|
1529
|
+
<br/>
|
1530
|
+
<p style="margin:20px 0px 10px 0px;">
|
1531
|
+
<b>For questions and support:</b>
|
1532
|
+
</p>
|
1533
|
+
<p style="margin:20px 0px 10px 0px;">
|
1534
|
+
To help you get started quickly with Oneclick, we encourage you to read our
|
1535
|
+
|
1536
|
+
<a href = 'http://oneclick.com/help'>help blog</a>
|
1537
|
+
</p>
|
1538
|
+
<p style="margin:20px 0px 10px 0px;">
|
1539
|
+
Remember, you can always email us with your questions and feedback at support@oneclick.com or visit us at our contact us page for more information on support.
|
1540
|
+
</p>
|
1541
|
+
</td>
|
1542
|
+
</tr>
|
1543
|
+
<tr>
|
1544
|
+
<td style="padding: 10px 15px 15px; font-size:16px;background:#fff;">
|
1545
|
+
<p style="margin:0px 0px;">
|
1546
|
+
Thanks,<br>
|
1547
|
+
The OneClick Team<br>
|
1548
|
+
</p>
|
1549
|
+
</td>
|
1550
|
+
</tr>
|
1551
|
+
|
1552
|
+
</table>
|
1553
|
+
</center>
|
1554
|
+
</body>
|
1555
|
+
</html>
|
1556
|
+
</body>
|
1557
|
+
</html>
|
1558
|
+
|
1559
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976] Performed ActionMailer::DeliveryJob from Inline(mailers) in 665.41ms
|
1560
|
+
Completed 200 OK in 940ms (Views: 0.3ms | ActiveRecord: 63.9ms)
|