Sha256: f8b9ca6d5b2b279ca1b4d3747a1e1f0d49ab6f7bb1ac65c87bc700720bfc3721

Contents?: true

Size: 251 Bytes

Versions: 6

Compression:

Stored size: 251 Bytes

Contents

module Wafflemix
  class Categorical < ActiveRecord::Base
    attr_accessible :category_id, :categorical_id, :categorical_type

    belongs_to :categorical, :polymorphic => true
    belongs_to :category, :class_name => 'Wafflemix::Category'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wafflemix-0.0.6 app/models/wafflemix/Categorical.rb
wafflemix-0.0.5 app/models/wafflemix/Categorical.rb
wafflemix-0.0.4 app/models/wafflemix/Categorical.rb
wafflemix-0.0.3 app/models/wafflemix/Categorical.rb
wafflemix-0.0.2 app/models/wafflemix/Categorical.rb
wafflemix-0.0.1 app/models/wafflemix/Categorical.rb