We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb9b39 commit c8940e7Copy full SHA for c8940e7
test/cases/offset_and_limit_test_sqlserver.rb
@@ -28,12 +28,11 @@ def test_should_not_allow_sql_injection_via_limit
28
end
29
30
class WhenSelectingWithLimitAndOffsetOffsetAndLimitTest < ActiveRecord::TestCase
31
+ class Account < ActiveRecord::Base; end
32
def setup
33
@connection = ActiveRecord::Base.connection
34
# we have to use a real table as we need the counts
35
@select_sql = 'SELECT * FROM accounts'
- class Account < ActiveRecord::Base; end
36
-
37
# create 10 Accounts
38
(1..10).each {|i| Account.create!}
39
0 commit comments