Source

RubyLearning / ProjectTrak / vendor / rails / activerecord / test / models / item.rb

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