cached_counts 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module CachedCounts
31
31
  end
32
32
 
33
33
  def current_key
34
- "count:#{@scope.model_name.underscore}::cached_count::#{@scope.to_sql}"
34
+ "count:#{@scope.model_name.underscore}::cached_count::#{@scope.to_sql.hash}"
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module CachedCounts
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cached_counts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: