lib/mobility/backends/sequel/pg_query_methods.rb in mobility-0.4.1 vs lib/mobility/backends/sequel/pg_query_methods.rb in mobility-0.4.2

- old
+ new

@@ -16,9 +16,13 @@ (The +matches+ method is implemented slightly differently for hstore and jsonb columns.) =end module PgQueryMethods + def initialize(attributes, _) + super + define_query_methods + end # Create query for conditions and translated keys # @note This is a destructive action, it will alter +cond+. # # @param [Hash] cond Hash of attribute/value pairs