active_record_shards 4.0.0.beta2 → 4.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record_shards/model.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55718d44c6d1587717b481b789fe574ca848eb26
|
4
|
+
data.tar.gz: 3ebc1280d7bb607f914e8cd758fcaedd33eccbdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b353e580475b03340a5f7fdd428b4db7b8fdae57b9eac77a670e7f678e39a5da456660222eb35eae650e2bc16ae167ba11bd60b0ca49bf7d4243d0000ea634de
|
7
|
+
data.tar.gz: 3e90e883e69dadf9a9fc305638b36d51fb2c0b187b9a4b012937be5368a0459afafb42900801dc8b91703a86404f8c9234550deecc4b5f4f45d4f6d9b9cb1092
|
@@ -3,10 +3,10 @@
|
|
3
3
|
module ActiveRecordShards
|
4
4
|
module Model
|
5
5
|
def not_sharded
|
6
|
-
ActiveRecord::
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
ActiveRecord::Base.logger.warn("Calling not_sharded is deprecated. "\
|
7
|
+
"Please ensure to still read from the "\
|
8
|
+
"account db slave after removing the "\
|
9
|
+
"call.")
|
10
10
|
end
|
11
11
|
|
12
12
|
def is_sharded? # rubocop:disable Naming/PredicateName
|