89c79b8b95
1 2 3 4 5 6 7
class AbstractItem < ActiveRecord::Base self.abstract_class = true has_one :tagging, :as => :taggable end class Item < AbstractItem end