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.

Don't try to log protected attribute removal if there's no logger defined

#3135

When mass-assigning protected attributes, AR will log a warning. This causes an error if there's no logger defined. In other places where we use AR::Base.logger, we check to make sure it exists. This patch makes #log_protected_attribute_removal follow suit.

Reported by Jeffrey Hardy · September 2nd, 2009 @ 05:14 PM

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

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    September 2nd, 2009 @ 05:21 PM