| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master: (108 commits)
make tests pass on Ruby 2.2
Use Sqlite3 adapter in examples
use the body proxy to freeze headers
just ask the response for the commit status, we do not need to ask the jar
only write the jar if the response isn't committed
Fix a grammatical error in the i18n guide [ci skip]
use method_defined? to check whether or not a method is defined
Enhance docs for update_attribute [ci-skip]
Change usec to 0 on tests that compare seconds
Unit test for mysql quote time usec
Changelog entry for mysql56 microseconds
Test microsecond on mysql 5.6
MySQL 5.6 and later supports microsecond precision in datetime.
[ci skip] Add documentation for original_fullpath.
Remove mocking on save, when not necessary
comment why we are modifying global state. [ci skip]
`change_table` supports `citext`. Follow up to #12523.
Removed unnecessary command "application"
register OID for PostgreSQL citex datatype [Troy Kruthoff & Lachlan Sylvester]
Fixes STI when 2+ levels deep.
...
|
| |
| |
| |
| |
| |
| | |
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
|
| | |
| | |
| | |
| | | |
case insensitive collation.
|
| |\ \
| | | |
| | | | |
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]
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Remove mocking on save, when not necessary
|
| |/ / / |
|
| |\ \ \
| | | | |
| | | | | |
Fixes STI when 2+ levels deep.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
PR #14052 Added a regression where it was only looking for methods in one
level up, So when the method was defined in a 2+ levels up the
inheritance chain, the method was not found as defined.
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Support for PostgreSQL citext data type.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
citext makes it possible to use AR Hash finders for case-insensitive matching as sql UPPER/LOWER functions are not needed.
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
zuhao/eliminate_global_state_leak_in_activemodel_tests
Eliminate global state leaks completely in ActiveModel tests
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ActiveModel tests can now be run in random order.
|
| |\ \ \ \ \ \
| | |_|/ / / /
| |/| | | | | |
Removed command "application"
|
| |/ / / / / |
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
minor fix to 4.1 rel notes for begin_transaction joinable option
|
| |/ / / / |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Save has_one associations only if record has changes
Conflicts:
activerecord/CHANGELOG.md
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Prevents save related callbacks such as `after_commit` being
triggered when `has_one` objects are already persisted and have no
changes.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
links
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This will avoid the confusing flunk logic
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
fix minor typo 'fields_for'. [ci skip]
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | | |
Delete instances of Parrot after each test.
|
| |/ / / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Enhance readability of ActionView DateHelper#distance_of_time_in_words
|