I could have used the Enums as well but I preferred to go with boolean fields.
I will have three boolean fields(OLD, NEW, VERY_OLD). As I wrote earlier, values could be multiple as well. So, If status is OLD and VERY_OLD both, then I will mark "is_old" & "is_very_old" columns as true/1. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7155c36c417d4b9c9b5a0206601f34ba%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.