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.2.96 app/models/caboose/post_category.rb
caboose-cms-0.2.95 app/models/caboose/post_category.rb
caboose-cms-0.2.94 app/models/caboose/post_category.rb
caboose-cms-0.2.93 app/models/caboose/post_category.rb
caboose-cms-0.2.92 app/models/caboose/post_category.rb
caboose-cms-0.2.91 app/models/caboose/post_category.rb
caboose-cms-0.2.90 app/models/caboose/post_category.rb
caboose-cms-0.2.89 app/models/caboose/post_category.rb
caboose-cms-0.2.88 app/models/caboose/post_category.rb
caboose-cms-0.2.87 app/models/caboose/post_category.rb
caboose-cms-0.2.86 app/models/caboose/post_category.rb
caboose-cms-0.2.85 app/models/caboose/post_category.rb
caboose-cms-0.2.84 app/models/caboose/post_category.rb
caboose-cms-0.2.83 app/models/caboose/post_category.rb
caboose-cms-0.2.82 app/models/caboose/post_category.rb
caboose-cms-0.2.81 app/models/caboose/post_category.rb
caboose-cms-0.2.80 app/models/caboose/post_category.rb
caboose-cms-0.2.79 app/models/caboose/post_category.rb
caboose-cms-0.2.78 app/models/caboose/post_category.rb
caboose-cms-0.2.71 app/models/caboose/post_category.rb