Make custom traits

courtesy of @achiu. Lover of all things ActiveRecord and Rails.