ActiveRecord add-on for the Totem gem