view .svn/pristine/6d/6d8b57d3f9af4fafe2fd6cde3312b234c4375e61.svn-base @ 1271:cf4cc816278a live last_rails2_version

Remove inner quotes from realm (workaround for #577)
author Chris Cannam
date Tue, 07 May 2013 12:45:51 +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