Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
Dependency post
Rails console
Validations
post.rb Validations validates_presence_of :titlevalidates_presence_of :body
comment.rb Validations validates_presence_of :post_idvalidates_presence_of :body