view .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
line wrap: on
line source
class Message < ActiveRecord::Base
  generator_for :subject, :start => 'A Message'
  generator_for :content, :start => 'Some content here'
  generator_for :board, :method => :generate_board

  def self.generate_board
    Board.generate!
  end
end