views:

108

answers:

0

Is there a way to disable the default_scope for a single belongs_to association? The default_scope is fine for all but a single belongs_to that I would like to bypass the scope. I'm familiar with with_exclusive_scope however I don't think that can be used with belongs_to.

Any suggestions?

Context: I'm trying to allow the branch_source association in acts_as_revisable to point to a revision that is not the latest (revisable_is_current is false).