Update core_ext.rb

GH-317 is currently under discussion. In the meanwhile, make sure to not override Rails 3.x projects.