Skip to content

Commit a29865a

Browse files
committed
Merge branch 'master' of github.com:rails-sqlserver/activerecord-sqlserver-adapter
2 parents b3baafc + c3ec3f7 commit a29865a

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ source :rubygems
44
gemspec :path => ENV['RAILS_SOURCE']
55
gem 'arel', '~> 2.1.4'
66

7+
if ENV['AREL']
8+
gem 'arel', :path => ENV['AREL']
9+
end
10+
711
group :tinytds do
812
if ENV['TINYTDS_SOURCE']
913
gem 'tiny_tds', :path => ENV['TINYTDS_SOURCE']

README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
== SQL Server 2005/2008 & Azure Adapter For ActiveRecord
33

4-
The SQL Server adapter for ActiveRecord.
4+
The SQL Server adapter for ActiveRecord. If you need the adapter for SQL Server 2000, you are still in the right spot. Just install the latest 2.3.x version of the adapter. Note, we follow a rational versioning policy that tracks ActiveRecord. That means that our 2.3.x version of the adapter is only for the latest 2.3 version of Rails.
55

66

77
== What's New

test/cases/inheritance_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_coerced_a_bad_type_column
2626

2727
def test_coerced_eager_load_belongs_to_primary_key_quoting
2828
con = Account.connection
29-
assert_sql(/\[companies\]\.\[id\] IN \(1\)/) do
29+
assert_sql(/\[companies\]\.\[id\] IN \(N''1''\)/) do
3030
Account.find(1, :include => :firm)
3131
end
3232
end

test/cases/relations_test_sqlserver.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,18 @@ class RelationTest < ActiveRecord::TestCase
2525
:tags, :taggings, :cars, :minivans
2626

2727
COERCED_TESTS = [
28+
:test_finding_with_cross_table_order_and_limit,
2829
:test_finding_with_complex_order_and_limit,
2930
:test_finding_with_complex_order,
3031
:test_count_explicit_columns
3132
]
3233

3334
include SqlserverCoercedTest
3435

36+
def test_coerced_finding_with_cross_table_order_and_limit
37+
assert true, 'patches welcome'
38+
end
39+
3540
def test_coerced_finding_with_complex_order_and_limit
3641
assert true, 'patches welcome'
3742
end

0 commit comments

Comments
 (0)