Mercurial > hg > soundsoftware-site
annotate .svn/pristine/6d/6d8b57d3f9af4fafe2fd6cde3312b234c4375e61.svn-base @ 929:5f33065ddc4b redmine-1.3
Update to Redmine SVN rev 9414 on 1.3-stable branch
author | Chris Cannam |
---|---|
date | Wed, 27 Jun 2012 14:54:18 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class Message < ActiveRecord::Base |
Chris@909 | 2 generator_for :subject, :start => 'A Message' |
Chris@909 | 3 generator_for :content, :start => 'Some content here' |
Chris@909 | 4 generator_for :board, :method => :generate_board |
Chris@909 | 5 |
Chris@909 | 6 def self.generate_board |
Chris@909 | 7 Board.generate! |
Chris@909 | 8 end |
Chris@909 | 9 end |