In Rails, how should I implement a Status field for a Tasks app – integer or enum?
1.It depends on how much you want to optimize queries on the DB. 2.Not really, it is not supported ‘out of the box’ by AR. # As of Rails 4 enums are supported out of the box. 3.IMHO you can use strings without a big performance penalty (just remember to add field to an index). … Read more