| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When calling remove_connection in a subclass, that should not fallback
to the parent, otherwise it will remove the parent connection from the
handler.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Getting Started Guide: Add invoke test_unit to files table [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Added clarity to documentation of ArrayInquirer#any? [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Added clarity to documentation of ArrayInquirer#any? [ci skip]
- Added clarity to documentation of ArrayInquirer#any? [ci skip]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Getting Started Guide: Add channels and jobs to purpose table [ci skip]
|
| |/ / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
API only apps: Preserve request format for HTML requests too
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Earlier we were responding with JSON format for HTML requests in a API
app.
- Now we will respond with HTML format for such requests in API apps.
- Also earlier we were not testing the API app's JSON requests
properly. We were actually sending HTML requests. Now we send correct
JSON requests. Also added more test coverage.
- Based on the discussion from this commit -
https://github.com/rails/rails/commit/05d89410bf97d0778e78558db3c9fed275f8a614.
[Prathamesh Sonpatki, Jorge Bejar]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Dont cache the conn_spec_name when empty
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We cannot cache the connection_specification_name when it doesnt
exist. Thats because the parent value could change, and we should keep
failling back to the parent. If we cache that in a children as an ivar,
we would not fallback anymore in the next call, so the children would
not get the new parent spec_name.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`remove_connection` can reset the `connection_specification_name`, so we
need to to set it after the remove_connection call on
`establish_connection` method.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Update documents of `ConnectionHandler`
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Follow up of #24844.
The key of `@owner_to_pool` was changed from `klass.name` to
`spec.name`. By this change "memory leaks in development mode"
will not happen, bacause the equality of string is not changed
by reloading of model files.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Getting Started Guide: Update Ruby version to 2.3.1p112 [ci skip]
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
remove_connection
When calling `remove_connection` on a model, we delete the pool so we also
need to reset the `connection_specification_name` so it will fallback to
the parent.
This was the current behavior before rails 5, which will fallback to the
parent connection pool.
[fixes #24959]
Special thanks to @jrafanie for working with me on this fix.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Minor syntax change
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
While working on this very example recently, I found that Rails will throw POST errors if you leave an empty block in front the `format.js` when using either `remote: true` or vanilla JS/JQuery.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Should quote `lock_name` to pass to `get_advisory_lock`
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Replacement cycle for readability
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix Gemfile.lock by updating rails-dom-testing
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Followup of https://github.com/rails/rails/pull/24946.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Update rails-dom-testing gem to 2.0
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Resolves #24924.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
use Rack::Utils.valid_path? to check path
|
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
This commit uses the new method in Rack to check if a path is valid.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Improve AV changelog with regards to default RAW handler
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
It highlights which kind of incompatibilities this could lead to when rendering plain JS or HTML partials.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Feature getting started guide [ci skip]
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
Add :ssl/:tls to ActionMailer rdoc [ci skip]
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
WIP: Action Cable JavaScript tests
|
| |/ / / / / / |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Will be using this in later code.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Each test executes in another tmp folder, so there's no chance
of polluting another test run.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Replacement cycle for readability
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Change http github links to https [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follow up to 7d55c846f11a435a4c7aae58f99279a2b9dd8506
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Use consistent term `underscored`
|
|/ / / / / / / |
|