Fix active_support requires to work in Rails 3