| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
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]
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
add missing braces [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also modify to use Ruby 1.9+ syntax.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Eliminate extra template lookup in ActionView::Digestor
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix broken link [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] fix a typo
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix display of unsorted list in release notes of 5.0 [ci skip]
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Check `request.path_parameters` encoding at the point they're set
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Check for any non-UTF8 characters in path parameters at the point they're
set in `env`. Previously they were checked for when used to get a controller
class, but this meant routes that went directly to a Rack app, or skipped
controller instantiation for some other reason, had to defend against
non-UTF8 characters themselves.
|
|\ \ \ \
| |/ / /
|/| | | |
Fix typo in mailer previews test description [ci skip]
|
|/ / /
| | |
| | |
| | |
| | | |
A mailer preview test description misspelled the word configuration.
This commit updates the test description to spell the word correctly.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There are several edits here, but in particular it updates the
guide to reflect 451437c.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
greysteil/dont-raise-unknown-http-method-low-in-stack
Don't raise ActionController::UnknownHttpMethod from ActionDispatch::Static
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `ActionDispatch::Static` middleware is used low down in the stack to serve
static assets before doing much processing. Since it's called from so low in
the stack, we don't have access to the request ID at this point, and generally
won't have any exception handling defined (by default `ShowExceptions` is added
to the stack quite a bit higher and relies on logging and request ID).
Before https://github.com/rails/rails/commit/8f27d6036a2ddc3cb7a7ad98afa2666ec163c2c3
this middleware would ignore unknown HTTP methods, and an exception about these
would be raised higher in the stack. After that commit, however, that exception
will be raised here.
If we want to keep `ActionDispatch::Static` so low in the stack (I think we do)
we should suppress the `ActionController::UnknownHttpMethod` exception here,
and instead let it be raised higher up the stack, once we've had a chance to
define exception handling behaviour.
This PR updates `ActionDispatch::Static` so it passes `Rack::Request` objects to
`ActionDispatch::FileHandler`, which won't raise an
`ActionController::UnknownHttpMethod` error. If an unknown method is
passed, it should exception higher in the stack instead, once we've had a
chance to define exception handling behaviour.`
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
javan/fix-namespaced-implicit-render-etag-template-digest
Fix adding implicitly rendered namespaced template digests to ETags
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Let TestResponse assign a parser.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously we'd only assign a response parser when a request came through
Action Dispatch integration tests. This made calls to `parsed_body` when a TestResponse
was manually instantiated — though own doing or perhaps from a framework — unintentionally
blow up because no parser was set at that time.
The response can lookup a parser entirely through its own ivars. Extract request encoder to
its own file and assume that a viable content type is present at TestResponse instantiation.
Since the default response parser is a no-op, making `parsed_body` equal to `body`, no
exceptions will be thrown.
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | | |
We are setting a limit unconditionally just below,
which overrides any existing one anyway.
|
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Handle `Rack::QueryParser` errors in `ActionDispatch::ExceptionWrapper`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Rack [recently](https://github.com/rack/rack/commit/7e7a3890449b5cf5b86929c79373506e5f1909fb)
moved the namespace of its `ParameterTypeError` and `InvalidParameterError`
errors. Whilst an alias for the old name was added, the logic in
`ActionDispatch::ExceptionWrapper` was still broken by this change, since it
relies on the class name.
This PR updates `ActionDispatch::ExceptionWrapper` to handle the Rack 2.0
namespaced errors correctly. We no longer need to worry about the old names,
since Rails specifies Rack ~> 2.0.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Give importance to rails command [ci skip]
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Correct link for model generator field types
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The most complete list of field types appears in the `SchemaStatements` docs rather than the `TableDefinition` docs.
The change to link to `SchemaStatements` means that the explanation for the `index` parameter is no longer available on the linked-to page. A brief explanation of the `index` parameter is added directly in the guide to make up for this.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Wrap module around lazy load hooks
|