revert to lame rails > 3 check