Remove dependency for Rails 3.1