adding page relationship
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@102 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
353363c31b
commit
543d65ebb6
|
@ -1,2 +1,3 @@
|
||||||
class Tag < ActiveRecord::Base
|
class Tag < ActiveRecord::Base
|
||||||
|
has_and_belongs_to_many :pages, :join_table => 'tags_pages'
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue