mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Validate contact and invoice emails when they change #2745
This commit is contained in:
parent
c482a3e46d
commit
6ca53f946a
7 changed files with 43 additions and 2 deletions
2
Gemfile
2
Gemfile
|
@ -18,6 +18,8 @@ gem 'figaro', '~> 1.1.1'
|
|||
# model related
|
||||
gem 'pg', '~> 0.18.0'
|
||||
gem 'ransack', '~> 1.5.1' # for searching
|
||||
gem 'validates_email_format_of', '~> 1.6.3' # validates email against RFC 2822 and RFC 3696
|
||||
|
||||
# with polymorphic fix
|
||||
gem 'paper_trail',
|
||||
github: 'airblade/paper_trail',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue