fix devise
This commit is contained in:
parent
f5d3956a7c
commit
52b525a094
@ -20,7 +20,7 @@ class Member < ApplicationRecord
|
|||||||
has_many :pictures
|
has_many :pictures
|
||||||
|
|
||||||
def skip_conf!
|
def skip_conf!
|
||||||
self.confirm! if Rails.env.development?
|
self.confirm if Rails.env.development?
|
||||||
end
|
end
|
||||||
|
|
||||||
validates :bio, length: { maximum: 1000 }
|
validates :bio, length: { maximum: 1000 }
|
||||||
|
Loading…
Reference in New Issue
Block a user