alexey.Creopolis wrote:
> This error can happen on endless loop or never ending recursive
> function,
> CAn u show app/models/mymailertest.rb content and method on app/
> controllers/account_controller.rb:261 ?
>
>
> On Oct 29, 12:02�pm, Babysudha Subbiah <[EMAIL PROTECTED]
Hi alexey,
Thanks for your reply.This is my
app/controllers/account_controller.rb:261?
Mymailertest.deliver_welcome(recipient,subject,message)
app/models/mymailertest.rb
def welcome(recipient, subject, message, sent_at = Time.now)
@subject = subject
@recipients = recipient
@from = ''
@sent_on = sent_at
@body["title"] = 'This is title'
@body["email"] = ''
@body["message"] = message
@headers = {}
end
calling and called function.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---