On Wed, Apr 23, 2008 at 2:17 PM, Dan Previte <[EMAIL PROTECTED]> wrote:
> Looks like $A instead of new Array() or new Object fixes it.

Ahh, yes. I was looking at the Ajax.Base#initialize method which only
parses out Strings or Hashes. If you look a little further, at the
request method, the code converts the parameters to a query string
via: Object.toQueryString(params).

However it looks like if you do this on an Array object, you will get
a lot more than you are expecting...

Run this in Firebug: Object.toQueryString($A())

vs.: Object.toQueryString($H())

-justin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to