Forum: Ruby on Rails help please!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alon G. (Guest)
on 2007-01-31 19:12

I'll appreciate insight on this one... it's causing me some pain on my
production env.

<%= link_to "something",
  :controller => "somecontroller",
  :action => 'someaction',
  :id => someid,
  :favorite => is_a_favorite %>

I added a boolean :favorite to the URL arguments.

THis has always worked well under my dev environment (webrick) and

<a href="/somecontroller/someaction/someid?favorite=false>

but now, under production, with lighttpd it ignores the added argument!

<a href="/somecontroller/someaction/someid">


Alon G. (Guest)
on 2007-01-31 19:21
I just found out that when the value is "true" it actually adds it to
the URL, however when it's "false" it doesn't! why is that?
This topic is locked and can not be replied to.