| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is causing bugs like #23215 to occur, due to the extra spaces being
inserted. Also, this is fixed upstream in the upcoming release of
Sprockets 4.
|
|\
| |
| | |
prevent --skip-action-cable from erroring when --api option is used
|
|/ |
|
|\
| |
| | |
fix path of Action Cable configuration file [ci skip]
|
|/
|
|
| |
This changed in #22950.
|
|\ |
|
| | |
|
|\ \
| | |
| | | |
Move ApplicationCable::Channel section of readme
|
|/ /
| |
| | |
I believe the paragraph starting with "This relies" belongs with the one above it.
|
|\ \
| | |
| | | |
Rails 5.0+ rake commands implemented in Rails Framework itself. We pr…
|
| | |
| | |
| | |
| | | |
use bin/rails instead of rake [ci skip]
|
|\ \ \
| |/ /
|/| | |
Use the correct reference to the redis connection
|
|/ /
| |
| |
| |
| | |
Fixes #23193
This was throwing `There was an exception - NameError(undefined local variable or method `hi_redis_conn' for #<ActionCable::SubscriptionAdapter::Redis:0x007fb1449e2b70>)` on unsubscribe.
|
|\ \
| | |
| | | |
First pass over parts of Testing guide
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Grammar improvements
- Consistent usage of you or we in sentences
- Tests can have zero or more assertions. Its not mandatory to have one.
- Example for assert_send
[ci skip]
|
|\ \ \
| | | |
| | | | |
[ci skip] Add note about tsrange and timezone awareness to docs
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
rm changelog for unreleased changes fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Based on https://github.com/rails/rails/pull/23167/files#r50507317
[ci skip]
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
y-yagi/remove_per_form_csrf_tokens_initializer_from_rails_api
remove `per_form_csrf_tokens` initializer from Rails API
|
|/ / /
| | |
| | |
| | |
| | | |
Because the form is not in the Rails API,
`per_form_csrf_tokens` initializer I think unnecessary.
|
|\ \ \
| | | |
| | | | |
Remove action_cable_meta_tag when skip Action Cable
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add `config/cable.yml` to list of default files in Rails generator
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
prathamesh-sonpatki/fix-cache-key-for-loaded-empty-collection
Fix ActiveRecord::Relation#cache_key for loaded empty collection
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Before this patch if we try to find cache_key of a loaded but empty
collection it used to give error because of trying to call `updated_at`
on `nil` value generated by
`collection.max_by(×tamp_column).public_send(timestamp_column)`.
- This commit fixes above error by checking if size is greater than zero
or not.
|
|\ \ \ \
| | | | |
| | | | | |
Fix `ActionController::Parameters#==` bug
|
| | | | |
| | | | |
| | | | |
| | | | | |
See bug #21032.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
y-yagi/add_application_mailer_rb_to_mountable_engine
add application_mailer.rb to template of mountable engine
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
since 9446e38ba47c9ca3be2ad668d8a8bea0141be6fc, generated mailer inherents from ApplicationMailer,
ApplicationMailer is required in the mountable engine.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] fix #23157
|
| | |_|_|/ /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is a similar case to wanting ot use bind params for limit and
offset. Right now passing a range grows the amount of prepared
statements in an unbounded fashion. We could avoid using prepared
statements in that case, similar to what we do with arrays, but there's
a known number of variants for ranges.
This ends up duplicating some of the logic from Arel for how to handle
potentially infinite ranges, and that behavior may be removed from Arel
in the future.
Fixes #23074
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix warning introduced in API response fix
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
https://github.com/vipulnsward/rails/commit/77acc004efad07dfd4d4f83be14ef897968a3fd9 when fixing API responses.
- render :text is deprecated, so added an assertion for it.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
updating secrets.yml template to use rails command instead of rake
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Improve Docs for ActionController::MimeResponds#respond_to
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Re-add ActionController::ApiRendering
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
- Fixes bug #23142.
- Bug was occurring only with ActionController::API, because `_process_options` wasn't being run for API requests, even though it was being run for normal app requests.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
insert newlines into code samples in Upgrading section of Asset Pipeline doc
|
|/ / / /
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Fix marking of custom routes for Journey
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The Mapper build_path method marks routes where path parameters are part
of a path segment as custom routes by altering the regular expression, e.g:
get '/foo-:bar', to: 'foo#bar'
There were some edge cases where certain constructs weren't being picked
up and this commit fixes those.
Fixes #23069.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Response etags to always be weak: Prefixed 'W/' to value returned by Act...
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ActionDispatch::Http::Cache::Response#etag= such that etags set in fresh_when and stale? are weak. For #17556.
|