aadhar 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +36 -1
- data/app/assets/javascripts/aadhar/application.js +13 -0
- data/app/assets/stylesheets/aadhar/application.css +15 -0
- data/app/controllers/aadhar/application_controller.rb +4 -0
- data/app/controllers/aadhar/passwords_controller.rb +51 -0
- data/app/controllers/aadhar/sessions_controller.rb +38 -0
- data/app/controllers/aadhar/users_controller.rb +33 -0
- data/app/helpers/aadhar/application_helper.rb +4 -0
- data/app/models/user.rb +52 -0
- data/app/views/layouts/aadhar/application.html.erb +14 -0
- data/config/routes.rb +7 -0
- data/{lib/generators/aadhar/install/templates/create_users.rb → db/migrate/20150130043153_create_users.rb} +1 -5
- data/lib/aadhar.rb +1 -3
- data/lib/aadhar/engine.rb +5 -0
- data/lib/aadhar/version.rb +1 -1
- data/lib/tasks/aadhar_tasks.rake +4 -0
- data/test/aadhar_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +24 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/schema.rb +27 -0
- data/test/dummy/log/development.log +446 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +19 -0
- metadata +116 -14
- data/Gemfile +0 -4
- data/README.md +0 -29
- data/lib/aadhar/user.rb +0 -7
- data/lib/generators/aadhar/install/install_generator.rb +0 -21
@@ -0,0 +1,446 @@
|
|
1
|
+
[1m[36m (1109.5ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
2
|
+
[1m[35m (1512.2ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
4
|
+
Migrating to CreateUsers (20150130043153)
|
5
|
+
[1m[35m (636.1ms)[0m CREATE TABLE `users` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_hash` varchar(255), `password_salt` varchar(255), `authentication_token` varchar(255), `change_password` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
6
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
7
|
+
[1m[35mSQL (18.5ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150130043153')
|
8
|
+
[1m[36m (30.4ms)[0m [1mCOMMIT[0m
|
9
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
10
|
+
[1m[36m (0.2ms)[0m [1mSELECT fk.referenced_table_name as 'to_table'
|
11
|
+
,fk.referenced_column_name as 'primary_key'
|
12
|
+
,fk.column_name as 'column'
|
13
|
+
,fk.constraint_name as 'name'
|
14
|
+
FROM information_schema.key_column_usage fk
|
15
|
+
WHERE fk.referenced_column_name is not null
|
16
|
+
AND fk.table_schema = 'test_dummy_development'
|
17
|
+
AND fk.table_name = 'users'
|
18
|
+
[0m
|
19
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `users`
|
20
|
+
|
21
|
+
|
22
|
+
Started POST "/users.json" for 127.0.0.1 at 2015-01-29 22:40:40 -0600
|
23
|
+
|
24
|
+
ActionController::RoutingError (No route matches [POST] "/users.json"):
|
25
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
26
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
27
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
28
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
29
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
30
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
31
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
32
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
33
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
34
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
35
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
36
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
37
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
38
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
39
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
40
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
41
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
42
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
43
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
44
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
45
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
46
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
47
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
48
|
+
|
49
|
+
|
50
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
51
|
+
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)
|
52
|
+
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)
|
53
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (42.2ms)
|
54
|
+
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 (31.4ms)
|
55
|
+
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 (98.5ms)
|
56
|
+
|
57
|
+
|
58
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-29 22:40:57 -0600
|
59
|
+
|
60
|
+
LoadError (Unable to autoload constant Aadhar::UsersController, expected /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb to define it):
|
61
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
62
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
|
63
|
+
activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
|
64
|
+
activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
|
65
|
+
activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
|
66
|
+
activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
|
67
|
+
activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
|
68
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get'
|
69
|
+
activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize'
|
70
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
71
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
|
72
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
|
73
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
74
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
75
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
76
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
77
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
78
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
79
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
80
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
81
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
82
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
83
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
84
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
85
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
86
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
87
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
88
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
89
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
90
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
91
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
92
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
93
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
94
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
95
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
96
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
97
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
98
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
99
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
100
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
101
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
102
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
103
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
104
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
105
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
106
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
107
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
108
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
109
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
110
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
111
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
112
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
113
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
114
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
115
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
116
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
117
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
118
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
119
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
120
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
121
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
122
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
123
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
124
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
125
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
126
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
127
|
+
|
128
|
+
|
129
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.1ms)
|
130
|
+
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.3ms)
|
131
|
+
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.9ms)
|
132
|
+
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.3ms)
|
133
|
+
|
134
|
+
|
135
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-29 22:42:58 -0600
|
136
|
+
Processing by Aadhar::UsersController#create as JSON
|
137
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
138
|
+
Can't verify CSRF token authenticity
|
139
|
+
Completed 500 Internal Server Error in 60ms
|
140
|
+
|
141
|
+
NameError (uninitialized constant User::BCrypt):
|
142
|
+
/home/krunal/code/aadhar/app/models/user.rb:28:in `set_temporary_password'
|
143
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:7:in `create'
|
144
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
145
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
146
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
147
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
148
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
149
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
150
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
151
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
152
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
153
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
154
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
155
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
156
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
157
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
158
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
159
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
160
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
161
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
162
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
163
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
164
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
165
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
166
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
167
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
168
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
169
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
170
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
171
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
172
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
173
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
174
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
175
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
176
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
177
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
178
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
179
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
180
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
181
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
182
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
183
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
184
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
185
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
186
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
187
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
188
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
189
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
190
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
191
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
192
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
193
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
194
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
195
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
196
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
197
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
198
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
199
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
200
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
201
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
202
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
203
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
204
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
205
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
206
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
207
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
208
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
209
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
210
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
211
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
212
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
213
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
214
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
215
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
216
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
217
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
218
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
219
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
220
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
221
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
222
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
223
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
224
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
225
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
226
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
227
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
228
|
+
|
229
|
+
|
230
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.3ms)
|
231
|
+
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)
|
232
|
+
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)
|
233
|
+
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 (33.6ms)
|
234
|
+
|
235
|
+
|
236
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-29 22:45:22 -0600
|
237
|
+
Processing by Aadhar::UsersController#create as JSON
|
238
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
239
|
+
Can't verify CSRF token authenticity
|
240
|
+
Completed 500 Internal Server Error in 10ms
|
241
|
+
|
242
|
+
NameError (uninitialized constant User::BCrypt):
|
243
|
+
/home/krunal/code/aadhar/app/models/user.rb:28:in `set_temporary_password'
|
244
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:7:in `create'
|
245
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
246
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
247
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
248
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
249
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
250
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
251
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
252
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
253
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
254
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
255
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
256
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
257
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
258
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
259
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
260
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
261
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
262
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
263
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
264
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
265
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
266
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
267
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
268
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
269
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
270
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
271
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
272
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
273
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
274
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
275
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
276
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
277
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
278
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
279
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
280
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
281
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
282
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
283
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
284
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
285
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
286
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
287
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
288
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
289
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
290
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
291
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
292
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
293
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
294
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
295
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
296
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
297
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
298
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
299
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
300
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
301
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
302
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
303
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
304
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
305
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
306
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
307
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
308
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
309
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
310
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
311
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
312
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
313
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
314
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
315
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
316
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
317
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
318
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
319
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
320
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
321
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
322
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
323
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
324
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
325
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
326
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
327
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
328
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
329
|
+
|
330
|
+
|
331
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms)
|
332
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms)
|
333
|
+
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 (1.5ms)
|
334
|
+
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 (34.9ms)
|
335
|
+
|
336
|
+
|
337
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-29 22:46:08 -0600
|
338
|
+
Processing by Aadhar::UsersController#create as JSON
|
339
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
340
|
+
Can't verify CSRF token authenticity
|
341
|
+
Completed 500 Internal Server Error in 8ms
|
342
|
+
|
343
|
+
NameError (uninitialized constant BCrypt):
|
344
|
+
/home/krunal/code/aadhar/app/models/user.rb:28:in `set_temporary_password'
|
345
|
+
/home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:7:in `create'
|
346
|
+
actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
347
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
|
348
|
+
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
349
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
350
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
351
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
|
352
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
|
353
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
|
354
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
|
355
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
|
356
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
|
357
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
|
358
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
359
|
+
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
360
|
+
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
361
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
362
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
|
363
|
+
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
364
|
+
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
|
365
|
+
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
366
|
+
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
367
|
+
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
368
|
+
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
|
369
|
+
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
|
370
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
|
371
|
+
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
372
|
+
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
|
373
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
374
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
375
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
|
376
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
377
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
378
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
379
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
380
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
381
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
|
382
|
+
railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
|
383
|
+
actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
384
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
385
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
|
386
|
+
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
|
387
|
+
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
|
388
|
+
rack (1.6.0) lib/rack/etag.rb:24:in `call'
|
389
|
+
rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
|
390
|
+
rack (1.6.0) lib/rack/head.rb:13:in `call'
|
391
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
392
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
393
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
|
394
|
+
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
|
395
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
396
|
+
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
|
397
|
+
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
|
398
|
+
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
|
399
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
400
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
|
401
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
|
402
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
|
403
|
+
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
404
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
405
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
406
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
407
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
408
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
409
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
410
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
411
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
412
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
413
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
414
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
415
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
416
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
417
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
418
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
419
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
420
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
421
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
422
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
423
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
424
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
425
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
426
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
427
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
428
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
429
|
+
/home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
430
|
+
|
431
|
+
|
432
|
+
Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms)
|
433
|
+
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.5ms)
|
434
|
+
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 (21.1ms)
|
435
|
+
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 (33.2ms)
|
436
|
+
|
437
|
+
|
438
|
+
Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-01-29 22:46:50 -0600
|
439
|
+
Processing by Aadhar::UsersController#create as JSON
|
440
|
+
Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
|
441
|
+
Can't verify CSRF token authenticity
|
442
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
443
|
+
[1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
|
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
|
+
[1m[35m (128.2ms)[0m COMMIT
|
446
|
+
Completed 200 OK in 317ms (Views: 0.3ms | ActiveRecord: 153.8ms)
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|