Fix probs in sections 5.6 and 5.9; [ci skip]
Make select_all on query cache accept a Relation without binds.
…for-find Add test for deprecation warning for passing an AR object to `find`.
…for-exists Add test for deprecation warning for passing an AR object to `exists?`.
thor's create_file seems to have a circular dependency on itself when used with our constant loading stuff. fixes #14319
please pass the id of the AR object by calling `.id` on the model first.
Pass the id of the object to the method by calling `.id` on the AR object.
Apparently we've been using a buggy feature for the past 6 years: https://bugs.ruby-lang.org/issues/9593
Two bits of example code use sqlite as an adapter, which doesn't exist. Using the code verbatim will raise a LoadError exception: ActiveRecord::Base.establish_connection( "adapter" => "sqlite", "database" => "db.sqlite" ) # => LoadError: Could not load 'active_record/connection_adapters/sqlite_adapter'... Considering this is code a lot of people new to Rails might be running, it's especially confusing. Closes #14367 [ci skip]
avoid freezing the headers until the web server has actually read data from the body proxy. Once the webserver has read data, then we should throw an error if someone tries to set a header
when streaming responses, we need to make sure the cookie jar is written to the headers before returning up the stack. This commit introduces a new method on the response object that writes the cookie jar to the headers as the response is committed. The middleware and test framework will not write the cookie headers if the response has already been committed. fixes #14352
Fix a grammatical error in the i18n guide
Enhance docs for update_attribute [skip ci]
Add more tests for mysql 5.6 microseconds + Fix tests
Avoid rounding problems with `.usec` method rounding the seconds when the field doesn't persist the `.usec` piece.
Only use BINARY for mysql case sensitive uniqueness check when column has a case insensitive collation. Conflicts: activerecord/CHANGELOG.md
MySQL 5.6 Fractional Seconds
You might want to branch it to include this only for 5.6, but passing these values to < 5.6 doesn't cause issues either.
Add documentation for original_fullpath. [ci skip]