Fix uninitialized constant error raised in Rails 4

This fix is based on Joseph's fix reported here: https://github.com/mgsnova/feature/issues/5