Stack level too deep

Hi,

i have worked on one website using Ruby On Rails.i have installed acts_as_attachment for authenticate the user.after that i have installed login_engine plugin to try out some mail sending function.but i did not get that function worked.So i have just removed that login_engine plugin.and try out mail sending using acton_mailer gem.But while i am running that application to send mail for forgot password fuction.

It shows the error as

stack level too deep

RAILS_ROOT: E:/Anovaproject/anova_tues Application Trace | Framework Trace | Full Trace

C:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/helpers.rb:92:in `inherited_without_helper' C:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/helpers.rb:92:in `inherited' app/models/mymailertest.rb:1 app/controllers/account_controller.rb:261:in `forgot_password'

for this i have also reinstalled login_engine plugin.Cannot recover the error.Please any one can help me.How can i remove this error.any idea.

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 ?

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 <rails-mailing-l...@andreas-

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.