SQLServer Binary Data with ActiveRecord and JDBC?

Are you using the rails-sqlserver-adapter ( Github ), there's some documentation about Native Text/String/Binary Data Type Accessors.

Are you using the rails-sqlserver-adapter (Github), there's some documentation about Native Text/String/Binary Data Type Accessors.

Thanks Patrick, I'll give that a shot. Any idea if it will work under JRuby? – John Duff Apr 4 '10 at 18:34.

I'm using the activerecord-jdbc-adapter with ActiveRecord to be able to access a SQLServer database for Rails Application running under jRuby and am having trouble inserting binary data. The Exception I am getting is below. Note I just have a blurb for the binary data from the fixtures that was working fine for MySQL.

When I created the tables the migration had binary and SQLServer used Image instead. We're using Rails 2.3.5, SQLServer Express 2008. What I'm looking for is a way to get the binary data into SQLServer with ActiveRecord.

Thanks in advance for the help.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions