This didn''t get answered before, I''m not quite sure if the
silence is
telling me that I''m an idiot and it should be obvious, or if the
silence indicates that no one knows why a simple thing shouldn''t work.
I''ve tried this on a linux Centos install, and now my mac. I get the
same result.
In my view I have
<%= link_to "New #{@item_class}", {:action =>
''new'', :item_class=>@item_class} %>
which shows up as in the html source:
<a href="/item/new">New Photo</a>
note that the extra "item_class" is not getting added, such as
/item/new?item_class=Photo
which is what 1.1.6 did.
Note that I added the brackets to create a hash for 1.2.2, previously
in 1.1.6 I had
<%= link_to "New #{@item_class}", :action =>
''new'', :item_class=>@item_class %>
which worked.
Any guidance appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---