# Exception after registering new users

**URL:** <https://www.ruby-forum.com/t/exception-after-registering-new-users/51040>\
**Category:** Ruby-Forum\
**Created:** [December 24, 2005, 1:25pm UTC](https://www.ruby-forum.com/t/exception-after-registering-new-users/51040 "2005-12-24T13:25:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwirdemann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7c8e57/32.png) [@rwirdemann](https://www.ruby-forum.com/u/rwirdemann)\
**Post date:** [December 24, 2005, 1:25pm UTC](https://www.ruby-forum.com/t/exception-after-registering-new-users/51040/1 "2005-12-24T13:25:47Z")

</div>

Hi,

I’ve installed RForum 0.1 successfully on Linux/MySQL, but I got the  
following exception after registering a new user:

NameError in User#register

(eval):3:in `module_eval': undefined method`render\_body’ for class  
`Class' app/controllers/mailer.rb:59:in`module\_eval’  
app/controllers/mailer.rb:59:in `module_eval' app/controllers/mailer.rb:59 app/controllers/user_controller.rb:67:in`register’  
script/server:48  
Show framework trace  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:193:in  
`load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:193:in`load’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:38:in  
`require_or_load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:21:in`depend\_on’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:171:in  
`require_dependency' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:171:in`require\_dependency’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:127:in  
`load_file!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:96:in`const\_load!’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:79:in  
`each' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:79:in`const\_load!’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:71:in  
`const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:179:in`const\_get’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:179:in  
`const_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in`send’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action\_controller/base.rb:756:in  
`perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in`perform\_action\_without\_benchmark’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action\_controller/benchmarking.rb:41:in  
`perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in`measure’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action\_controller/benchmarking.rb:41:in  
`perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in`perform\_action’  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action\_controller/base.rb:356:in  
`send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in`process’  
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in  
`dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:105:in`handle\_dispatch’  
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick\_server.rb:71:in  
`service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in`service’  
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:155:in`start\_thread’  
/usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:144:in`start\_thread’  
/usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:89:in`each’  
/usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:79:in`start’  
/usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in`dispatch’  
This error occured while loading the following files:  
./script/…/config/…/app/controllers/mailer.rb

Request

Parameters: {“submit”=\>“Register”, “new\_user”=\>{“name”=\>“rwirdemann”,  
“firstname”=\>“Ralf”, “id”=\>"", “surname”=\>“Wirdemann”,  
“email”=\>“removed\_email\_address@domain.invalid”}, “form”=\>“edit\_user”}

Show session dump

Response

Headers: {“cookie”=\>[], “Content-Type”=\>“text/html; charset=utf-8”,  
“Cache-Control”=\>“no-cache”}

Any ideas?

Thanks,  
Ralf

---

<div class="post-metadata">

**Author:** ![rwirdemann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7c8e57/32.png) [@rwirdemann](https://www.ruby-forum.com/u/rwirdemann)\
**Post date:** [December 24, 2005, 3:09pm UTC](https://www.ruby-forum.com/t/exception-after-registering-new-users/51040/2 "2005-12-24T15:09:51Z")

</div>

Ralf Wirdemann wrote:

> Hi,
> 
> I’ve installed RForum 0.1 successfully on Linux/MySQL, but I got the  
> following exception after registering a new user:

Please use the latest revision from the subversion trunk, 0.1 is  
outdated and won’t work with Rails 1.0.

Andreas
