out of time
-
Using ENUMs with Rails
Great article by friend and former colleague John Crepezzi. John and I both think Rails developers should focus more on using databases as they were intended to be; Rails tends to move a lot of database-layer considerations (column lengths, “uniqueness”, nullability, relational integrity, etc.) improperly into the application layer. If you’re looking to take better advantage of the features your database already supports, this is a great place to start.