Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Change single quote to double quote. #36

Merged
merged 2 commits into from

2 participants

@lucapette

Just a way to make the example valid Ruby code and better-looking on the website.

@namelessjon
Owner

This is a good catch, though wouldn't it be better to make all the quotes in that code block consistent? Switching quotes always makes code look messy to me ...

@lucapette

Thanks. You're right I don't like the inconsistency too. Didn't thought about that on first try ;)

@namelessjon namelessjon merged commit 81309d2 into datamapper:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 23, 2012
  1. @lucapette
  2. @lucapette

    Change quote for consistency

    lucapette authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/validations.md
View
6 docs/validations.md
@@ -143,9 +143,9 @@ in the property options.
property :email, String, :required => true, :unique => true,
:format => :email_address,
:messages => {
- :presence => 'We need your email address.',
- :is_unique => 'We already have that email.',
- :format => 'Doesn't look like an email address to me ...'
+ :presence => "We need your email address.",
+ :is_unique => "We already have that email.",
+ :format => "Doesn't look like an email address to me ..."
}
{% endhighlight %}
Something went wrong with that request. Please try again.