mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
1113524121-round_changed
This commit is contained in:
parent
653b97a867
commit
f73e6f6b75
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class LegalDocument < ActiveRecord::Base
|
|||
|
||||
belongs_to :documentable, polymorphic: true
|
||||
|
||||
validates :body, length: { minimum: (1.37 * 1.4).round }
|
||||
validates :body, length: { minimum: (1.37 * 1.4).ceil }
|
||||
|
||||
before_create :add_creator
|
||||
before_save :save_to_filesystem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue