Remove conditional, since results are always an instance of `ActiveRecord::Result`
Rails.logger should have level specified by config.log_level. 

Fix bug when log level of Rails.logger (which was set via config.logger) does not match the    config.log_level.
fix tests
update guide to reflect default HMAC SHA1 in MessageVerifier used in SignedCookieStore [ci skip]
remove language about configuring digest method [ci skip]
Minor optimization and code cleanup in query_methods.

- Use symbols rather than strings where possible to avoid extra object construction
- Use destructive methods where possible to avoid extra object construction
- Use array union rather than concat followed by uniq
- Use shorthand block syntax where possible
- Use consistent multiline block styles, method names, method parenteses style, and spacing
Fix ActiveSupport::Testing::Isolation on jruby

Hopefully the first of many related to #11700.

With these changes the railties tests wont 100% pass but at least they
will run and show the errors.

The first problem was the @method_name variable was never set.
This was causing ENV["ISOLATION_TEST"] to always be nil which
would cause the test output to never be written to the tempfile.

The second problem was that an invalid -t option was being passed
to minitest and minitest was erroring out.

The third problem was the run method needs to always return an
instance of the test class it is trying to isolate. We were returning
a ProxyTestResult instead.
Replaced quotation marks for term by apostrophe

in getting started guide for section 5.6

[ci skip]
Define enable_extension method to prevent undefined method error

When mixing postgresql and another adapter like sqlite3 (for dev and test
respectively), the task `db:test:prepare` will fail due to the `enable_extension`
method not being defined in the abstract adapter. This patch simply adds an
empty definition to prevent it.
Added action_view in Rails::Info
Add timeout to test_async_stream

Without timeout:
this test executed infinitely on JRuby
Passes on MRI

With Timeout:
this test gracefully fails on JRuby
Passes on MRI, tested on v2.0 & v1.9.3
As we are doing debug mode on

we don't need to silenced it
Fix jruby warning when capture calls unlink on an open tempfile

Jruby cannot unlink a tempfile unless it is closed first.
add a test for concat on hm:t associations
Isolate railties Generators Tests

With this change jruby should pass all of the railties tests.
Revert "Isolate railties Generators Tests"

This fixes railties tests in JRuby but break it in MRI
This reverts commit fea99276c7024f183bf72a16ad9f36af4bae1d42.
use flat_map
Updated the guide to say that the localisation file for validation messages is in activemodel, not activerecord
Avoid calling define_method with non-english chars in InflectorTest

When we call define_method with non-english chars like ¿por qué? it
errors out on JRuby as of 1.7.4 & would leave out the following error

invalid byte sequence in US-ASCII

To work around this issue, I have switched to define_test method call
define method with fixed string & the index of the hash. the index was
added because otherwise, ruby will raise method redefined warning.

As far as I can see there are no side-effect of this change for
other implementations. For readbility I have added a message to
asssert_equal informing for which word/phase the test has passed.

Before this Change:
JRuby:
Tests terminated suddenly with an error. no reported of Failues
or errors
MRI:
All Green.

After this Change,
JRuby:
the `ActiveSupport` TestsSuite gracefully fails with report at the end which test failed & why.
MRI:
All Green(no change)
Using URI.parser.unescape

Fixes warning

warning: URI.unescape is obsolete