Project

General

Profile

Download (194 Bytes) Statistics
| Branch: | Tag: | Revision:
class TaxableTaxonomy < ActiveRecord::Base
belongs_to :taxonomy
belongs_to :taxable, :polymorphic => true

validates_uniqueness_of :taxonomy_id, :scope => [:taxable_id, :taxable_type]
end
(63-63/77)