update engine initializer for Rails 4.1