# Dispatch Error with Ruby Cookbook recipes 15.8 and 15.9

**URL:** <https://www.ruby-forum.com/t/dispatch-error-with-ruby-cookbook-recipes-15-8-and-15-9/110875>\
**Category:** Rails\
**Created:** [July 31, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/dispatch-error-with-ruby-cookbook-recipes-15-8-and-15-9/110875 "2007-07-31T18:39:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 31, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/dispatch-error-with-ruby-cookbook-recipes-15-8-and-15-9/110875/1 "2007-07-31T18:39:12Z")

</div>

I don’t know if anyone else has seen this but when trying to use the  
code in recipes 15.8 and 15.9 of the Ruby Cookbook you get non-stop  
Dispatch errors. Your application will throw ArgumentError 0 for 1  
with every page request.

Has anyone else run across this? If so did you figure out what was  
causing it? I’ve been staring at it off and on for about a day and  
don’t see anything. I ended up ripping it out of my top priority  
application and replacing it with something else.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 31, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/dispatch-error-with-ruby-cookbook-recipes-15-8-and-15-9/110875/2 "2007-07-31T20:04:24Z")

</div>

Sorry to bother everyone. It was my own fault entirely.

I need to remember that if I am going to copy something I should look  
to my own naming changes before I blame the original author. That and  
I shouldn’t be using such words as hash in the first place unless I  
want a hash.

On Jul 31, 10:38 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
