more rails 4.x specific changes