Sha256: 0f7939982decae8272892c7c4b4bbc0fbc2ad5269d56aeb35e0436a18c43a90c

Contents?: true

Size: 216 Bytes

Versions: 8

Compression:

Stored size: 216 Bytes

Contents

class Tag < ActiveRecord::Base
  has_many :taggings
  has_many :taggables, :through => :taggings
  has_one  :tagging

  has_many :tagged_posts, :through => :taggings, :source => :taggable, :source_type => 'Post'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/activerecord/test/fixtures/tag.rb