effective_resources 2.42.0 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9822c0ccd8c4f40015db2c2dc53d66dfa389598a2b3bd7107a83c512b2ac885b
|
|
4
|
+
data.tar.gz: 9deec203839ffee37e989d6269845b1c97300d9157c26573b25692627de50db6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd1ee67d96e1d6455cef7725a831cab2de85fff98dc6e7eb70ddb85f84a675f01347bf8ab87ed7eb8ba0681a7a56fe89072a7d80b56393f8de4402a981b13e59
|
|
7
|
+
data.tar.gz: d23f1e7f12439df619f86fd15d721a18d2f58617efa33869e8ada60aafa98760ed27f5507307a127bf16c0c8591d7628ffb5b5389856f436aa3a6aa8e1915a58
|
|
@@ -38,7 +38,7 @@ module EffectiveResourcesWizardHelper
|
|
|
38
38
|
if (current || disabled)
|
|
39
39
|
content_tag(:a, label, class: klass)
|
|
40
40
|
else
|
|
41
|
-
link_to(label, path || wizard_path(nav_step), class: klass, 'data-turbolinks': false)
|
|
41
|
+
link_to(label, path || wizard_path(nav_step), class: klass, 'data-turbolinks': false, 'data-turbo': false)
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -55,10 +55,6 @@ module EffectiveDeviseUser
|
|
|
55
55
|
errors.add(:alternate_email, 'cannot be the same as email') if email.strip.downcase == alternate_email.strip.downcase
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
validate(if: -> { first_name.present? && last_name.present? }) do
|
|
59
|
-
errors.add(:last_name, "can't match first name") if first_name == last_name
|
|
60
|
-
end
|
|
61
|
-
|
|
62
58
|
# Uniqueness validation of emails and alternate emails across all users
|
|
63
59
|
validate(if: -> { respond_to?(:alternate_email) }) do
|
|
64
60
|
records = self.class.where.not(id: id)
|