manual_slug 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manual_slug/active_record.rb +1 -1
- data/lib/manual_slug/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 178983bc97d82fca91e31500dc8e614fadfefb5c87bab88b582873e9a8aa2003
|
4
|
+
data.tar.gz: dd7c7a1e1e13a9002c03b0466ac500a13f9332beed2a1282c006c0e23816844b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd09893fa4e24836c69ce19a35b2222366de55fdc8d19696d8ceda3edc7f023b57038781121a0c9ce1cfb0b4a4d647f5c6451a76311b56459474a33cf55f09ab
|
7
|
+
data.tar.gz: 5ab4d563534fc69be24d0501d116ada736eea2b89d6a5e2a6e80f927c279fb5e6b3a327fe783dddc28f99b7ca7249c7a05d3c728cbdd0c6e19f9f74d1efbcce0
|
@@ -15,7 +15,7 @@ module ManualSlug::ActiveRecord
|
|
15
15
|
module ClassMethods
|
16
16
|
def manual_slug(field, options = {}, callback = true)
|
17
17
|
unless options.key?(:use)
|
18
|
-
options[:use] = [:slugged, :
|
18
|
+
options[:use] = [:finders, :slugged, :history]
|
19
19
|
end
|
20
20
|
|
21
21
|
friendly_id field, options
|
data/lib/manual_slug/version.rb
CHANGED