Sha256: ef100b119a0825f6c3acc256271c0c460118c06ac7412b0beaf4b8ddc3aca942

Contents?: true

Size: 227 Bytes

Versions: 240

Compression:

Stored size: 227 Bytes

Contents

class Caboose::PostCategory < ActiveRecord::Base
  self.table_name = "post_categories"
  
  has_many :post_category_memberships
  has_many :posts, :through => :post_category_memberships
    
  attr_accessible :id, :name 

end

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
caboose-cms-0.4.113 app/models/caboose/post_category.rb
caboose-cms-0.4.112 app/models/caboose/post_category.rb
caboose-cms-0.4.111 app/models/caboose/post_category.rb
caboose-cms-0.4.110 app/models/caboose/post_category.rb
caboose-cms-0.4.109 app/models/caboose/post_category.rb
caboose-cms-0.4.108 app/models/caboose/post_category.rb
caboose-cms-0.4.106 app/models/caboose/post_category.rb
caboose-cms-0.4.105 app/models/caboose/post_category.rb
caboose-cms-0.4.104 app/models/caboose/post_category.rb
caboose-cms-0.4.103 app/models/caboose/post_category.rb
caboose-cms-0.4.102 app/models/caboose/post_category.rb
caboose-cms-0.4.101 app/models/caboose/post_category.rb
caboose-cms-0.4.100 app/models/caboose/post_category.rb
caboose-cms-0.4.99 app/models/caboose/post_category.rb
caboose-cms-0.4.98 app/models/caboose/post_category.rb
caboose-cms-0.4.97 app/models/caboose/post_category.rb
caboose-cms-0.4.96 app/models/caboose/post_category.rb
caboose-cms-0.4.95 app/models/caboose/post_category.rb
caboose-cms-0.4.94 app/models/caboose/post_category.rb
caboose-cms-0.4.93 app/models/caboose/post_category.rb