rails-jsonb-queries `�(~�U �!,~�U http://stackoverflow.com/questions/22667401/postgres-json-data-type-rails-query http://stackoverflow.com/questions/40702813/query-on-postgres-json-array-field-in-rails #payload: [{"kind"=>"person"}] Segment.where("payload @> ?", [{kind: "person"}].to_json) #data: {"interest"=>["music", "movies", "programming"]} Segment.where("data @> ?", {"interest": ["music", "mo