note as text
This commit is contained in:
parent
5fe736ab28
commit
9611a27e0c
4 changed files with 12 additions and 4 deletions
|
@ -13,7 +13,7 @@ class Note < ActiveRecord::Base
|
|||
|
||||
validates :note,
|
||||
:presence => true,
|
||||
:length => { :within => 0..255 }
|
||||
:length => { :within => 0..5000 }
|
||||
|
||||
validates :attachment,
|
||||
:file_size => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue