From 543d65ebb65e6bbe962a9da42b7bca1cfc75f7fa Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 27 Jan 2008 07:40:46 +0000 Subject: [PATCH] adding page relationship git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@102 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/models/tag.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/tag.rb b/app/models/tag.rb index 972262c..c3d4cf8 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,2 +1,3 @@ class Tag < ActiveRecord::Base + has_and_belongs_to_many :pages, :join_table => 'tags_pages' end