| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
palkan/fix/actioncable-confirmation-race-condition
Avoid race condition on subscription confirmation
|
| |
| |
| |
| | |
initializing
|
| | |
|
|\ \
| | |
| | | |
Remove dup distinct from AR query list doc [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
Preserve cached queries name in AS notifications
|
| | | |
|
|\ \ \
| | | |
| | | | |
Buffer writes to the cable sockets
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise, they can sometimes block, leading to reduced system
throughput.
|
|\ \ \ \
| | | | |
| | | | | |
Callbacks: leave less lines in the backtrace
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Callbacks are everywhere, so it's better if we can avoid making a mess
of the backtrace just because we've passed through a callback hook.
I'm making no effort to the before/after invocations: those only affect
backtraces while they're running. The calls that matter are the ones
that remain on the call stack after run_callbacks yields: around
callbacks, and internal book-keeping around the before/afters.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was caused by 6d0d83a33f59d9415685852cf77818c41e2e2700. While the
bug it's trying to fix is handled if the association is loaded in an
after_(create|save) callback, it doesn't handle any cases that load the
association before the persistence takes place (validation, or before_*
filters). Instead of caring about the timing of persistence, we can just
ensure that we're not double adding the record instead.
The test from that commit actually broke, but it was not because the bug
has been re-introduced. It was because `Bulb` in our test suite is doing
funky things that look like STI but isn't STI, so equality comparison
didn't happen as the loaded model was of a different class.
Fixes #26661.
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo in 5_0_release_notes.md doc [ci skip]
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
remove `mongrel` once again
|
| | | | |
| | | | |
| | | | |
| | | | | |
`mongrel` was removed in #26408. But have back accidentally in #26414.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Remove dead constants
|
| | | | |
| | | | |
| | | | |
| | | | | |
It seems that we forgot to remove some codes on https://github.com/rails/rails/commit/7ab47751068c6480e7e44fc9265a7e690dd4af3b
|
|\ \ \ \ \
| | | | | |
| | | | | | |
update description of queue adapter in test [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`ActiveJob::TestCase` set `TestAdapter` to queue adapter at `before_setup`.
https://github.com/rails/rails/blob/master/activejob/lib/active_job/test_helper.rb#L12..L21
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Remove not necessary whitespace
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Use right format text
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
[ci skip] Use class name instead of path to file
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
[ci skip] Removes broken performance testing link from the 2.2 release notes
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
use `active_support/testing/autorun` in `bin/test` script
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
29f0fbd5db643b885665e4a14c7de3bf6c0d9c96 has changed that always call
`Minitest.autorun` in `active_support/testing/autorun`.
Therefore, when used directly `Minitest.run`, tests are performed twice.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Make :as option also set request format (AC::TestCase)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
right now you'd have to specify both :as and :format:
```
post :create, params: { foo: "bar" } as: :json, format: :json
```
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Do not leak the Errors default proc when calling to_hash or as_json
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fix typo in `DateAndTime::Calculations#all_week` doc [ci skip]
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`Date.week_start` does not exist. `Date.beginning_of_week` seems to be correct.
Ref: #5339
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix doc format for `RecordFetchWarning` [ci skip]
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Initial Rails Commands Infrastructure
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Wash out your old! These adhoc scripts are replaced by the new
commands.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prescribed some review fixes for myself!
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Still vulnerable to different file structures. We likely want something
more robust when we tackle in app commands.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is not as good a solution as actually hashing both values, but Ruby
doesn't expose that capability other than allocating the array. Unless we were
to do something silly like have a thread local array that is re-used, I don't
see any other way to do this without allocation. This solution may not be
perfect, but it should reasonably avoid collisions to the extent that we need.
|