| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | / /
| | |_|_|/ /
| |/| | | | |
Typo fixes [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Raise `ArgumentError` when `has_one` is used with `counter_cache`
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously, the `has_one` macro incorrectly accepts the `counter_cache` option
due to a bug, although that options was never supported nor functional on
`has_one` and `has_one ... through` relationships. It now correctly raises an
`ArgumentError` when passed that option.
For reference, this bug was introduced in 52f8e4b9.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fixes failing test for JRuby
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
in JRuby FileUtils do not change
current dir when moving files
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip].
This solves:
```
Could not find gem 'arel (~> 5.0.0) ruby', which is required by gem 'rails (>= 0) ruby', in any of the sources.
```
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Improve Module#delegate documentation.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
private or protected methods. [ci skip]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix URL to robots.txt documentation [ci skip]
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Skipping debugger inclusion test if JRuby
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
fixes tests for JRuby
|
|\ \ \ \ \ \ \ \
| | |_|/ / / / /
| |/| | | | | | |
Typo fix
|
| | | | | | | | |
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This method is not using the block variable directly since it is calling
yield
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
removed unnecessary test case
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
removed unnecessary test case and improved test case for belongs_to having invalid options
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove `DatabaseStatements#case_sensitive_equality_operator`. It has been deprecated already.
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
deprecated already.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
#type_cast - improve performance & readability
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
fix mysql version check in rename_index
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
also clarify native rename_index support is >= 5.7, not > 5.7
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Make it prominent that after_commit and after_rollback swallow exceptions.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
exceptions should me made clear. Made that section to be a instead of a regular paragraph.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
implement rename_index natively for MySQL > 5.7
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix an activesupport inflector test changing the inflector but not reverting all its changes afterwards
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
/cc @fxn
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Extract **notable changes**, **deprecations** and **removals** from
each CHANGELOG.
I tried to reference the commits and pull requests for new features
and deprecations.
In the process I also made some minor changes to the CHANGELOGS.
The 4_1_release_notes guide is declared WIP.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|/ / / / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
because it is only used in
`activerecord/test/cases/adapters/oracle/synonym_test.rb`
See rails/rails#13054
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove leftover Oracle tests.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fixed typo `destory` => `destroy` [ci skip]
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Deprecate ActiveSupport::TestCase.describe
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Provide message to define ActiveSupport::TestCase.name instead.
Allow calling describe with a block, which Minitest::Spec does.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
[ci skip] removed singulars section from classify doc
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
https://github.com/chancancode/rails
Conflicts:
activesupport/CHANGELOG.md
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The user is expected to explicitly convert the value into an
AS::Duration, i.e. `5.ago` => `5.seconds.ago`
This will help to catch subtle bugs like:
def recent?(days = 3)
self.created_at >= days.ago
end
The above code would check if the model is created within the last 3
**seconds**.
In the future, `Numeric#{ago,until,since,from_now}` should be removed
completely, or throw some sort of errors to indicate there are no
implicit conversion from `Numeric` to `AS::Duration`.
Also fixed & refactor the test cases for Numeric#{ago,since} and
AS::Duration#{ago,since}. The original test case had the assertion
flipped and the purpose of the test wasn't very clear.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
unnecessary checking of `size` with `second regex` if matched with former regex
|