thinking-sphinx-allen 1.3.18 → 1.3.18.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ module ThinkingSphinx
43
43
  )
44
44
 
45
45
  sql = "SELECT #{min_statement}, #{max_statement} " +
46
- "FROM #{@model.quoted_table_name} WHERE #{@model.primary_key_for_sphinx} <= (SELECT last_id FROM sph_counter WHERE table_name = '#{@model}')"
46
+ "FROM #{@model.quoted_table_name} WHERE #{@model.primary_key_for_sphinx} <= (SELECT last_id FROM sph_counter WHERE table_name = '#{@model.table_name}')"
47
47
  else
48
48
 
49
49
 
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 3
8
8
  - 18
9
- version: 1.3.18
9
+ - 1
10
+ version: 1.3.18.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Pat Allan