view .svn/pristine/ee/ee91666670aba00b7f7c1bef0863d52fe4dac26b.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 Board < ActiveRecord::Base
  generator_for :name, :start => 'A Forum'
  generator_for :description, :start => 'Some description here'
  generator_for :project, :method => :generate_project

  def self.generate_project
    Project.generate!
  end
end