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::Base#method_missing has inconsistent handling of blocks

#6784

ActiveRecord::Base#method_missing delegates to various other method calls. In the case of a DynamicFinderMatch, when calling .find_by_attributes no block is passed, nor is a block handled in the .find_by_attributes method.

This patch addresses this particular case.

Reported by Jeremy Friesen · May 16th, 2011 @ 04:56 PM

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

Activity

  1. Jeremy Friesen
    Jeremy Friesen
    • Tag set to activerecord, patch

    May 16th, 2011 @ 05:30 PM