Sha256: ecce786b25a7a7c99b3b4a35d281d0f0860f3007e2505f873cfba61f3e7f0c01

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

class Post < ActiveRecord::Base
  belongs_to :author, :cached => true
  belongs_to :blog
  has_many :comments
  has_many :tags, :as => :taggable
  has_many :cached_tags, :as => :taggable, :class_name => 'Tag', :cached => true
  has_and_belongs_to_many :categories
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jodosha-cached-models-0.0.3 test/models/post.rb
cached-models-0.0.3 test/models/post.rb