[Rails] Re: ActionMailer(1.3.5) model problem in my Rails1.2.5

2009-06-14 Thread geniusfox
I think my problem is : >> FinanceMailer.new => nil >> On Jun 15, 10:42 am, geniusfox wrote: > Hi all: >I user the command : ruby script/generate mailer FinanceMailer > alert_customer_balance, then ,i have this files: > > class FinanceMailer

[Rails] ActionMailer(1.3.5) model problem in my Rails1.2.5

2009-06-14 Thread geniusfox
Hi all: I user the command : ruby script/generate mailer FinanceMailer alert_customer_balance, then ,i have this files: class FinanceMailer < ActionMailer::Base def alert_customer_balance(sent_at = Time.now) @subject= 'FinanceMailer#alert_customer_balance' @body = {}