mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Logging added for most models
This commit is contained in:
parent
09a816d5a8
commit
c3675c1b2a
46 changed files with 285 additions and 28 deletions
|
@ -1,4 +1,5 @@
|
|||
class ZonefileSetting < ActiveRecord::Base
|
||||
include Versions # version/zonefile_setting_version.rb
|
||||
validates :origin, :ttl, :refresh, :retry, :expire, :minimum_ttl, :email, presence: true
|
||||
validates :ttl, :refresh, :retry, :expire, :minimum_ttl, numericality: { only_integer: true }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue