Single Table Inheritance in Hobo
ActiveRecord used single table inheritance to store a heirachy of models in the same table, using a column called type to know what object to stick the data it as it comes back from the database. This is pretty cool, but… when you define your fields in a hobo model, it uses method_missing to […]