journalduhacker/app/models/tagging.rb

5 lines
129 B
Ruby

class Tagging < ActiveRecord::Base
belongs_to :tag, :inverse_of => :taggings
belongs_to :story, :inverse_of => :taggings
end