board-client 0.3.0 → 0.99.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +1 -0
- data/.rvmrc +47 -0
- data/Gemfile +1 -7
- data/README.md +63 -17
- data/Rakefile +4 -44
- data/board-client.gemspec +22 -66
- data/lib/board/client.rb +41 -22
- data/lib/board/client/api.rb +29 -0
- data/lib/board/client/candidates.rb +13 -0
- data/lib/board/client/organizations.rb +17 -0
- data/lib/board/client/request.rb +98 -0
- data/lib/board/client/user_organizations.rb +20 -0
- data/lib/board/client/users.rb +21 -0
- data/lib/board/client/version.rb +5 -0
- data/spec/board/client_spec.rb +27 -83
- data/spec/cassettes/candidate_exists_with_id.yml +30 -0
- data/spec/cassettes/candidate_id_does_not_exist.yml +336 -0
- data/spec/cassettes/candidate_invite_email_exists.yml +30 -0
- data/spec/cassettes/candidate_invite_when_invalid.yml +30 -0
- data/spec/cassettes/candidate_invite_when_valid.yml +32 -0
- data/spec/cassettes/list_user_organizations_with_invalid_id.yml +346 -0
- data/spec/cassettes/list_user_organizations_with_valid_id.yml +30 -0
- data/spec/cassettes/organization_add_user.yml +26 -0
- data/spec/cassettes/organization_add_user_-_organization_does_not_exist.yml +356 -0
- data/spec/cassettes/organization_add_user_-_user_does_not_exist.yml +348 -0
- data/spec/cassettes/organization_create_is_invalid.yml +30 -0
- data/spec/cassettes/organization_create_is_valid.yml +32 -0
- data/spec/cassettes/organization_exists_with_email.yml +30 -0
- data/spec/cassettes/organization_exists_with_id.yml +30 -0
- data/spec/cassettes/organization_id_does_not_exist.yml +354 -0
- data/spec/cassettes/organization_name_does_not_exist.yml +334 -0
- data/spec/cassettes/unsubscribe_email_does_not_exist.yml +340 -0
- data/spec/cassettes/unsubscribe_email_exists.yml +30 -0
- data/spec/cassettes/user_does_exist.yml +30 -0
- data/spec/cassettes/user_does_not_exist.yml +32 -0
- data/spec/cassettes/user_email_does_not_exist.yml +334 -0
- data/spec/cassettes/user_email_md5_does_not_exist.yml +334 -0
- data/spec/cassettes/user_exists_with_email.yml +30 -0
- data/spec/cassettes/user_exists_with_email_md5.yml +30 -0
- data/spec/cassettes/user_exists_with_id.yml +30 -0
- data/spec/cassettes/user_id_does_not_exist.yml +346 -0
- data/spec/cassettes/user_missing_attributes.yml +30 -0
- data/spec/integration/candidates/find_spec.rb +28 -0
- data/spec/integration/candidates/invite_spec.rb +48 -0
- data/spec/integration/organizations/add_user_spec.rb +34 -0
- data/spec/integration/organizations/create_spec.rb +38 -0
- data/spec/integration/organizations/find_spec.rb +50 -0
- data/spec/integration/users/create_spec.rb +54 -0
- data/spec/integration/users/find_spec.rb +73 -0
- data/spec/integration/users/list_organizations_spec.rb +36 -0
- data/spec/integration/users/unsubscribe_spec.rb +27 -0
- data/spec/spec_helper.rb +6 -5
- data/spec/support/integration_helpers.rb +17 -0
- data/spec/support/vcr.rb +11 -0
- metadata +144 -52
- data/Gemfile.lock +0 -22
- data/lib/board/candidate_search.rb +0 -45
- data/lib/board/request.rb +0 -78
- data/spec/board/candidate_search_spec.rb +0 -45
- data/spec/spec.opts +0 -1
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://localhost:3000/api/v1/users/unsubscribe
|
6
|
+
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=candidate%40recruitmilitary.com
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- application/x-www-form-urlencoded
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
x-ua-compatible:
|
16
|
+
- IE=Edge
|
17
|
+
etag:
|
18
|
+
- "\"2e972f362c9c2d162721432730ecbd57\""
|
19
|
+
content-type:
|
20
|
+
- application/json; charset=utf-8
|
21
|
+
date:
|
22
|
+
- Mon, 29 Aug 2011 18:19:12 GMT
|
23
|
+
x-runtime:
|
24
|
+
- "0.769762"
|
25
|
+
cache-control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
body: "{\"unsubscribed_at\":\"2011-08-29T18:19:12Z\"}"
|
30
|
+
http_version: "1.1"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://localhost:3000/api/v1/users
|
6
|
+
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&first_name=Steve&last_name=Jobs&password=password&email=steve%40apple.com&primary_role_id=1&password_confirmation=password
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- application/x-www-form-urlencoded
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 422
|
13
|
+
message:
|
14
|
+
headers:
|
15
|
+
x-ua-compatible:
|
16
|
+
- IE=Edge
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
date:
|
20
|
+
- Mon, 29 Aug 2011 18:19:06 GMT
|
21
|
+
x-runtime:
|
22
|
+
- "0.785088"
|
23
|
+
set-cookie:
|
24
|
+
- _board_session=BAh7BiIPc2Vzc2lvbl9pZCIlZDAzMzdmNTU5NzYyYzkzMzU1ZmI1NjFiYjkyM2EzNWM%3D--5533bb99278b3b1a6da79233bc06fff59340ac7e; path=/; HttpOnly
|
25
|
+
cache-control:
|
26
|
+
- no-cache
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
body: "{\"errors\":{\"email\":[\"is already taken\"]}}"
|
30
|
+
http_version: "1.1"
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://localhost:3000/api/v1/users
|
6
|
+
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&first_name=Steve&last_name=Jobs&password=password&email=steve%40apple.com&primary_role_id=1&password_confirmation=password
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- application/x-www-form-urlencoded
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
x-ua-compatible:
|
16
|
+
- IE=Edge
|
17
|
+
etag:
|
18
|
+
- "\"d90a375dc790bfcc26340daffc9cb832\""
|
19
|
+
content-type:
|
20
|
+
- application/json; charset=utf-8
|
21
|
+
date:
|
22
|
+
- Mon, 29 Aug 2011 18:19:05 GMT
|
23
|
+
x-runtime:
|
24
|
+
- "0.792304"
|
25
|
+
set-cookie:
|
26
|
+
- _board_session=BAh7BiIPc2Vzc2lvbl9pZCIlMTVlYjk3OGE4NTMwYzFmZjBhNTRiMDBhYjI0MjkzNTI%3D--73a2699a5274a4e17bef99a56e0e773bc03e5df2; path=/; HttpOnly
|
27
|
+
cache-control:
|
28
|
+
- max-age=0, private, must-revalidate
|
29
|
+
transfer-encoding:
|
30
|
+
- chunked
|
31
|
+
body: "{\"unsubscribed_at\":null,\"single_access_token\":\"W5Hz9iwcBDNvzOVRJ8XF\",\"last_request_at\":null,\"hidden_at\":null,\"created_at\":\"2011-08-29T18:19:05Z\",\"agreement_acknowledged_at\":null,\"searchable\":true,\"crypted_password\":\"3681d621b84ed4dfa135e0ae51b819aae0a552a5c126a618d5ef011d1c8590ee388966921b286201e0af9a009201d92d9ca3de1a14d72d683a9471d7b73101b9\",\"updated_at\":\"2011-08-29T18:19:05Z\",\"secret_id\":\"f159979ea137288793d8d8585405805f\",\"perishable_token\":\"_3ELEEFSUYAnhe7erbec\",\"agreement_initials\":null,\"id\":201,\"email_md5\":\"dc8dd7b4026f67f9c2f46b170875305c\",\"current_login_ip\":null,\"password_salt\":\"f9BpAcFk2ovvKabocQfR\",\"email_invalid_at\":null,\"current_login_at\":null,\"primary_role_id\":1,\"phone\":null,\"persistence_token\":\"51e88ecfb666135511df91465255ace8c67783b486a306c55b18d906791550ccddfb040cff1dc1d79b8b20ab19d43f97cbaab8b44aff4f68ac0ba4bbf64d111f\",\"login_count\":0,\"last_name\":\"Jobs\",\"last_login_ip\":null,\"last_login_at\":null,\"first_name\":\"Steve\",\"email\":\"steve@apple.com\",\"confirmed_at\":null}"
|
32
|
+
http_version: "1.1"
|
@@ -0,0 +1,334 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://localhost:3000/api/v1/users
|
6
|
+
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- application/x-www-form-urlencoded
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 404
|
13
|
+
message: Not Found
|
14
|
+
headers:
|
15
|
+
content-type:
|
16
|
+
- text/html
|
17
|
+
date:
|
18
|
+
- Mon, 29 Aug 2011 18:19:09 GMT
|
19
|
+
x-runtime:
|
20
|
+
- "0.377229"
|
21
|
+
content-length:
|
22
|
+
- "51788"
|
23
|
+
body: |
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title>Action Controller: Exception caught</title>
|
27
|
+
<style>
|
28
|
+
body { background-color: #fff; color: #333; }
|
29
|
+
|
30
|
+
body, p, ol, ul, td {
|
31
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
32
|
+
font-size: 13px;
|
33
|
+
line-height: 18px;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre {
|
37
|
+
background-color: #eee;
|
38
|
+
padding: 10px;
|
39
|
+
font-size: 11px;
|
40
|
+
}
|
41
|
+
|
42
|
+
a { color: #000; }
|
43
|
+
a:visited { color: #666; }
|
44
|
+
a:hover { color: #fff; background-color:#000; }
|
45
|
+
</style>
|
46
|
+
</head>
|
47
|
+
<body>
|
48
|
+
|
49
|
+
<h1>
|
50
|
+
ActiveRecord::RecordNotFound
|
51
|
+
in Api::V1::UsersController#index
|
52
|
+
</h1>
|
53
|
+
<pre>ActiveRecord::RecordNotFound</pre>
|
54
|
+
|
55
|
+
|
56
|
+
<p><code>Rails.root: /Users/michaelguterl/code/rm/board</code></p>
|
57
|
+
|
58
|
+
<div id="traces">
|
59
|
+
<a href="#" onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;">Application Trace</a> |
|
60
|
+
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;">Framework Trace</a> |
|
61
|
+
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;">Full Trace</a>
|
62
|
+
|
63
|
+
<div id="Application-Trace" style="display: block;">
|
64
|
+
<pre><code>app/controllers/api/v1/users_controller.rb:15:in `index'</code></pre>
|
65
|
+
</div>
|
66
|
+
<div id="Framework-Trace" style="display: none;">
|
67
|
+
<pre><code>actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
68
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
69
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:150:in `process_action'
|
70
|
+
actionpack (3.0.9) lib/action_controller/metal/rendering.rb:11:in `process_action'
|
71
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:18:in `process_action'
|
72
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:466:in `_run__1987623246__process_action__199225275__callbacks'
|
73
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `send'
|
74
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
|
75
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `send'
|
76
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `run_callbacks'
|
77
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
78
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
79
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
80
|
+
activesupport (3.0.9) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
81
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
82
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
83
|
+
actionpack (3.0.9) lib/action_controller/metal/rescue.rb:17:in `process_action'
|
84
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `process_action'
|
85
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in `perform_action_with_newrelic_trace'
|
86
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/method_tracer.rb:193:in `trace_execution_scoped'
|
87
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_with_newrelic_trace'
|
88
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
|
89
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:119:in `process'
|
90
|
+
actionpack (3.0.9) lib/abstract_controller/rendering.rb:41:in `process'
|
91
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:138:in `dispatch'
|
92
|
+
actionpack (3.0.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
93
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:178:in `action'
|
94
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `call'
|
95
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
|
96
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:27:in `call'
|
97
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
|
98
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
|
99
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:96:in `optimized_each'
|
100
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
|
101
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
|
102
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:493:in `call'
|
103
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:14:in `call'
|
104
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `catch'
|
105
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `call'
|
106
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/browser_monitoring.rb:18:in `call'
|
107
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/developer_mode.rb:24:in `call'
|
108
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call'
|
109
|
+
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'
|
110
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
111
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
112
|
+
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
|
113
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
114
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/flash.rb:182:in `call'
|
115
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
|
116
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/cookies.rb:302:in `call'
|
117
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:32:in `call'
|
118
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
|
119
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in `cache'
|
120
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:31:in `call'
|
121
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
|
122
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
|
123
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
|
124
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
|
125
|
+
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
|
126
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
127
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
128
|
+
railties (3.0.9) lib/rails/rack/logger.rb:13:in `call'
|
129
|
+
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
|
130
|
+
activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
131
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
132
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
|
133
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
134
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in `call'
|
135
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
|
136
|
+
railties (3.0.9) lib/rails/application.rb:168:in `call'
|
137
|
+
railties (3.0.9) lib/rails/application.rb:77:in `send'
|
138
|
+
railties (3.0.9) lib/rails/application.rb:77:in `method_missing'
|
139
|
+
rack (1.2.3) lib/rack/urlmap.rb:47:in `call'
|
140
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `each'
|
141
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `call'
|
142
|
+
railties (3.0.9) lib/rails/rack/log_tailer.rb:14:in `call'
|
143
|
+
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
|
144
|
+
rack (1.2.3) lib/rack/chunked.rb:15:in `call'
|
145
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:67:in `process'
|
146
|
+
mongrel (1.1.5) lib/mongrel.rb:159:in `process_client'
|
147
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `each'
|
148
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `process_client'
|
149
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
150
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `initialize'
|
151
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `new'
|
152
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
153
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `initialize'
|
154
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `new'
|
155
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `run'
|
156
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:38:in `run'
|
157
|
+
rack (1.2.3) lib/rack/server.rb:217:in `start'
|
158
|
+
railties (3.0.9) lib/rails/commands/server.rb:65:in `start'
|
159
|
+
railties (3.0.9) lib/rails/commands.rb:30
|
160
|
+
railties (3.0.9) lib/rails/commands.rb:27:in `tap'
|
161
|
+
railties (3.0.9) lib/rails/commands.rb:27
|
162
|
+
script/rails:6:in `require'
|
163
|
+
script/rails:6</code></pre>
|
164
|
+
</div>
|
165
|
+
<div id="Full-Trace" style="display: none;">
|
166
|
+
<pre><code>app/controllers/api/v1/users_controller.rb:15:in `index'
|
167
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
168
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
169
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:150:in `process_action'
|
170
|
+
actionpack (3.0.9) lib/action_controller/metal/rendering.rb:11:in `process_action'
|
171
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:18:in `process_action'
|
172
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:466:in `_run__1987623246__process_action__199225275__callbacks'
|
173
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `send'
|
174
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
|
175
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `send'
|
176
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `run_callbacks'
|
177
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
178
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
179
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
180
|
+
activesupport (3.0.9) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
181
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
182
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
183
|
+
actionpack (3.0.9) lib/action_controller/metal/rescue.rb:17:in `process_action'
|
184
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `process_action'
|
185
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in `perform_action_with_newrelic_trace'
|
186
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/method_tracer.rb:193:in `trace_execution_scoped'
|
187
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_with_newrelic_trace'
|
188
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
|
189
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:119:in `process'
|
190
|
+
actionpack (3.0.9) lib/abstract_controller/rendering.rb:41:in `process'
|
191
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:138:in `dispatch'
|
192
|
+
actionpack (3.0.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
193
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:178:in `action'
|
194
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `call'
|
195
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
|
196
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:27:in `call'
|
197
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
|
198
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
|
199
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:96:in `optimized_each'
|
200
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
|
201
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
|
202
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:493:in `call'
|
203
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:14:in `call'
|
204
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `catch'
|
205
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `call'
|
206
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/browser_monitoring.rb:18:in `call'
|
207
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/developer_mode.rb:24:in `call'
|
208
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call'
|
209
|
+
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'
|
210
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
211
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
212
|
+
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
|
213
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
214
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/flash.rb:182:in `call'
|
215
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
|
216
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/cookies.rb:302:in `call'
|
217
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:32:in `call'
|
218
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
|
219
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in `cache'
|
220
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:31:in `call'
|
221
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
|
222
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
|
223
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
|
224
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
|
225
|
+
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
|
226
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
227
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
228
|
+
railties (3.0.9) lib/rails/rack/logger.rb:13:in `call'
|
229
|
+
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
|
230
|
+
activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
231
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
232
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
|
233
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
234
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in `call'
|
235
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
|
236
|
+
railties (3.0.9) lib/rails/application.rb:168:in `call'
|
237
|
+
railties (3.0.9) lib/rails/application.rb:77:in `send'
|
238
|
+
railties (3.0.9) lib/rails/application.rb:77:in `method_missing'
|
239
|
+
rack (1.2.3) lib/rack/urlmap.rb:47:in `call'
|
240
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `each'
|
241
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `call'
|
242
|
+
railties (3.0.9) lib/rails/rack/log_tailer.rb:14:in `call'
|
243
|
+
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
|
244
|
+
rack (1.2.3) lib/rack/chunked.rb:15:in `call'
|
245
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:67:in `process'
|
246
|
+
mongrel (1.1.5) lib/mongrel.rb:159:in `process_client'
|
247
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `each'
|
248
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `process_client'
|
249
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
250
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `initialize'
|
251
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `new'
|
252
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
253
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `initialize'
|
254
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `new'
|
255
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `run'
|
256
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:38:in `run'
|
257
|
+
rack (1.2.3) lib/rack/server.rb:217:in `start'
|
258
|
+
railties (3.0.9) lib/rails/commands/server.rb:65:in `start'
|
259
|
+
railties (3.0.9) lib/rails/commands.rb:30
|
260
|
+
railties (3.0.9) lib/rails/commands.rb:27:in `tap'
|
261
|
+
railties (3.0.9) lib/rails/commands.rb:27
|
262
|
+
script/rails:6:in `require'
|
263
|
+
script/rails:6</code></pre>
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
<h2 style="margin-top: 30px">Request</h2>
|
270
|
+
<p><b>Parameters</b>: <pre>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6",
|
271
|
+
"email"=>"michael@jordan.com"}</pre></p>
|
272
|
+
|
273
|
+
<p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
|
274
|
+
<div id="session_dump" style="display:none"><pre></pre></div>
|
275
|
+
|
276
|
+
<p><a href="#" onclick="document.getElementById('env_dump').style.display='block'; return false;">Show env dump</a></p>
|
277
|
+
<div id="env_dump" style="display:none"><pre>CONTENT_LENGTH: "64"
|
278
|
+
CONTENT_TYPE: "application/x-www-form-urlencoded"
|
279
|
+
GATEWAY_INTERFACE: "CGI/1.2"
|
280
|
+
HTTP_ACCEPT: "*/*"
|
281
|
+
HTTP_HOST: "localhost:3000"
|
282
|
+
HTTP_VERSION: "HTTP/1.1"
|
283
|
+
PATH_INFO: "/api/v1/users"
|
284
|
+
QUERY_STRING: ""
|
285
|
+
REMOTE_ADDR: "127.0.0.1"
|
286
|
+
REQUEST_METHOD: "GET"
|
287
|
+
REQUEST_PATH: "/api/v1/users"
|
288
|
+
REQUEST_URI: "/api/v1/users"
|
289
|
+
SCRIPT_NAME: ""
|
290
|
+
SERVER_NAME: "localhost"
|
291
|
+
SERVER_PORT: "3000"
|
292
|
+
SERVER_PROTOCOL: "HTTP/1.1"
|
293
|
+
SERVER_SOFTWARE: "Mongrel 1.1.5"
|
294
|
+
action_controller.instance: #<Api::V1::UsersController:0x10e6d06a0 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"64", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e92b170>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e6d06a0 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e92b170>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @_response=#<ActionDispatch::Response:0x10e6d04e8 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"64", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e92b170>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e6d06a0 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e92b170>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e6d0150 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"64", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e92b170>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e6d06a0 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e92b170>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:09", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:09", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "eNF89xgkBiFeoxjq39vZ", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>
|
295
|
+
action_dispatch.cookies: {}
|
296
|
+
action_dispatch.parameter_filter: [:password]
|
297
|
+
action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 ...>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"64", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e92b170>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e6d06a0 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={...}, @_response=#<ActionDispatch::Response:0x10e6d04e8 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={...}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e6d0150 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={...}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:09", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:09", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "eNF89xgkBiFeoxjq39vZ", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e92b170>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>
|
298
|
+
action_dispatch.request.accepts: [#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">]
|
299
|
+
action_dispatch.request.content_type: #<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">
|
300
|
+
action_dispatch.request.formats: [#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">]
|
301
|
+
action_dispatch.request.parameters: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}
|
302
|
+
action_dispatch.request.path_parameters: {:action=>"index", :controller=>"api/v1/users"}
|
303
|
+
action_dispatch.request.query_parameters: {}
|
304
|
+
action_dispatch.request.request_parameters: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}
|
305
|
+
action_dispatch.request.unsigned_session_cookie: {}
|
306
|
+
action_dispatch.secret_token: "83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425"
|
307
|
+
action_dispatch.show_exceptions: true
|
308
|
+
hoptoad.error_id: nil
|
309
|
+
oauth2: #<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e929b40 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"64", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e92b170>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e6d06a0 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={...}, @_response=#<ActionDispatch::Response:0x10e6d04e8 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={...}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e6d0150 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e6d05b0 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @fullpath="/api/v1/users", @env={...}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "controller"=>"api/v1/users", "email"=>"michael@jordan.com"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:09", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:09", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "eNF89xgkBiFeoxjq39vZ", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e917f58 ...>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e92b170>, "GATEWAY_INTERFACE"=>"CGI/1.2"}>
|
310
|
+
rack.errors: #<IO:0x1094fcd10>
|
311
|
+
rack.input: #<StringIO:0x10e92b170>
|
312
|
+
rack.multiprocess: false
|
313
|
+
rack.multithread: false
|
314
|
+
rack.request.form_hash: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email"=>"michael@jordan.com"}
|
315
|
+
rack.request.form_input: #<StringIO:0x10e92b170>
|
316
|
+
rack.request.form_vars: "user_credentials=Bdrc3t1LaiWtygbJ4jD6&email=michael%40jordan.com"
|
317
|
+
rack.request.query_hash: {}
|
318
|
+
rack.request.query_string: ""
|
319
|
+
rack.run_once: false
|
320
|
+
rack.session: {}
|
321
|
+
rack.session.options: {:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}
|
322
|
+
rack.url_scheme: "http"
|
323
|
+
rack.version: [1, 1]</pre></div>
|
324
|
+
|
325
|
+
|
326
|
+
<h2 style="margin-top: 30px">Response</h2>
|
327
|
+
<p><b>Headers</b>: <pre>None</pre></p>
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
</body>
|
332
|
+
</html>
|
333
|
+
|
334
|
+
http_version: "1.1"
|
@@ -0,0 +1,334 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://localhost:3000/api/v1/users
|
6
|
+
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- application/x-www-form-urlencoded
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 404
|
13
|
+
message: Not Found
|
14
|
+
headers:
|
15
|
+
content-type:
|
16
|
+
- text/html
|
17
|
+
date:
|
18
|
+
- Mon, 29 Aug 2011 18:19:10 GMT
|
19
|
+
x-runtime:
|
20
|
+
- "0.379413"
|
21
|
+
content-length:
|
22
|
+
- "52388"
|
23
|
+
body: |
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25
|
+
<head>
|
26
|
+
<title>Action Controller: Exception caught</title>
|
27
|
+
<style>
|
28
|
+
body { background-color: #fff; color: #333; }
|
29
|
+
|
30
|
+
body, p, ol, ul, td {
|
31
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
32
|
+
font-size: 13px;
|
33
|
+
line-height: 18px;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre {
|
37
|
+
background-color: #eee;
|
38
|
+
padding: 10px;
|
39
|
+
font-size: 11px;
|
40
|
+
}
|
41
|
+
|
42
|
+
a { color: #000; }
|
43
|
+
a:visited { color: #666; }
|
44
|
+
a:hover { color: #fff; background-color:#000; }
|
45
|
+
</style>
|
46
|
+
</head>
|
47
|
+
<body>
|
48
|
+
|
49
|
+
<h1>
|
50
|
+
ActiveRecord::RecordNotFound
|
51
|
+
in Api::V1::UsersController#index
|
52
|
+
</h1>
|
53
|
+
<pre>ActiveRecord::RecordNotFound</pre>
|
54
|
+
|
55
|
+
|
56
|
+
<p><code>Rails.root: /Users/michaelguterl/code/rm/board</code></p>
|
57
|
+
|
58
|
+
<div id="traces">
|
59
|
+
<a href="#" onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;">Application Trace</a> |
|
60
|
+
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;">Framework Trace</a> |
|
61
|
+
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;">Full Trace</a>
|
62
|
+
|
63
|
+
<div id="Application-Trace" style="display: block;">
|
64
|
+
<pre><code>app/controllers/api/v1/users_controller.rb:15:in `index'</code></pre>
|
65
|
+
</div>
|
66
|
+
<div id="Framework-Trace" style="display: none;">
|
67
|
+
<pre><code>actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
68
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
69
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:150:in `process_action'
|
70
|
+
actionpack (3.0.9) lib/action_controller/metal/rendering.rb:11:in `process_action'
|
71
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:18:in `process_action'
|
72
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:466:in `_run__1987623246__process_action__199225275__callbacks'
|
73
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `send'
|
74
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
|
75
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `send'
|
76
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `run_callbacks'
|
77
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
78
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
79
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
80
|
+
activesupport (3.0.9) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
81
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
82
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
83
|
+
actionpack (3.0.9) lib/action_controller/metal/rescue.rb:17:in `process_action'
|
84
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `process_action'
|
85
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in `perform_action_with_newrelic_trace'
|
86
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/method_tracer.rb:193:in `trace_execution_scoped'
|
87
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_with_newrelic_trace'
|
88
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
|
89
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:119:in `process'
|
90
|
+
actionpack (3.0.9) lib/abstract_controller/rendering.rb:41:in `process'
|
91
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:138:in `dispatch'
|
92
|
+
actionpack (3.0.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
93
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:178:in `action'
|
94
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `call'
|
95
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
|
96
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:27:in `call'
|
97
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
|
98
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
|
99
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:96:in `optimized_each'
|
100
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
|
101
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
|
102
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:493:in `call'
|
103
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:14:in `call'
|
104
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `catch'
|
105
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `call'
|
106
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/browser_monitoring.rb:18:in `call'
|
107
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/developer_mode.rb:24:in `call'
|
108
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call'
|
109
|
+
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'
|
110
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
111
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
112
|
+
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
|
113
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
114
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/flash.rb:182:in `call'
|
115
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
|
116
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/cookies.rb:302:in `call'
|
117
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:32:in `call'
|
118
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
|
119
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in `cache'
|
120
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:31:in `call'
|
121
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
|
122
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
|
123
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
|
124
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
|
125
|
+
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
|
126
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
127
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
128
|
+
railties (3.0.9) lib/rails/rack/logger.rb:13:in `call'
|
129
|
+
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
|
130
|
+
activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
131
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
132
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
|
133
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
134
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in `call'
|
135
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
|
136
|
+
railties (3.0.9) lib/rails/application.rb:168:in `call'
|
137
|
+
railties (3.0.9) lib/rails/application.rb:77:in `send'
|
138
|
+
railties (3.0.9) lib/rails/application.rb:77:in `method_missing'
|
139
|
+
rack (1.2.3) lib/rack/urlmap.rb:47:in `call'
|
140
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `each'
|
141
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `call'
|
142
|
+
railties (3.0.9) lib/rails/rack/log_tailer.rb:14:in `call'
|
143
|
+
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
|
144
|
+
rack (1.2.3) lib/rack/chunked.rb:15:in `call'
|
145
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:67:in `process'
|
146
|
+
mongrel (1.1.5) lib/mongrel.rb:159:in `process_client'
|
147
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `each'
|
148
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `process_client'
|
149
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
150
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `initialize'
|
151
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `new'
|
152
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
153
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `initialize'
|
154
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `new'
|
155
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `run'
|
156
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:38:in `run'
|
157
|
+
rack (1.2.3) lib/rack/server.rb:217:in `start'
|
158
|
+
railties (3.0.9) lib/rails/commands/server.rb:65:in `start'
|
159
|
+
railties (3.0.9) lib/rails/commands.rb:30
|
160
|
+
railties (3.0.9) lib/rails/commands.rb:27:in `tap'
|
161
|
+
railties (3.0.9) lib/rails/commands.rb:27
|
162
|
+
script/rails:6:in `require'
|
163
|
+
script/rails:6</code></pre>
|
164
|
+
</div>
|
165
|
+
<div id="Full-Trace" style="display: none;">
|
166
|
+
<pre><code>app/controllers/api/v1/users_controller.rb:15:in `index'
|
167
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
168
|
+
actionpack (3.0.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
169
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:150:in `process_action'
|
170
|
+
actionpack (3.0.9) lib/action_controller/metal/rendering.rb:11:in `process_action'
|
171
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:18:in `process_action'
|
172
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:466:in `_run__1987623246__process_action__199225275__callbacks'
|
173
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `send'
|
174
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
|
175
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `send'
|
176
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in `run_callbacks'
|
177
|
+
actionpack (3.0.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
178
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
179
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
180
|
+
activesupport (3.0.9) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
181
|
+
activesupport (3.0.9) lib/active_support/notifications.rb:52:in `instrument'
|
182
|
+
actionpack (3.0.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
183
|
+
actionpack (3.0.9) lib/action_controller/metal/rescue.rb:17:in `process_action'
|
184
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `process_action'
|
185
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in `perform_action_with_newrelic_trace'
|
186
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/method_tracer.rb:193:in `trace_execution_scoped'
|
187
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_with_newrelic_trace'
|
188
|
+
newrelic_rpm (3.0.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
|
189
|
+
actionpack (3.0.9) lib/abstract_controller/base.rb:119:in `process'
|
190
|
+
actionpack (3.0.9) lib/abstract_controller/rendering.rb:41:in `process'
|
191
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:138:in `dispatch'
|
192
|
+
actionpack (3.0.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
193
|
+
actionpack (3.0.9) lib/action_controller/metal.rb:178:in `action'
|
194
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `call'
|
195
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
|
196
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:27:in `call'
|
197
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
|
198
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
|
199
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:96:in `optimized_each'
|
200
|
+
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
|
201
|
+
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
|
202
|
+
actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:493:in `call'
|
203
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:14:in `call'
|
204
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `catch'
|
205
|
+
/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/bundler/gems/oauth2-provider-465353dcca4f/lib/oauth2/provider/rack/middleware.rb:10:in `call'
|
206
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/browser_monitoring.rb:18:in `call'
|
207
|
+
newrelic_rpm (3.0.1) lib/new_relic/rack/developer_mode.rb:24:in `call'
|
208
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call'
|
209
|
+
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'
|
210
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
211
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
212
|
+
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
|
213
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
214
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/flash.rb:182:in `call'
|
215
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
|
216
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/cookies.rb:302:in `call'
|
217
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:32:in `call'
|
218
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
|
219
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in `cache'
|
220
|
+
activerecord (3.0.9) lib/active_record/query_cache.rb:31:in `call'
|
221
|
+
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
|
222
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
|
223
|
+
activesupport (3.0.9) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
|
224
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
|
225
|
+
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
|
226
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
227
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
|
228
|
+
railties (3.0.9) lib/rails/rack/logger.rb:13:in `call'
|
229
|
+
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
|
230
|
+
activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
231
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
232
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
|
233
|
+
rack (1.2.3) lib/rack/lock.rb:11:in `call'
|
234
|
+
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in `call'
|
235
|
+
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
|
236
|
+
railties (3.0.9) lib/rails/application.rb:168:in `call'
|
237
|
+
railties (3.0.9) lib/rails/application.rb:77:in `send'
|
238
|
+
railties (3.0.9) lib/rails/application.rb:77:in `method_missing'
|
239
|
+
rack (1.2.3) lib/rack/urlmap.rb:47:in `call'
|
240
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `each'
|
241
|
+
rack (1.2.3) lib/rack/urlmap.rb:41:in `call'
|
242
|
+
railties (3.0.9) lib/rails/rack/log_tailer.rb:14:in `call'
|
243
|
+
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
|
244
|
+
rack (1.2.3) lib/rack/chunked.rb:15:in `call'
|
245
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:67:in `process'
|
246
|
+
mongrel (1.1.5) lib/mongrel.rb:159:in `process_client'
|
247
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `each'
|
248
|
+
mongrel (1.1.5) lib/mongrel.rb:158:in `process_client'
|
249
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
250
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `initialize'
|
251
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `new'
|
252
|
+
mongrel (1.1.5) lib/mongrel.rb:285:in `run'
|
253
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `initialize'
|
254
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `new'
|
255
|
+
mongrel (1.1.5) lib/mongrel.rb:268:in `run'
|
256
|
+
rack (1.2.3) lib/rack/handler/mongrel.rb:38:in `run'
|
257
|
+
rack (1.2.3) lib/rack/server.rb:217:in `start'
|
258
|
+
railties (3.0.9) lib/rails/commands/server.rb:65:in `start'
|
259
|
+
railties (3.0.9) lib/rails/commands.rb:30
|
260
|
+
railties (3.0.9) lib/rails/commands.rb:27:in `tap'
|
261
|
+
railties (3.0.9) lib/rails/commands.rb:27
|
262
|
+
script/rails:6:in `require'
|
263
|
+
script/rails:6</code></pre>
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
<h2 style="margin-top: 30px">Request</h2>
|
270
|
+
<p><b>Parameters</b>: <pre>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6",
|
271
|
+
"email_md5"=>"93e8d736de5088cb392465e024b69eef"}</pre></p>
|
272
|
+
|
273
|
+
<p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
|
274
|
+
<div id="session_dump" style="display:none"><pre></pre></div>
|
275
|
+
|
276
|
+
<p><a href="#" onclick="document.getElementById('env_dump').style.display='block'; return false;">Show env dump</a></p>
|
277
|
+
<div id="env_dump" style="display:none"><pre>CONTENT_LENGTH: "80"
|
278
|
+
CONTENT_TYPE: "application/x-www-form-urlencoded"
|
279
|
+
GATEWAY_INTERFACE: "CGI/1.2"
|
280
|
+
HTTP_ACCEPT: "*/*"
|
281
|
+
HTTP_HOST: "localhost:3000"
|
282
|
+
HTTP_VERSION: "HTTP/1.1"
|
283
|
+
PATH_INFO: "/api/v1/users"
|
284
|
+
QUERY_STRING: ""
|
285
|
+
REMOTE_ADDR: "127.0.0.1"
|
286
|
+
REQUEST_METHOD: "GET"
|
287
|
+
REQUEST_PATH: "/api/v1/users"
|
288
|
+
REQUEST_URI: "/api/v1/users"
|
289
|
+
SCRIPT_NAME: ""
|
290
|
+
SERVER_NAME: "localhost"
|
291
|
+
SERVER_PORT: "3000"
|
292
|
+
SERVER_PROTOCOL: "HTTP/1.1"
|
293
|
+
SERVER_SOFTWARE: "Mongrel 1.1.5"
|
294
|
+
action_controller.instance: #<Api::V1::UsersController:0x10e673e00 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"80", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e8c47e0>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e673e00 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e8c47e0>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @_response=#<ActionDispatch::Response:0x10e673c70 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"80", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e8c47e0>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e673e00 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e8c47e0>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e673900 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"80", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e8c47e0>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e673e00 ...>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e8c47e0>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:10", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:10", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "rB7cKGViAX2luazfxzii", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>
|
295
|
+
action_dispatch.cookies: {}
|
296
|
+
action_dispatch.parameter_filter: [:password]
|
297
|
+
action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 ...>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"80", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e8c47e0>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e673e00 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={...}, @_response=#<ActionDispatch::Response:0x10e673c70 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={...}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e673900 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={...}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:10", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:10", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "rB7cKGViAX2luazfxzii", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 @env={...}>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e8c47e0>, "GATEWAY_INTERFACE"=>"CGI/1.2"}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>
|
298
|
+
action_dispatch.request.accepts: [#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">]
|
299
|
+
action_dispatch.request.content_type: #<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">
|
300
|
+
action_dispatch.request.formats: [#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">]
|
301
|
+
action_dispatch.request.parameters: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}
|
302
|
+
action_dispatch.request.path_parameters: {:action=>"index", :controller=>"api/v1/users"}
|
303
|
+
action_dispatch.request.query_parameters: {}
|
304
|
+
action_dispatch.request.request_parameters: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}
|
305
|
+
action_dispatch.request.unsigned_session_cookie: {}
|
306
|
+
action_dispatch.secret_token: "83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425"
|
307
|
+
action_dispatch.show_exceptions: true
|
308
|
+
hoptoad.error_id: nil
|
309
|
+
oauth2: #<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.request.parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, "rack.session"=>{}, "HTTP_ACCEPT"=>"*/*", "HTTP_HOST"=>"localhost:3000", "SERVER_NAME"=>"localhost", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x10e8c31b0 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @remote_addrs=[]>, "rack.url_scheme"=>"http", "REQUEST_PATH"=>"/api/v1/users", "CONTENT_LENGTH"=>"80", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{}, "rack.errors"=>#<IO:0x1094fcd10>, "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "SERVER_PROTOCOL"=>"HTTP/1.1", "hoptoad.error_id"=>nil, "action_dispatch.request.accepts"=>[#<Mime::Type:0x10b13b710 @symbol=nil, @synonyms=[], @string="*/*">], "action_dispatch.secret_token"=>"83967e16c1b5ea7b4d2ebe7e14135a9472ea4e95cef9becba105bc5887b9fd997f834e05ffd72d402b425e9c2a87ef70b56c5ae19c86c1e49bfb03462c074425", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"Mongrel 1.1.5", "PATH_INFO"=>"/api/v1/users", "REMOTE_ADDR"=>"127.0.0.1", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"api/v1/users"}, "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "rack.multithread"=>false, "HTTP_VERSION"=>"HTTP/1.1", "action_dispatch.request.request_parameters"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "rack.request.form_vars"=>"user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef", "action_dispatch.cookies"=>{}, "rack.multiprocess"=>false, "REQUEST_URI"=>"/api/v1/users", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x10e8c47e0>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<Api::V1::UsersController:0x10e673e00 @_action_name="index", @_headers={"Content-Type"=>"text/html"}, @current_user_session=#<UserSession: {:unauthorized_record=>"<protected>"}>, @_config=#<OrderedHash {}>, @_env={...}, @_response=#<ActionDispatch::Response:0x10e673c70 @cookie=[], @cache_control={}, @body=[], @header={}, @writer=#<Proc:0x0000000108d46878@/Users/michaelguterl/.rvm/gems/ree-1.8.7-2011.03@rm-board/gems/actionpack-3.0.9/lib/action_dispatch/http/response.rb:43>, @block=nil, @blank=false, @status=200, @sending_file=false, @etag=nil, @length=0, @request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={...}, @method="GET">>, @lookup_context=#<ActionView::LookupContext:0x10e673900 @view_paths=[#<ActionView::FileSystemResolver:0x10ad35d28 @caching=false, @path="/Users/michaelguterl/code/rm/board/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad36ca0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/ssl_requirement/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10ad83910 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/serialized_attributes/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10adf8f30 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/haml/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af2a1b0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/formtastic/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af6ec70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/caching_presenter/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10af82c70 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/attribute_mapper/app/views", @cached={}>, #<ActionView::FileSystemResolver:0x10affa1d0 @caching=false, @path="/Users/michaelguterl/code/rm/board/vendor/plugins/alter_table/app/views", @cached={}>], @details_key=nil, @details={:handlers=>[:haml, :rhtml, :rjs, :rxml, :builder, :erb], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=false>, @_request=#<ActionDispatch::Request:0x10e673d38 @request_method="GET", @filtered_parameters={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @fullpath="/api/v1/users", @env={...}, @method="GET">, @_params={"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "action"=>"index", "email_md5"=>"93e8d736de5088cb392465e024b69eef", "controller"=>"api/v1/users"}, @_response_body=nil, @view_context_class=nil, @action_has_layout=true, @_status=200, @current_user=#<User id: 1, created_at: "2011-08-29 18:18:18", updated_at: "2011-08-29 18:19:10", email: "staff@recruitmilitary.com", crypted_password: "0c2e2255b213959ab77da74dd2a427681990dafefb999048f4f...", password_salt: "BUuHfUgauBblH5J5aghi", persistence_token: "ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa9162...", login_count: 0, last_request_at: "2011-08-29 18:19:10", last_login_at: nil, current_login_at: nil, last_login_ip: nil, current_login_ip: nil, first_name: "Staff", last_name: "McStafforson", phone: nil, unsubscribed_at: nil, searchable: false, perishable_token: "rB7cKGViAX2luazfxzii", secret_id: "8997cf28a075ac67ac4372eda8fefc39", single_access_token: "Bdrc3t1LaiWtygbJ4jD6", email_md5: "3e67fa7c8045d085e66a51deee26cbc4", hidden_at: nil, primary_role_id: 3, email_invalid_at: nil, agreement_acknowledged_at: nil, agreement_initials: nil, confirmed_at: "2011-08-29 18:18:18">>, "rack.session.options"=>{:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}, "REQUEST_METHOD"=>"GET", "oauth2"=>#<OAuth2::Provider::Rack::ResourceRequest:0x10e8b4c00 ...>, "rack.request.query_string"=>"", "rack.request.form_hash"=>{"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}, "action_dispatch.request.content_type"=>#<Mime::Type:0x108a2fe28 @symbol=:url_encoded_form, @synonyms=[], @string="application/x-www-form-urlencoded">, "QUERY_STRING"=>"", "rack.input"=>#<StringIO:0x10e8c47e0>, "GATEWAY_INTERFACE"=>"CGI/1.2"}>
|
310
|
+
rack.errors: #<IO:0x1094fcd10>
|
311
|
+
rack.input: #<StringIO:0x10e8c47e0>
|
312
|
+
rack.multiprocess: false
|
313
|
+
rack.multithread: false
|
314
|
+
rack.request.form_hash: {"user_credentials"=>"Bdrc3t1LaiWtygbJ4jD6", "email_md5"=>"93e8d736de5088cb392465e024b69eef"}
|
315
|
+
rack.request.form_input: #<StringIO:0x10e8c47e0>
|
316
|
+
rack.request.form_vars: "user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=93e8d736de5088cb392465e024b69eef"
|
317
|
+
rack.request.query_hash: {}
|
318
|
+
rack.request.query_string: ""
|
319
|
+
rack.run_once: false
|
320
|
+
rack.session: {}
|
321
|
+
rack.session.options: {:expire_after=>nil, :httponly=>true, :domain=>nil, :path=>"/", :secure=>false, :id=>nil}
|
322
|
+
rack.url_scheme: "http"
|
323
|
+
rack.version: [1, 1]</pre></div>
|
324
|
+
|
325
|
+
|
326
|
+
<h2 style="margin-top: 30px">Response</h2>
|
327
|
+
<p><b>Headers</b>: <pre>None</pre></p>
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
</body>
|
332
|
+
</html>
|
333
|
+
|
334
|
+
http_version: "1.1"
|