> <%= f.select :attr,
>                     @choices,
>                     {},
>                     :include_blank => true,
>                     :disabled => !...@condition %>

It just happens that I'm working on the very same thing again and the
problem with the above is that when the select is not disabled it
actually does not include the empty option.

Running Rails 2.3.5 & Ruby 1.8.6

-- 
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 [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-talk?hl=en.

Reply via email to