Rails ActiveRecord and Postgres table partitioning

Hi, all!

I have ran into exactly the same problem described here:

Yet, I have not been able to find any answers by googling.

If anyone else has faced this situation and has some good advice to
share - much obliged.

Best regards