ragamuffins 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24d8b59fa9a2779a062e6c4fea9f67fed2e58155
|
4
|
+
data.tar.gz: c5f790e6481fae43f7e121417141526ce99cc2ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ade3039cd52892f6e701ac8bc96a76b19a60a391414c054f1e69adfacfd832ffcede40483648ab9d5f965dbefc308e0e0becf2c0e92ff25ab2adabdad35e848
|
7
|
+
data.tar.gz: 7d169a3464b803aadba0d2008e9902579f2e0b223785e5d1813974817b3299da01a15851f1208105d598bd477e7d88d1a84a5f4b1339329be66fdcd85aa3fe55
|
@@ -10,7 +10,7 @@ module Ragamuffins
|
|
10
10
|
return [] if ids == nil || ids.empty?
|
11
11
|
# Because params are always strings, we double check that (the first to_s) and then make sure that we convert the ids to a string as well
|
12
12
|
# This allows us to make sure that we can handle UUIDs as well.
|
13
|
-
ids.collect{|s| s.to_s} - self.where("#{table_name}.id IN (?)", ids).pluck(
|
13
|
+
ids.collect{|s| s.to_s} - self.where("#{table_name}.id IN (?)", ids).pluck("CAST(#{table_name}.id AS varchar)")
|
14
14
|
|
15
15
|
#
|
16
16
|
# if we were passed some ids that forms a bad query,
|
data/lib/ragamuffins/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ragamuffins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Norman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|