2010-01-27 21:29:03 +03:00
|
|
|
class Board < ActiveRecord::Base
|
2011-09-23 21:23:22 +04:00
|
|
|
generator_for :name, :start => 'A Forum'
|
|
|
|
generator_for :description, :start => 'Some description here'
|
2010-01-27 21:29:03 +03:00
|
|
|
generator_for :project, :method => :generate_project
|
|
|
|
|
|
|
|
def self.generate_project
|
|
|
|
Project.generate!
|
|
|
|
end
|
|
|
|
end
|