| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Unitialized polymorphic `belongs_to` associations raise an error while
attempting to reload, as they attempt to make an uncached reload, but
don't have a klass to fetch uncachedly. In this case, `loaded?` should
be `false` anyway.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for a namespaced association
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
for a namespaced association
fixes #20541
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
do not show "Failed tests" message when a failed test is not
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Remove mistaken end from controller_path doc [ci skip]
|
| | |/ / / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
Respect routing precedence for HEAD requests
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes the issue described in #18764 - prevents Rack middleware from
swallowing up HEAD requests that should have been matched by a
higher-precedence `get` route, but still allows Rack middleware to
respond to HEAD requests.
|
|\ \ \ \ \ \ \ \
| | |_|_|_|/ / /
| |/| | | | | | |
Add nodoc to the Validations::Helpers [ci skip]
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Minor fixes [ci skip]
|
|/ / / / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The heading "Active Model Length Validator" was shown on the
"ActiveModel::Validations" page without any text following it.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is a small refactoring that simplifies the Active Record specific
lenght validator.
|
| | | | | | |
|
| |/ / / /
|/| | | |
| | | | |
| | | | | |
Associated objects that were marked for destruction are considered absent.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Move the validations HelperMethods to its own file
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Closes #11209
[Roque Pinel & Steven Yang]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
vngrs/strong_parameters_unpermitted_parameters_wrong_doc_fix
Fix the documentation about ActionController::UnpermittedParameters [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
remove unused variable in reporter test
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix the documentation about ActionController::ParameterMissing [ci skip]
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Remove duplicate private statement
|
| | |_|_|/ /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Conflicts:
guides/source/configuring.md
|
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
LookupContext is class name
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is same type commit of https://github.com/rails/rails/pull/20463
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Just saw these in passing while reading this file.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Colons are not metacharacters.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
fix test not failing when executed isolated
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
the test was created in 7659fb6
the fixtures were added in c092dbe
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After discussing, we've decided it makes more sense to include it. We're
already forwarding every conflicting method to `to_a`, and there's no
conflation of concerns. `Enumerable` has no mutating methods, and it
just allows us to simplify the code. No existing methods will have a
change in behavior. Un-overridden Enumerable methods will simply
delegate to `each`.
[Sean Griffin & bogdan]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This matches our behavior in other cases where useful enumerable methods
might have a different definition in `Relation`. Wanting to actually
enumerate over the records in this case is completely reasonable, and
wanting `.sum` is reasonable for the same reason it is on `Enumerable`
in the first place.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add openssl_verify_mode and sync other smtp_settings with API docs [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Update documentation for ActiveRecord::Migration#remove_index
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`remove_index` works with multiple column names as `add_index`
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
assert_file understands paths with special characters
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
fixes #20042
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Let WITH (CTE) queries be explainable
Conflicts:
activerecord/CHANGELOG.md
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
correct example output of references migration [ci skip]
|