| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is because we only use hash to maintain the result. So when the key
are the same, the result would be skipped. The solution is to maintain
an array for tracking every item's position to restructure the result.
|
| |
|
|\
| |
| | |
Fixed description of the `cache_key_with_version` method [skip ci]
|
| | |
|
| | |
|
| |
| |
| |
| | |
:create, :update ]`. (#35804)
|
|\ \
| | |
| | | |
Honor shallow: false on nested resources
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously there was no way to place a non-shallow resource inside a parent
with `shallow: true` set. Now you can set `shallow: false` on a nested child
resource to generate normal (non-shallow) routes for it.
Fixes #23890.
|
|\ \ \
| | | |
| | | | |
Add attachment and attachments field generators
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Hash / HashWithIndifferentAccess speed improvements
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Remove unnecessary variable from ActionCable.createWebSocketURL
* Improve ActionCable test by creating the Consumer before reassigning URL
With this change, the test now actually verifies that the Consumer's url
property changes dynamically (from testURL to `${testURL}foo`).
* Fix alphabetization of ActionCable exports
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Add db:prepare rake task.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It Creates the database, loads the schema, run the migrations and initializes with the seed data
(use db:reset to also drop the database first). This rake task runs in an idempotent way
ref https://github.com/rails/rails/pull/33139#discussion_r195930751
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
abhaynikam/35826-updated-doc-template-rawfile-after-35826
[ci skip] Updated the doc after renaming Template::File -> Template::RawFile in #35826
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
in #35826
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Rename `Template::File` to `Template::RawFile`
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Rename `connection` option to `database` in `dbconsole` command
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We introduced `connection` option for specifying spec with 1acd9a6464668d4d54ab30d016829f60b70dbbeb.
But now we are using the `database` to specify the same value in other commands.
* https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb#L11
* https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/model/model_generator.rb#L17
The options provided to the users should be uniform. Since the term
"database" is used in rake task etc, So I want to be able to use it in
`dbconsole` command.
Also I deprecated the `connection` option because I think that it
would be confusing if there are multiple options to specify a same value.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
[ci skip] Fix typo for recieve -> receive
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Add Changelog entry for #35732.
|
|/ / / / / |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
url -> URL where apt except inside actionpack/
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
url -> URL where apt inside actionpack/
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Include final newline in generated .ruby-version
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
kamipo/partly_revert_query_annotation_for_update_and_delete
Revert unused code and re-using query annotation for `update_all` and `delete_all`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`delete_all`
This partly reverts #35617.
#35617 includes unused code (for `InsertStatement`) and re-using query
annotation for `update_all` and `delete_all`, which has not been
discussed yet.
If a relation has any annotation, I think it is mostly for SELECT query,
so re-using annotation by default is not always desired behavior for me.
We should discuss about desired behavior before publishing the
implementation.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
url -> URL in Action Cable guide [ci skip]
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix guides to link to edgeapi if on EDGE env
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Fix typo in the value of ENCRYPTED_SIGNED_COOKIE_SALT constant
* Fix value of cookie in with authenticated encryption flag off in tests
[Emil Shakirov + Ryuta Kamizono]
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update API doc for #includes on unnecessary #references
[ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update doc for #includes to clarify that #references is unnecessary when conditions are passed into #includes as a hash.
|