Problem with ActionMailer

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:inconst_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:inconst_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.

acatejr wrote:

uninitialized constant RegisrationMailer

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

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

Thanks!!!