-
Using strings containing a `'` char in conditions are resulting in an invalid query.
**Example**
Condition is created with:
``` ruby
["table.column like '?%'", "anonio'da"]
```
Results in :
```…
cgitr updated
12 years ago
-
Hello,
I'm currently trying to map one of my Sequel::Model classes to a view in our MS SQL Database, using TinyTDS.
I have a folder called models, that contains all models, including an init.rb file …
-
I developped a small application and when trying to move it to production (on a SQL 2008 server) I'm unfortunately running into some issues:
in my user model, I have :
has_many :application_users
ha…
jdel updated
12 years ago
-
I'm using same code on Ubuntu 10.10 and Arch Linux. As I can find, the main difference is version of freetds.
I use tiny_tds (0.4.5) with Rails 2.3.10 and activerecord-sqlserver-adapter (2.3.18). If …
-
I'm updating our Rails application from 2.3 to 3.2.8. We have some problem running the migrations. For some of the renames in the migrations we get an error message: "No such column". I've debugged th…
-
Hello,
I'm having an issue with getting an Model mapped to a view in our MS SQL database.
I raised the issue here first : https://github.com/rails-sqlserver/tiny_tds/issues/86
but was asked to check …
-
My setting: Linux, TinyTDS-0.91, Ruby-1.9.3, Rails-3.2.6
I added the following initializer to configure my connection to the db (config/initializers/sqlserver.rb):
```
Rails.logger.info "Connection …
-
I am not sure if it is the first (or not) issue about this problem:
```
ruby-1.9.2-p180 :033 > User.first
User Load (1.1ms) EXEC sp_executesql N'SELECT TOP (1) [Usuarios].* FROM [Usuarios]'
Argume…
-
hey guys,
I'm running some conversion code, using TinyTDS to connect to a MS SQL Server 2005 database over a VPN. Getting results with TinyTDS takes a very long time. When I was using odbc/dbi/free…
-
I've got a dead simple script that is failing to connect.
```
require 'tiny_tds'
client = TinyTds::Client.new(
:username => 'foo',
:password => 'bar',
:host => 'foobar.database.windows.net',
…