nevans (owner)

Revisions

gist: 220599 Download_button fork
public
Public Clone URL: git://gist.github.com/220599.git
Embed All Files: show embed
00script.sh #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cd ~/tmp
 
# current bundler (0.6.0) has a different bug, so I'm using github master version
git clone git://github.com/wycats/bundler
cd bundler
git rev-parse HEAD # => 4907696811a73211aaded4f6ba03cbc45898769b
rake install
 
cd ..
rails test_gem_bundler
cd test_gem_bundler
script/generate scaffold person name:string dob:date
rake db:migrate
script/server
 
# view localhost:3000/people, everything works
 
# use Gemfile and config files below
gem bundle
script/server
# view localhost:3000/people, dies with stacktrace given below
 
# There appears to be some sort of conflict between formtastic and bundler
# Notice, I haven't started *using* formtastic yet.
# The bug is triggered by Bundler.require_env, and can be avoided by not
# requiring formtastic. (e.g. :only => :never)
# Rails will still load formtastic's "rails/init.rb" just fine.
config/environments/development.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Settings specified here will take precedence over those in config/environment.rb
 
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
config.cache_classes = false
 
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
 
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
 
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
 
Bundler.require_env RAILS_ENV
 
config/preinitializer.rb #
1
2
require "#{RAILS_ROOT}/vendor/gem-bundler/environment"
 
Gemfile #
1
2
3
4
5
6
7
8
bundle_path "vendor/gem-bundler"
gem "rails"
gem "sqlite3-ruby"
gem "formtastic"
# fix bug by appending ", :only => :never" to the line above
 
disable_system_gems
 
zz-errorlog.txt #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
Processing PeopleController#index (for 127.0.0.1 at 2009-10-28 12:28:41) [GET]
  Person Load (0.4ms) SELECT * FROM "people"
Rendering template within layouts/people
Rendering people/index
 
ActionView::TemplateError (undefined method `link_to' for #<ActionView::Base:0x100668658>) on line #22 of app/views/people/index.html.erb:
19:
20: <br />
21:
22: <%= link_to 'New person', new_person_path %>
 
    app/views/people/index.html.erb:22
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:343:in `_render_with_layout'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:257:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1250:in `render_for_file'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:951:in `render_without_benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:51:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:51:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:135:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:135:in `custom'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:179:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:179:in `respond'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:173:in `each'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:173:in `respond'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/mime_responds.rb:107:in `respond_to'
    app/controllers/people_controller.rb:7:in `index'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:617:in `call_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in `perform_action'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in `dispatch'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
 
Rendered rescues/_trace (54.5ms)
 
 
Processing ApplicationController#index (for 127.0.0.1 at 2009-10-28 12:28:41) [GET]
 
ActionView::TemplateError (undefined method `debug' for #<ActionView::Base:0x100668658>) on line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:
17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
18:
19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
21:
22:
23: <h2 style="margin-top: 30px">Response</h2>
 
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:162:in `perform_action_without_flash'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in `perform_action'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in `dispatch'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
 
Rendered rescues/_trace (44.2ms)
/!\ FAILSAFE /!\ Wed Oct 28 12:28:41 -0400 2009
  Status: 500 Internal Server Error
  
ActionView::TemplateError (undefined method `debug' for #<ActionView::Base:0x10229b9b0>) on line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:
17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
18:
19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
21:
22:
23: <h2 style="margin-top: 30px">Response</h2>
 
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:65:in `call_with_exception'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:90:in `dispatch'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111
 
 
    On line #20 of vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb
 
    17: <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p>
    18:
    19: <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
    20: <div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div>
    21:
    22:
    23: <h2 style="margin-top: 30px">Response</h2>
 
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/_request_and_response.erb:20
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:20:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:26:in `benchmark'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable_partial.rb:19:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/templates/rescues/template_error.erb:21
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:34:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:301:in `with_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/renderable.rb:30:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/template.rb:199:in `render_template'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_view/base.rb:260:in `render'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:74:in `rescue_action'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `send'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in `process_without_filters'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in `process'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:65:in `call_with_exception'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:90:in `dispatch'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in `_call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in `cache'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in `call'
    vendor/gem-bundler/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in `call'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in `run'
    vendor/gem-bundler/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
    vendor/gem-bundler/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    vendor/gem-bundler/gems/rails-2.3.4/lib/commands/server.rb:111