I have the following behaviour in the IRB console as well as in my Rails app running with apache with Passenger.
When trying to connect to an oracle instance without password, the IRB console crashes (like in "crash!", i'm kicked back to my terminal and forced to restart the console).
It took me a while to figure it out but if the password is an empty String (""), I have a return from the gem stating a OCI-21500 Oracle error and then the console die. When the empty string is replaced by nil, I just get a ruby TypeError Exception saying it can not be converted to a String.
I have the following behaviour in the IRB console as well as in my Rails app running with apache with Passenger.
When trying to connect to an oracle instance without password, the IRB console crashes (like in "crash!", i'm kicked back to my terminal and forced to restart the console).
It took me a while to figure it out but if the password is an empty String (
""
), I have a return from the gem stating a OCI-21500 Oracle error and then the console die. When the empty string is replaced bynil
, I just get a rubyTypeError Exception
saying it can not be converted to a String.Here is the tests I ran in the IRB console: