lib/mobility/backends/sequel/hstore/query_methods.rb in mobility-0.4.0 vs lib/mobility/backends/sequel/hstore/query_methods.rb in mobility-0.4.1
- old
+ new
@@ -21,10 +21,10 @@
end
end
private
- def contains_value(key, value, locale)
+ def matches(key, value, locale)
build_op(key).contains(locale => value.to_s)
end
def has_locale(key, locale)
build_op(key).has_key?(locale)