Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActiveRecord Readme correction

#6038

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.

Reported by y_feldblum (at yahoo) · November 22nd, 2010 @ 08:55 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity