Allow using Curly with Rails 4.1

This should fix #91.