intridea/profanity_filter — pull request #11 by scottmessinger (2012-09-23 18:58:31+00:00)
Title: Check if ActiveRecord::Base is defined, not just ActiveRecord

Fixes an error on Rails load:

Stack trace:
```shell
rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing': uninitialized constant ActiveRecord::Base (NameError)
profanity_filter-0.1.1/lib/profanity_filter.rb:90:in `'
< ... snip ... >
```