Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

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 f5a8c71 + 21f6844 commit 1f0bfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 1f0bfed

Please sign in to comment.