Uninitalized Constant Notifier23 May 2011 | Comments
I went through Chapter 13: Task H: Sending Mail of Agile Web Development with Rails today and stumbled upon an error.
This is error that I got when testing the order email send out functionality.
NameError (uninitialized constant OrdersController::Notifier):
block in create'
The supposedly offending code is this: [ruby] Notifier.order_received(@order).deliver [/ruby]
After some futile investigation attempts - I restarted Rails and it worked!