trying with_connection and dbconnect in before block