 |
Forums |
Admin Start New Thread
| Message: 59157 |
 |
BY: Philip Nelson (scotdb) DATE: 2008-08-04 21:12 SUBJECT: ibm_db BLOB Support Wondered whether there were any gotchas for using BLOBs in ibm_db.
I tried a migration -
add_column :table, :col, :blob, :limit => 2048
and it complained -
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
So I simply used execute "raw SQL" to add the BLOB(2k) column I wanted.
Am I going to run into any problems with BLOBs with ibm_db ? I need this to store an encrypted value : already failed using CLOBs.
Any help / experiences / war stories welcome.
Thanks
Phil | |
Thread View
Post a followup to this message
|
 |