What I want to do:
In a model.rb, in after_commit, I want to run rake task ts:reindex
ts:reindex is normally run with a rake ts:index
require 'rake' RailsApp::Application.load_tasks class SomeModel
And then just use SomeModel.run_rake("ts:reindex").
SomeModel.run_rake("ts:reindex")