Roy Pardee wrote:
> I would go with a single 'status' field.

Thanks Roy, I appreciate the reply. I guess I could just do a...

[code]
if @child.status == 'lost'
  ...
[/code]


I did like the elegance of boolean for things like:

[code]
if @child.is_lost?
  ...
[/code]

Any other suggestions or opinions?
-- 
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 rubyonrails-talk@googlegroups.com
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