thinking-sphinx-allen 1.3.18 → 1.3.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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