Hi all,
Is it me or should this work:
<%= link_to("link", :a => {:b => 1}) %>
I expected:
?a[b]=1
But instead I get:
?a=b1
b1 is the #to_s form of {:b => 1}.
So, are my expectations wrong, or am I right ? If I'm right, where
should I look at to patch Rails ? Just a general pointer would be
appreciated.
Thanks !
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---