PG::SimpleEncoder
This is the encoder class for the PostgreSQL boolean type.
It accepts true and false. Other values will raise an exception.