I’m having a problem implementing a link_to_remote that passes a
customer’s name as a name=>value hash where the name is ‘repaired’ and
the value is a customer’s name.
It’s getting munged though and turns out to be:
“repaired”=>“customer_nameABC-CustomerNameInc”
Probably something I’m doing. If someone has time to take a look,
here’s the link_to_remote:
Look at the Javascript that’s generated from your link_to_remote. You’re
trying to pass a Ruby Hash object as in a query string. I don’t think
Ruby
is figuring out that it’s receiving anything different from a plain old
string. You may have to come up with a different solution.