This project is archived and is in readonly mode.

#815 ✓resolved
Josh Susser

refactor Filter predicate methods to use inheritance

Reported by Josh Susser | August 13th, 2008 @ 06:50 AM | in 2.x

The Filter predicate methods #before?, #after? and #around? are defined in the Filter superclass and make explicit comparisons to subclasses. Cleaned them up to use inheritance to avoid the superclass having to know too much about subclasses.

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>

Attachments

Referenced by

Pages