Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: webmaster -
BLOB HANDLE error [ reply ]  
2009-02-03 12:26
El controlador me lanza muchos errores intermitentes de tipo "blob handle", al final, he editado:

/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/firebird_adapter.rb

y lo he dejado así, para intentar saltar el error (no uso campos blob para nada):

diff firebird_adapter.rb firebird_adapter.rb.backup
468,472c468
< #when FireRuby::Blob then value.to_s
< when FireRuby::Blob then
< if FireRuby::Blob === value
< value = value.to_s
< end
---
> when FireRuby::Blob then value.to_s
598,601c594
< # value = value.to_s if FireRuby::Blob === value
< if FireRuby::Blob === value
< value = value.to_s
< end
---
> value = value.to_s if FireRuby::Blob === value

parece funcionar...