| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
`specificiation_id` was renamed to `spec_name`
|
| | |
|
|\ \
| | |
| | | |
Fix `payload[:class_name]` to `payload[:spec_name]`
|
| | |
| | |
| | |
| | |
| | |
| | | |
Follow up to #20818.
`retrieve_connection` is passed `spec_name` instead of `klass` since #24844.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update ActionCable Rebroadcasting a Message documentation
|
| | | |
| | | |
| | | |
| | | | |
Replace broadcast_to with ActionCable.server.broadcast to be inline with its partner, #stream_from
|
|\ \ \ \
| | | | |
| | | | | |
Pass `type_casted_binds` to log subscriber for logging bind values properly
|
| | | | |
| | | | |
| | | | |
| | | | | |
Address to https://github.com/rails/rails/commit/5a302bf553af0e6fedfc63299fc5cd6e79599ef3#commitcomment-18288388.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fix docs in collection_radio_buttons
|
|/ / / /
| | | |
| | | |
| | | | |
[ci skip] Just some english and `<tt>` tags.
|
|\ \ \ \
| | | | |
| | | | | |
Logging type casted binds
|
|/ / / /
| | | |
| | | |
| | | | |
Fixes #22398.
|
|\ \ \ \
| | | | |
| | | | | |
[ci skip] Fix grammar in AR::Associations
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Albeit the previous existence of this method is not seen in
the patch itself, the declaration
mattr_accessor :error_on_ignored_order_or_limit, instance_writer: false
was present before. It was removed recently in 210012f.
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Followup of changes done to `error_on_ignored_order`
|
| | | |
| | | |
| | | |
| | | | |
- Followup of https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7
|
| | |/
| |/|
| | |
| | |
| | | |
- It adds lot of warnings while running the tests. After https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7 it is not needed.
- Added reader method with deprecation warning for backward compatibility.
|
|\ \ \
| |/ /
|/| | |
No need `public_send`
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
setup in ActiveSupport::LogSubscriber::TestHelper call set_logger that
will change ActionController::Base.logger to the MockLogger so that
logger will be always MockLogger
|
| | |
|
| |
| |
| |
| |
| |
| | |
The minitest stubs were conflicting with the time travel stubs so the
travel_back method call in the teardown block was actually keeping the
time stubbed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For those tests that use start we don't need to assert the actual order
of mime types that are returned.
This happen because this order is more about the order the mime type was
registered than the order that it is expected to it resolve.
We need to sort because we remove the json mime type in
json_params_parsing_test and add it to the end of the mime types set so
if that file runs before those tests we will have a failing test.
[Rafael Mendonça França + Lucas Hosseini]
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
jeremywadsack/use_transactional_fixtures_all_databases
Use notification to ensure that lazy-loaded model classes have transactions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
loaded model classes have their connections wrapped in transactions.
See #17776
In Rails 4 config.eager_load was changed to false in the test environment. This
means that model classes that connect to alternate databases with
establish_connection are not loaded at start up. If use_transactional_fixtures
is enabled, transactions are wrapped around the connections that have been
established only at the start of the test suite. So model classes loaded later
don't have transactions causing data created in the alternate database not to
be removed.
This change resolves that by creating a new connection.active_record
notification that gets fired whenever a connection is established. I then added
a subscriber after we set up transactions in the test environment to listen for
additional connections and wrap those in transactions as well.
|
|\ \ \
| | | |
| | | | |
Added :fallback_string option to Array#to_sentence
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
prathamesh-sonpatki/add-note-about-changelog-at-the-top
Add a note about adding CHANGELOG entries at the top of the file
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix failing requirement of duplicable in ParameterFilter
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | | |
Mention that layout can call a Proc [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also document return values for Proc/Symbol arguments
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix CHANGELOG grammar [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
CHANGELOG for https://github.com/rails/rails/pull/25257 [ci skip]
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
- Also minor weekly CHANGELOG cleanup.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add newline between each migration in `structure.sql`
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Keeps schema migration inserts as a single commit, so we still get all of the
benefits of https://github.com/rails/rails/commit/42dd2336b31a8d98776d039a2b9fd7f834156a78,
but allows for easier git diff-ing. Fixes #25504.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
junaruga/hotfix/actionpack-depending-on-activerecord
Remove unused activerecord requirement in actionpack.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix wrong test name
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Followup of https://github.com/rails/rails/pull/23179
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Update references generation docs to exclude index
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
In #23179 the migration generator was changed to no longer output `index: true` for `references` migrations. This updates the migrations guide to remove `index: true` from relevant examples.
[ci skip]
|