src/Rails/ActiveRecord/Adapter/Driver/Pdo/Connection.php
public function connect()
    {
        parent::connect();
        $this->resource->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_SILENT);
        return $this;
    }
public function connect()
    {
        parent::connect();
        $this->resource->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_SILENT);
        return $this;
    }
public function connect ( ) { parent :: connect ( ) ; $ this -> resource -> setAttribute ( \ PDO :: ATTR_ERRMODE , \ PDO :: ERRMODE_SILENT ) ; return $ this ; }
Extended to set error mode to silent.
Extended to set error mode to silent .