Blob support for firebird

I'm working on fixing up the Fireruby driver. One of the main things I would like to see is Blob support with Fireruby and rails. Fireruby itself had a bug with selecting out Blobs that I've corrected and now rails works fine for viewing blobs. Firebird however is like Oracle in that you can't insert a blob directly in a sql query. I'm looking for some suggestions on how to go about implementing blob isnert support into the firebird_adapter file. I see that the Oracle driver will do an insert first and the it has a after_save function that does the work of actually saving the blob. The way blob insertion works in Fireruby currently is you have to do it parameterized. You create a statement with a query like this "insert into my_table(blob_field) values(?)" and then you use the execute_for method like this myStatement.execute_for([myblob]) I can't seem to wrap my head around how I would make this work in an after_save function and in turn figured I would ask here for some advice. Are there any other databases besides oracle that have to save blobs in two steps?