Created
June 3, 2016 18:10
-
-
Save JoeyBy/2cd9c2e67c52267153a9c827c983775d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Task < ActiveRecord::Base | |
validates_presence_of :title, :message => "A title must be entered" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment