ActiveRecord generates SQL statements without bind variables therefore
you can insert strings just up to 4000 characters (limitation of
literal size in Oracle). Therefore oracle_enhanced adapter saves CLOB/
BLOB data (which could be larger than 4000 characters) using separate
callback. As a result two SQL statements will be generated - initial
INSERT which will insert empty_clob() and then additional UPDATE which
will set CLOB/BLOB value.
So if you in console after pf.save! will do
pf.reload # requery record from database
puts pf.description
Then you should see that CLOB data were saved.
Raimonds