Sha256: 0fd8212d3cd23322409a732b1cd9d7b06d901323524ecc20634c7cd8b1fa3bf1

Contents?: true

Size: 245 Bytes

Versions: 46

Compression:

Stored size: 245 Bytes

Contents

class Post < ActiveRecord::Base
  self.primary_key = :post_id

  belongs_to :subcateg, :foreign_key => :fk_subcat_id

  has_many :post_comments
  counter_culture :subcateg, :column_name => :posts_count

  counter_culture [:subcateg, :categ]
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
counter_culture-2.2.2 spec/models/post.rb
counter_culture-2.2.1 spec/models/post.rb
counter_culture-2.2.0 spec/models/post.rb
counter_culture-2.1.4 spec/models/post.rb
counter_culture-2.1.3 spec/models/post.rb
counter_culture-2.1.2 spec/models/post.rb
counter_culture-2.1.1 spec/models/post.rb
counter_culture-2.1.0 spec/models/post.rb
counter_culture-2.0.1 spec/models/post.rb
counter_culture-2.0.0 spec/models/post.rb
counter_culture-1.12.0 spec/models/post.rb
counter_culture-1.11.0 spec/models/post.rb
counter_culture-1.10.0 spec/models/post.rb
counter_culture-1.9.2 spec/models/post.rb
counter_culture-1.9.1 spec/models/post.rb
counter_culture-1.9.0 spec/models/post.rb
counter_culture-1.8.2 spec/models/post.rb
counter_culture-1.8.1 spec/models/post.rb
counter_culture-1.8.0 spec/models/post.rb
counter_culture-1.7.0 spec/models/post.rb