change conditions into arel expressions

I had problems with using both apartment gem (multiple postgres schemas for multitenancy apps) and ancestry - apartments prefixes table with additional schema and created improper prefixes for postgres (ie `SELECT COUNT(*) FROM "public"."menu_items"  WHERE "public"."menu_items.ancestry" = '32'`). Changing conditions to arel fixed it.