Rails 3.2 compatibility
Merge pull request #1 from dmke/master

Adjust configuration to work with Rails 3.2