Extract search indices outside model declarations
authorMarius Mathiesen <marius@gitorious.org>
Mon, 29 Oct 2012 17:56:58 +0000 (18:56 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 29 Oct 2012 18:18:01 +0000 (19:18 +0100)
commit5bc4114485c11c90e723b7420583fb20095f4e62
treeb13ffea728393439d6c29311a190c347040eaf0f
parentd51c74cc7b46aa295e4d789c10920c73bf8cd99b
Extract search indices outside model declarations

Set up indexing information after the app has been loaded.
app/models/comment.rb
app/models/merge_request.rb
app/models/project.rb
app/models/repository.rb
config/environment.rb
lib/gitorious/search_index.rb [new file with mode: 0644]