rails/rails-deprecated_sanitizer — pull request #1 by dtaniwaki (2014-08-25 14:05:48+00:00)
Title: Update deprecated_sanitizer.rb

Hi,

I found this gem doesn't work in some Rails environment without railtie. I actually found this issue because my Gem only depends on actionmailer. Could you fix this issue?

```
/opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails/deprecated_sanitizer/railtie.rb:1:in `require': cannot load such file -- rails/railtie (LoadError)
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails/deprecated_sanitizer/railtie.rb:1:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails/deprecated_sanitizer.rb:4:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails/deprecated_sanitizer.rb:4:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails-deprecated_sanitizer.rb:1:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-deprecated_sanitizer-1.0.2/lib/rails-deprecated_sanitizer.rb:1:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/sanitize_helper.rb:3:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/sanitize_helper.rb:3:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/text_helper.rb:32:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/text_helper.rb:29:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/text_helper.rb:6:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/text_helper.rb:4:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_tag_helper.rb:18:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_tag_helper.rb:14:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_tag_helper.rb:8:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_tag_helper.rb:6:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_helper.rb:4:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers/form_helper.rb:4:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers.rb:50:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers.rb:4:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/helpers.rb:3:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/base.rb:5:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/base.rb:5:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/view_paths.rb:1:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionview-4.2.0.beta1/lib/action_view/view_paths.rb:1:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0.beta1/lib/abstract_controller/rendering.rb:4:in `require'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0.beta1/lib/abstract_controller/rendering.rb:4:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionmailer-4.2.0.beta1/lib/action_mailer/base.rb:408:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionmailer-4.2.0.beta1/lib/action_mailer/base.rb:402:in `'
from /opt/boxen/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionmailer-4.2.0.beta1/lib/action_mailer/base.rb:9:in `'
```