Hi there,
I use Rails in combination with an PostgreSQL DB 8.X. I have a table with
includes a column with the type OID. Rails didn´t know these type. Isn´t it.
A possible SQL Synthax to update/insert a picture in the table is:
update TABLE set oid_column = lo_import(''picture'');
When I use a scaffold generaded and a little bit modificated edit view the
statement which was automaticly generated by Rails is:
update TABLE set oid_column =
''lo_import(''picture'')'';
^ ^
Rails quotes the statement and use it as an text value but these raises an
error. I need these statement as an expression without quotes.
Are there solutions to solve my problem.
Please apologize my bad english. I hope you know what I mean.
Thanks Torsten