Added support for Rails versions under 3.2.1

Closes #128
F