Make sure Curly is compatible with Rails 3.1 and up