Commit e42872af authored by Alejandro Guerrero's avatar Alejandro Guerrero

Using non-bang version of strip

parent 62b47eef
......@@ -16,7 +16,7 @@ class SamlGroupLink < ApplicationRecord
scope :preload_group, -> { preload(group: :route) }
def strip_whitespace_from_saml_group_name
saml_group_name.strip!
self.saml_group_name = self&.saml_group_name.strip
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment