updates for rails 3.2.12 compatibility
Merge pull request #5 from mattherick/master

now rails 3.2.12 compatible