This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/models/tag.rb

4 lines
97 B
Ruby

class Tag < ActiveRecord::Base
has_and_belongs_to_many :pages, :join_table => 'tags_pages'
end