Use a helper method to represent this condition.

On Sat, Dec 12, 2009 at 6:38 PM, RVince <[email protected]> wrote:

> I have an issue whereby, say I have a button in a view......that shows
> one way if a boolean field in a db is true, and another way when it is
> false.
> When the value of that field in the db changes, I want the button;s
> state in the view to change as well.
> How would you guys recommend I do this? Thanks, R.Vince
>
> --
>
> 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.
>
>
>


-- 
Andrei Erdoss

--

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