Only test attr_protected if we're AR 3.0