undefined method `bytesize' for #ActionDispatch::Response:0x000000042073b8


#1

When processing a request, this error appears:

[2012-08-07 15:42:44] ERROR NoMethodError: undefined method `bytesize' for #<ActionDispatch::Response:0x000000042073b8>
/home/tbh/.rvm/gems/[email protected]/gems/rack-mini-profiler-0.1.7/lib/mini_profiler/body_add_proxy.rb:18:in `method_missing'
/home/tbh/.rvm/gems/[email protected]/gems/rack-1.2.5/lib/rack/utils.rb:276:in `bytesize'
/home/tbh/.rvm/gems/[email protected]/gems/rack-1.2.5/lib/rack/content_length.rb:22:in `block i...
...

Using Rails 3.0.15, Ruby 1.9.3p125 Rack 1.2.5 rack-mini-profiler 0.1.7


#2

This is way old, please grab the latest gem


#3

Sorry, forgot to bundle update. Works fine, thanks!