```ruby
require 'proffer'

require 'action_controller/railtie'
require 'rails/test_unit/railtie'

Class.new(Rails::Application) do
  config.active_support.deprecation = :stderr
end.initialize!

require 'rspec/rails'

```

Use a sub-class of Rails::Application for 1.8.7.
user
```ruby
require 'proffer'

require 'action_controller/railtie'
require 'rails/test_unit/railtie'

class TestApplication < Rails::Application
  config.active_support.deprecation = :stderr
end
TestApplication.initialize!

require 'rspec/rails'

```
assistant