geothird_friendly_id 4.0.9.4 → 4.0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/friendly_id/base.rb +2 -2
- data/lib/friendly_id.rb +1 -1
- 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: e4517be54a99468e6efcce36bcfeaebf0c895ef9
|
4
|
+
data.tar.gz: e5b63a953bc1e79134fa3c782cf246d3ef0b5703
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e140a454c0774bd355b412b94c3b808bb483b5e13bebbdbc1505b8c89cead604c703e03964c2966bf084e6fa797d79fef97424af126303228cf1ba36195fa122
|
7
|
+
data.tar.gz: 731bd86bb8a54ddfef13632a427fbc56f8c78d510c308fe7b6935fbd11cd3b07dc946ad756af93f4292295f6d3404f4d4cb161f9bcf7762b300500cdaf9c8aa1
|
data/lib/friendly_id/base.rb
CHANGED
@@ -221,9 +221,9 @@ often better and easier to use {FriendlyId::Slugged slugs}.
|
|
221
221
|
relation = relation_class.new(self, arel_table)
|
222
222
|
|
223
223
|
if finder_needs_type_condition?
|
224
|
-
relation.where(type_condition).create_with(inheritance_column.to_sym => sti_name)
|
224
|
+
relation.with_deleted.where(type_condition).create_with(inheritance_column.to_sym => sti_name)
|
225
225
|
else
|
226
|
-
relation
|
226
|
+
relation.with_deleted
|
227
227
|
end
|
228
228
|
end
|
229
229
|
|
data/lib/friendly_id.rb
CHANGED