-
When I execute not-too-long queries (with ids) i have strange errors:
NoMethodError: undefined method `[]' for nil:NilClass
The sql-query has no problem. I only can fix with minor ids (short query…
-
I get a TinyTds error when some slow SQL hits the auto-explain plan mechanism. The slow SQL, mildly anonymized, reads:
```
["EXEC sp_executesql N'\n select * from operation where opcode in…
dball updated
12 years ago
-
I've been using the sql server adapter to connect a rails front end to a legacy database. It's been working great for everything that I need it to do.
However, I started playing with the activeadmin…
-
Sorry for I am writing here again.
But my question on http://stackoverflow.com/questions/10570875/rails-activerecord-invalid-byte-sequence-in-utf-8-issue is still unanswered.
When I try to insert zi…
-
Hello,
I'm trying to run rake db:migrate from my rails application to a SQL Server 2005 (9.00.4053.00).
Several commands are run on the server, according to SQL Server Profiler:
``` sql
set textsize…
-
It raises an ArgumentError: wrong number of arguments (1 for 0), apparently when calling the iso8601 method with the 3 argument:
```
/Users/dball/.rvm/gems/ree-1.8.7-2012.02@decisiv/gems/activerecor…
dball updated
12 years ago
-
Sorry for the lack of understanding. I was directed here from the sqlserver adapter project. https://github.com/rails-sqlserver/activerecord-sqlserver-adapter
How do you use mini_portile with a Rai…
-
As I was working with redmine I see that it stores the data properly in the varchar(max) field. however after it retrieves the data from the database it is only returning 4096 chars back to redmine.
-
version is 3.1.3
code throwing exception:
``` ruby
ActiveRecord::Base.connection.select_value "DECLARE @EncGUID nvarchar(22); EXEC [dbo].[get_guid] @EncGUID = @EncGUID OUTPUT; SELECT @EncGUID;"
```
…
guai updated
12 years ago
-
In the active-record-adapter, there is the following code:
```
select_values("EXEC sp_helptext #{quote_table_name(table_name)}").join
```
After chasing down a lot of code, it looks like there i…
raels updated
12 years ago