parent
699db454c3
commit
7a1f8a58df
7 changed files with 24 additions and 5 deletions
|
@ -4,7 +4,7 @@ module DomainNormalizable
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
before_validation :normalize_domain
|
||||
before_save :normalize_domain
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue