Dispatch Error with Ruby Cookbook recipes 15.8 and 15.9


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.


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