I want to explicitly pass a boolean false to params[:closed] and I've got something like this:
= link_to 'appointments', appointments_path(:closed => false)
But this is not working as rails is treating a false boolean as I don't want anything set for this params, is there any way to get around this?
update: the false I'm passing in is a boolean and I want an url like this
\appointments?closed=false
but all I get is just \appointments. Hope this is a bit more clear.
Side question, is it good practise to pass booleans as params?