Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Automatic loading of FlyingSphinx delta #21

merged 1 commit into from

3 participants


Currently, simply requiring the gem in the Gemfile does not automatically enable FlyingSphinx::ResqueDelta. I was getting undefined constants for FlyingSphinx::ResqueDelta when trying to use it as the delta.

I think it should be that simple, and this one line change makes it so.


@agibralter Looks good to me.

@agibralter agibralter merged commit abc3733 into agibralter:master

1 check passed

Details default The Travis build passed

Cool, thanks @ketzusaka and @ryansch! Will push a patch release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 5, 2013
  1. @ketzusaka
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/ts-resque-delta.rb
1  lib/ts-resque-delta.rb
@@ -1,2 +1,3 @@
require 'thinking_sphinx/deltas/resque_delta'
+require 'flying_sphinx/resque_delta' if defined?(FlyingSphinx)
require 'thinking_sphinx/deltas/resque_delta/railtie' if defined?(Rails::Railtie)
Something went wrong with that request. Please try again.