Sha256: c6af8f30ffa40d097eabe1c61a73453d2de380bba9f24873248c70b8ae869a5a

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cached-models-0.0.2 test/models/post.rb