We noticed that we were having problems with the defaults for single character columns with the OCI adapter. We're using the latest OCI driver and Rails 0.14.3 on both Ruby 1.8.2 and 1.8.3. I believe this server is running 10g.
What we were seeing is that when we had a default like:
is_primary char(1) default 'F' not null,
that AR on Oracle (not on other DBs) was ultimately attempting to insert a value like:
F '
Note the extra space before the closing single quote.
We noticed a patch in 0.14.3 that did away with the extraneous quotes, but didn't catch the trailing spaces (this is probably an Oracle version problem I'm guessing). The LONG column Oracle uses to describe the default data leaves much to be desired (in fact, they've deprecated its use for quite some time, as far as I'm aware, but still use it themselves ;-) in terms of parsing.
Anyway, the attached patch to trunk handles the trailing whitespace.