rails 3 compatibility fix
Merge pull request #11 from exterm/rails3-fix

rails 3 compatibility fix