I'm having a weird problem. My app is working just fine, but there's a certain action that sends email notification to a user using ActionMailler.
EVERYTIME I click the link whick calls this action I receive the error page "Rails application failed to start properly", but after I refresh the page (F5), calling the same action again, everything works and my email is sent.
What may be causing this weird problem? I'm using SMTP, but tried to use sendmail and the exactly same thing happenned. Remember: I'm able to send emails, but only when I refresh the page.
P.S.: I've read all FAQs/Tutorials about "Rails application failed to start properly" and, believe me, they didn't helpped. My app is working, except when I call this action (try to send email).