activerecord-sqlserver-adapter
activerecord-sqlserver-adapter copied to clipboard
SQL Server Adapter For Rails
When running `bin/rake db:schema:load` in a project using activerecord-sqlserver-adapter, the process mostly works, with all the tables, indices, and so on being created. However, it fails at the last second...
## Issue Recently we began the process of updating a rails 5.1 application to rails 5.2 and found that each time we tried, we would see horrible database performance and...
## Issue When you require `activerecord-sqlserver-adapter` as such: ```ruby require 'activerecord-sqlserver-adapter' puts "fin" ``` You get a `method_missing` exception in `ActiveRecord::Base` (it can't find `silence_warnings`). ## Expected behavior It should...
## Issue change_column_default and similar methods not working as intended ## Expected behavior according to the documentation [change_column_default](https://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/change_column_default)(:users, :email, nil) `change_column_default("SomeTable", "SomeColumn", nil)` should drop the default constraint on SomeColumn....
## Issue Whenever a connection is attempted, or a connection is lost, several file descriptors are opened and are never removed. This is a problem as our Puma server eventually...
## Issue We should support the new Rails 7 load_async method for `ActiveRecord::Base.execute_procedure` calls. This obviously requires a few changes, such as utilizing query building as is the case when...
## Issue We are trying to port a Rails application to Azure cloud and would like to use `Azure Service Principal` or `Managed Identity` instead of the `database.yml` username/password, while...
Using varchar(max) as a fall back parameter type causes SQL Server to make poor execution plan choices, dramatically slowing down queries. If the type selection in sp_executesql_sql_type was better when...
## Issue Doing the following query Model.distinct.to_sql returns the following query `SELECT DISTINCT TOP(1) 1 AS [one] FROM [models]` This happens when running with mssql on Windows with arel_extensions (https://github.com/Faveod/arel-extensions)....