```ruby
class MyModel < ActiveRecord::Base

  if ENV['ALGOLIASEARCH_APPLICATION_ID']
    include AlgoliaSearch

    algoliasearch auto_index: false, auto_remove: false do
    end
  end

end
```

Revert "I need to path this helper to not fail if the env variables are missing"
user
```ruby
class MyModel < ActiveRecord::Base

  algoliasearch auto_index: false, auto_remove: false do
  end

end
```
assistant