Permalink
Browse files

Merge pull request #20 from conchulio/master

Adding the use of '|' and '&' in queries to README.rdoc
  • Loading branch information...
2 parents 9f73b7d + 504da7b commit a784459c31d134217022ceef7fe10911f6342f87 @benhamill benhamill committed Oct 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rdoc
View
@@ -38,6 +38,10 @@ Your models now have access to the search method:
Game.search_by_title_and_system('Final Fantasy', 'PS2')
Game.search_by_title_or_system('Final Fantasy, 'PS3')
+You can use '|' and '&' for logical conditions.
+
+ Game.search_by_title_or_system('Final Fantasy', 'PS3|Xbox')
+
=== Setting Language
To set proper searchig dictionary just override class method on your model:

0 comments on commit a784459

Please sign in to comment.