Drop support for Rails 3.1 and Ruby 1.8