added person validations
This commit is contained in:
parent
884af9a3b6
commit
2566b2d4e1
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class Post
|
|||
|
||||
|
||||
after_save :send_to_view
|
||||
|
||||
validates_presence_of :person
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue