josevalim/inherited_resources — pull request #172 by jemmyw (2011-10-08 09:18:46+00:00)
Title: Make parent? work in a before filter for optional belongs_to associations.

If a before filter wants to know if the resource is being requested with
a parent on an optional belongs_to association it should not have to
load the resource first. Previously parent? relied on loaded information
only.