lib/hobo/scopes/automatic_scopes.rb in hobo-1.0.2 vs lib/hobo/scopes/automatic_scopes.rb in hobo-1.0.3
- old
+ new
@@ -268,9 +268,14 @@
when "include"
def_scope do |inclusions|
{ :include => inclusions }
end
+ when "includes"
+ def_scope do |inclusions|
+ { :include => inclusions }
+ end
+
when "search"
def_scope do |query, *fields|
words = query.split
args = []
word_queries = words.map do |word|