[LRUG] Matching database tables through Ruby

Marcus Roberts marcus at marcusr.org.uk
Tue Aug 14 09:16:24 PDT 2007


Thanks everyone for your replies - acts_as_enumerated looks very  
useful here, and I'll be checking out the state machine plugin too.

Marcus

On 14 Aug 2007, at 17:03, Martin Sadler wrote:

> Hi Marcus,
>
> I tend to use the acts_as_enumerated plugin:
> http://agilewebdevelopment.com/plugins/acts_as_enumerated
>
> Example:
> task = Task.new(:status => TaskStatus[:open])
> task.update_attribute(:status, TaskStatus[:closed])
>



More information about the Chat mailing list