annotate .svn/pristine/6d/6d8b57d3f9af4fafe2fd6cde3312b234c4375e61.svn-base @ 917:66ac47c3719b cannam_integration

Rename .text.html.erb and .text.plain.erb to .html.erb and .text.erb in line with the other mailer files
author Chris Cannam
date Tue, 06 Mar 2012 14:05:16 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class Message < ActiveRecord::Base
Chris@909 2 generator_for :subject, :start => 'A Message'
Chris@909 3 generator_for :content, :start => 'Some content here'
Chris@909 4 generator_for :board, :method => :generate_board
Chris@909 5
Chris@909 6 def self.generate_board
Chris@909 7 Board.generate!
Chris@909 8 end
Chris@909 9 end