~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activerecord/test/models/tag.rb

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
class Tag < ActiveRecord::Base
 
2
  has_many :taggings
 
3
  has_many :taggables, :through => :taggings
 
4
  has_one  :tagging
 
5
 
 
6
  has_many :tagged_posts, :through => :taggings, :source => :taggable, :source_type => 'Post'
 
7
end
 
 
b'\\ No newline at end of file'