This project is archived and is in readonly mode.
ActiveRecord Readme correction
Reported by y_feldblum (at yahoo) | November 22nd, 2010 @ 08:55 PM
The following code is in the ActiveRecord readme file:
class CommentObserver < ActiveRecord::Observer
def after_create(comment) # is called just after Comment#save
Notifications.deliver_new_comment("david@loudthinking.com", comment)
end
end
The middle line appears to use the old ActionMailer API, and should be updated to use the new ActionMailer API.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>