We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d94a0fe + 524f7b4 commit 362cbabCopy full SHA for 362cbab
activemodel/lib/active_model/validator.rb
@@ -79,7 +79,7 @@ module ActiveModel
79
# include ActiveModel::Validations
80
# attr_accessor :title
81
#
82
- # validates :title, presence: true
+ # validates :title, presence: true, title: true
83
# end
84
85
# It can be useful to access the class that is using that validator when there are prerequisites such
0 commit comments