quaint-pencil-2979
04/06/2023, 7:45 PMruby
class ProjectResource < Avo::BaseResource
self.devise_password_optional = true # THis option but for github_secret
field :github_secret, as: :password
end
The problem is that if a not update this field (github_secret) in avo edit, this field is updated to a blank stringlemon-wall-20836
04/07/2023, 8:31 AMlemon-wall-20836
04/07/2023, 8:31 AMlemon-wall-20836
04/07/2023, 8:32 AMbefore_save
hookquaint-pencil-2979
04/07/2023, 12:15 PMlemon-wall-20836
04/07/2023, 12:33 PMlemon-wall-20836
04/07/2023, 12:34 PMquaint-pencil-2979
04/20/2023, 5:57 PMquaint-pencil-2979
04/20/2023, 5:57 PMlemon-wall-20836
04/20/2023, 10:14 PMclear_attribute_change
. thanks!