Problems with jRails and ajax helpers

Brent Collier wrote:

Does anyone have any idea what the problem might be?

Also, jrails does not ship with tests. I ought to remember to check them before adding a plugin...

I've submitted the problem to the jRails people here:
http://code.google.com/p/ennerchi/issues/detail?id=41

Brent Collier wrote:

I figured it out. I was passing in a url as an argument as a string, not as a hash with a :url key. So really, jRails isn't broken, BUT it should give me some sort of meaningful error, instead of just blowing up, when passed invalid arguments.

Actually, helpers like remote_function should accept either a :url=>{} with parts or a string. That lets you use named routes...