View Source ActiveMemory.Query (ActiveMemory v0.2.1)
the-match-query-syntax
The match
query syntax
Using the match
macro you can structure a basic query.
query = match(:department == "sales" or :department == "marketing" and :start_date > last_month)
Store.select(query)