Rails 4.0 / Ruby 2.0 support