7adac51d6d
1) Upgrade Rails to 1.2.3 2) Revert RedCloth to previous version (who %#$@ cares?) 3) Preserve the Rails Security fix to vendor/rails/actionpack/lib/action_controller/caching.rb from Revision 80.
7 lines
215 B
Ruby
7 lines
215 B
Ruby
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 |