remove old unavailable link with relevant fix

This commit is contained in:
Gaurav Sharma 2015-03-22 09:34:01 +05:30
parent 5d6500535c
commit 29efc6ee05
4 changed files with 4 additions and 7 deletions

View File

@ -63,7 +63,7 @@ class RedirectController < ActionController::Base
end
def redirect_to_url_with_unescaped_query_string
redirect_to "http://dev.rubyonrails.org/query?status=new"
redirect_to "http://example.com/query?status=new"
end
def redirect_to_url_with_complex_scheme
@ -233,7 +233,7 @@ class RedirectTest < ActionController::TestCase
def test_redirect_to_url_with_unescaped_query_string
get :redirect_to_url_with_unescaped_query_string
assert_response :redirect
assert_redirected_to "http://dev.rubyonrails.org/query?status=new"
assert_redirected_to "http://example.com/query?status=new"
end
def test_redirect_to_url_with_complex_scheme

View File

@ -905,8 +905,7 @@ module ActiveRecord
def configure_connection
variables = @config.fetch(:variables, {}).stringify_keys
# By default, MySQL 'where id is null' selects the last inserted id.
# Turn this off. http://dev.rubyonrails.org/ticket/6778
# By default, MySQL 'where id is null' selects the last inserted id; Turn this off.
variables['sql_auto_is_null'] = 0
# Increase timeout so the server doesn't disconnect us.

View File

@ -947,7 +947,6 @@ class FinderTest < ActiveRecord::TestCase
end
end
# http://dev.rubyonrails.org/ticket/6778
def test_find_ignores_previously_inserted_record
Post.create!(:title => 'test', :body => 'it out')
assert_equal [], Post.where(id: nil)

View File

@ -68,8 +68,7 @@ class ModulesTest < ActiveRecord::TestCase
end
end
# need to add an eager loading condition to force the eager loading model into
# the old join model, to test that. See http://dev.rubyonrails.org/ticket/9640
# An eager loading condition to force the eager loading model into the old join model.
def test_eager_loading_in_modules
clients = []