Does anyone know of the best solution to connect to an old 2008 sql server? yeah, I know it’s old. i’ve been looking into sql-server-adapter gem, targeting 4.1.x but it’s not quite there. currently running rails 4.2.6 and ruby 2.2.5.
I've tried using activerecord-sqlserver-adapter
4.1.2 which I thought was the best option. We can connect just fine, but when attempting to get the first record, or any record for that matter, it doesn't return an active record object.
I've tried to loop it, but it says it can't get a [] of nil class. But if I YAML::dump(TheObject.first)
it spits out a string with \n breaks with a record.
I feel like there's just something missing, even though I've followed tutorials and even just using the bare minimum necessary to connect.
It's the first time we've tried connecting to MSSQL with Rails so it's all rather new. Definitely nothing like connecting to Mongo or Postgres or even MySQL. lol.