-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't load ActiveRecord during rails initialization
If ThinkingSphinx requires ActiveRecord on load, then setting configuration in applications' initializers with have no effect (eg Rails.application.config.active_record.has_many_inversing). Instead, ActiveRecord should be deferred to the end of initialization using Railtie
- Loading branch information
1 parent
d1f0940
commit ea8bc34
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters