view .svn/pristine/6d/6d8b57d3f9af4fafe2fd6cde3312b234c4375e61.svn-base @ 1064:baf70e98d8ab issue_546

Addresses bug #546 - uneeded project.id parameter being sent to the project_tags action of the auto_completes controller
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 20 Nov 2012 10:33:11 +0000
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