Maintain backwards compatibility with Rails 3.1

Only call `super` if Rails version is >= 3.2.
Merge pull request #4 from copyhacker/rails_3_1_compatibility

Maintain backwards compatibility with Rails 3.1