views:

22

answers:

0

We're adding an expires_at column to one of our models. Among other changes, we've got to track down everything with a belongs_to relationship to the model and add the condition that expires_at must be in the future.

Is there a way to do this centrally, so that rather than modifying all the other models, we modify the one that expires?