Potentional fix for rails
Merge pull request #7 from alkalin3/rails-fix

Potentional fix for rails