On 05.12.2008, at 7:05, Jon Hancock wrote:

> Am I supposed to have an after_app_loads block also in my
> development.rb??  Am I allowed to have multiple after_app_loads blocks
> defined and the second one won't clobber the first?


If you add multiple callbacks, they are executed in the same order you  
added them.

To set up test delivery in merb-mailer, use

Merb::BootLoader.before_app_loads do
   Merb::Mailer.delivery_method = :test_send
end

in environments/test.rb

MK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to