Enable for Rails 3.2 and 4.0.
Merge pull request #1 from pwnall/rails4

Enable for Rails 3.2 and 4.0.