Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Real fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethkalmer committed Jan 19, 2009
1 parent 1f3604c commit 1acc5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/soa.rb
Expand Up @@ -19,7 +19,7 @@ class SOA < Record
:less_than_or_equal_to => 10800
)
validates_uniqueness_of :domain_id
validates_format_of :contact, :with => /^[a-zA-Z0-9\-\.]+@[a-zA-Z0-9-]+\.[a-zA-Z.]{2,6}
validates_format_of :contact, :with => /^[a-zA-Z0-9\-\.]+@[a-zA-Z0-9-]+\.[a-zA-Z.]{2,6}/

# The portions of the +content+ column that make up our SOA fields
SOA_FIELDS = %w{ primary_ns contact serial refresh retry expire minimum }
Expand Down

1 comment on commit 1acc5fc

@kennethkalmer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to undo previous change here that broke email address validation completely.

Please sign in to comment.