drop ruby 1.8 and rails < 3.1 support