override _squash_current_revision with a rails 3 compatible lambda