Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.

  • Loading branch information...
commit 98657aa384087a9048ebae24bbe6d5c21246ec87 1 parent 0fc9546
@josevalim josevalim authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
4 README.rdoc
@@ -136,7 +136,7 @@ Examples:
c = ContactForm.new(:nickname => 'not_blank', :email => 'your@email.com', :name => 'José')
c.valid? #=> true
c.spam? #=> true (raises an error in development, to remember you to hide it)
- c.deliver #=> false (just delivers if is not a spam and is valid)
+ c.create #=> false (just delivers if is not a spam and is valid)
c = ContactForm.new(:email => 'invalid')
c.valid? #=> false
@@ -144,7 +144,7 @@ Examples:
c.errors.full_messages #=> [ "Name can't be blank", "Email is invalid" ]
c = ContactForm.new(:name => 'José', :email => 'your@email.com')
- c.deliver #=> true
+ c.create
=== append(*methods)
Please sign in to comment.
Something went wrong with that request. Please try again.