[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problem with ActionMailer

acatejr

11/7/2006 9:18:00 PM

Hi,

I am new to ROR so I'm having a hard time figuring out how to fix this
problem. I am using

Ruby version 1.8.5 (i386-mswin32)
RubyGems version 0.9.0
Rails version 1.1.6
Active Record version 1.14.4
Action Pack version 1.12.5
Action Web Service version 1.1.6
Action Mailer version 1.2.5
Active Support version 1.3.1
Environment development
Database adapter mysql

I am building an app that is supposted to email the user after the
user registers for an event. However, I keep getting the following
error messages:

uninitialized constant RegisrationMailer

RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`send'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing'
#{RAILS_ROOT}/app/controllers/event_controller.rb:42:in
`register_for_event'

This error occured while loading the following files:
regisration_mailer.rb

Request

Parameters: {"eventid"=>"30"}

Show session dump

---
flash: !map:ActionController::Flash::FlashHash {}


Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}


Any help solving this would be appreciated.

2 Answers

Phlip

11/7/2006 9:24:00 PM

0

acatejr wrote:

> uninitialized constant RegisrationMailer

Prepare to slap your forehead. You are missing a t. Between the s and r. See
it yet?

--
Phlip
http://www.greencheese.u... <-- NOT a blog!!!


acatejr

11/7/2006 9:27:00 PM

0

Wow!!! Nice catch. I think slapping my forehead has produced an
amazing hairline recession. I'm almost out.

Thanks!!!

Phlip wrote:
> acatejr wrote:
>
> > uninitialized constant RegisrationMailer
>
> Prepare to slap your forehead. You are missing a t. Between the s and r. See
> it yet?
>
> --
> Phlip
> http://www.greencheese.u... <-- NOT a blog!!!