Logging added for most models

This commit is contained in:
Priit Tark 2015-01-29 12:50:59 +02:00
parent 09a816d5a8
commit c3675c1b2a
46 changed files with 285 additions and 28 deletions

View file

@ -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 }