displaying error message if validation fail in examples(p tag was missing) #8256

Merged
merged 1 commit into from Nov 19, 2012

Conversation

Projects
None yet
3 participants

Displaying error message if an validation fail (p tag was missing) in activemodel example and adding output as comment

Member

steveklabnik commented Nov 18, 2012

/cc @fxn

@carlosantoniodasilva carlosantoniodasilva commented on an outdated diff Nov 18, 2012

activemodel/examples/validations.rb
person2 = Person.new(:name => "matz")
-p person2.valid?
+p person2.valid? #true
@carlosantoniodasilva

carlosantoniodasilva Nov 18, 2012

Owner

I think the proper way to add these comments is # => true, can you please change that? Thanks.

carlosantoniodasilva merged commit ea0056f into rails:master Nov 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment