v1.0.4: Add support for Rails 4