rails/rails — pull request #7148 by yahonda (2012-07-24 18:46:10+00:00)
Title: Addresses ORA-01400 errors and also supports #6195

Issue #6115 has been fixed and tested with the attribute `:null => false, :default => ""`.
However `:null => false` attribute is not necessary to test this issue, which causes many ORA-01400 errors with Oracle enhanced adapter.

Please see https://github.com/rails/rails/issues/6195#issuecomment-7218313 for detail.

This pull request has been tested with sqlite3, postgresql, mysql, mysql2 and oracle enhanced adapters.