Sha256: 06cf7d7b850a7299aa5503fad6cbe2a682b3c5642ec1515e16a06d1cfa5be0de
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
module Banyan class Categorization < ActiveRecord::Base set_table_name 'banyan_categorizations' belongs_to :category, :class_name => 'Banyan::Category' belongs_to :categorizable, :polymorphic => true, :touch => true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
banyan-1.1.1 | lib/banyan/categorization.rb |
banyan-1.0.1 | lib/banyan/categorization.rb |