Skip to content

Commit

Permalink
Merge pull request mbleigh#501 from kiasaki/patch-1
Browse files Browse the repository at this point in the history
Add quotes in code exemple
  • Loading branch information
seuros committed Mar 30, 2014
2 parents 15b4b15 + 3ed06a1 commit 747c0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -176,7 +176,7 @@ User.tagged_with(["awesome", "cool"], :any => true)
User.tagged_with(["awesome", "cool"], :exclude => true)

# Find a user with any of tags based on context:
User.tagged_with(['awesome, cool'], :on => :tags, :any => true).tagged_with(['smart', 'shy'], :on => :skills, :any => true)
User.tagged_with(['awesome', 'cool'], :on => :tags, :any => true).tagged_with(['smart', 'shy'], :on => :skills, :any => true)
```

You can also use `:wild => true` option along with `:any` or `:exclude` option. It will looking for `%awesome%` and `%cool%` in sql.
Expand Down

0 comments on commit 747c0a4

Please sign in to comment.