load stuff specific to Rails 3, Rails 3.1, Rails 4+