I learned a little bit about building queries (even with Rails/ARel) of postgres JSONB columns in my side project that I wanted to share.
I have a model that represents a Japanese word:
{"id"=>4111,
"type"=>"vocabulary",
"characters"=>"洗う",
"meanings"=>[{
"meaning"=>"To Wash",