Try

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

On Mon, Sep 13, 2010 at 11:44 PM, Fritz Trapper <[email protected]>wrote:

> Marnen Laibow-Koser wrote:
> > Are you sure !...@condition is true when you expect it to be?
>
> Yes, I checked it in the debugger.
>  --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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