annotate test/exemplars/wiki_page_exemplar.rb @ 1171:b4558bc5837f bug_505

Close obsolete branch bug_505
author Chris Cannam
date Fri, 03 Aug 2012 19:40:23 +0100
parents cbb26bc654de
children
rev   line source
Chris@0 1 class WikiPage < ActiveRecord::Base
Chris@909 2 generator_for :title, :start => 'AWikiPage'
Chris@0 3 generator_for :wiki, :method => :generate_wiki
Chris@0 4
Chris@0 5 def self.generate_wiki
Chris@0 6 Wiki.generate!
Chris@0 7 end
Chris@0 8 end