pg_rails 7.0.8.pre.alpha.68 → 7.0.8.pre.alpha.69
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e761068c4438801df99438fc4420e4afad03320461ae0cef05dee8140c9b10f9
|
4
|
+
data.tar.gz: af3175fe0c8ebb13f3462b2410d3008c9daa34136253ad337cebee295d3aa953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbab7d3534ab2b8a8bec86b0fce534f556cf8383bc77c7edf6918ee1e6e39915b6182e2d4d8a9fdda3647fe606c8e461a820e5de450332640de18d675173743d
|
7
|
+
data.tar.gz: 3304f09d8a1d1db68d93e7fa47f442c34c8f0acca8bbbc195a2c6878146e9da3cc55abadad849414055e051d9dce0e84b7e326be2abd1d39073abb3797c5f20d
|
@@ -66,9 +66,9 @@ class User < ApplicationRecord
|
|
66
66
|
!persisted? || !password.nil? || !password_confirmation.nil?
|
67
67
|
end
|
68
68
|
|
69
|
-
def remember_me
|
70
|
-
|
71
|
-
end
|
69
|
+
# def remember_me
|
70
|
+
# true
|
71
|
+
# end
|
72
72
|
|
73
73
|
scope :query, ->(param) { where('email ILIKE ?', "%#{param}%") }
|
74
74
|
|
@@ -10,7 +10,8 @@
|
|
10
10
|
<%= f.input :password,
|
11
11
|
required: false,
|
12
12
|
input_html: { autocomplete: "current-password" } %>
|
13
|
-
|
13
|
+
<%#= f.input :remember_me, as: :hidden if devise_mapping.rememberable? %>
|
14
|
+
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
|
14
15
|
</div>
|
15
16
|
|
16
17
|
<div class="form-actions">
|
data/pg_rails/lib/version.rb
CHANGED