| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
purpose?" heuristics
Narrows the "are you in a browser, viewing the page?" check to exclude
non-GET requests. Allows content-less APIs to use implicit responses
without having to set a fake request format.
This will need further attention. If you forget to redirect from a POST
to a GET, you'll get a 204 No Content response that browsers will
typically treat as… do nothing. It'll seem like the form just didn't
work and knowing where to start debugging is non-obvious.
On the flip side, redirecting from POST and others is the default, done
everywhere, so it's less likely to be removed or otherwise missed.
Alternatives are to do more explicit browser sniffing.
Ref #23827.
|
|
|
|
|
| |
Forgot to update the documentation on the line just above the one
I was changing in 4933132. Well done, Kasper :+1:
|
|
|
|
|
|
|
|
|
| |
`ActionDispatch::SSL` redirects all HTTP requests to HTTPS, not just some.
The `constrain_to` option inverts this, so it sounds like the middleware
only handles a few requests, rather than the majority with a few routes to
opt out of the redirect.
Renaming to `exclude` matches this intent more closely.
|
|
|
|
|
|
| |
Since f6e4814 was written we've made collection caching explicit.
Thus the documentation is outdated and needs a rewrite.
|
|\
| |
| | |
Support faye-websocket + EventMachine as an option
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #23934.
This is a forward port of ac832a43b4d026dbad28fed196d2de69ec9928ac
Previously the scope of all associations with extensions were wrapped in
an instance dependent proc. This made it impossible to preload such
associations.
|
|\ \
| | |
| | | |
Change 'a HTTP' to 'an HTTP' [ci skip]
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
jonatack/niceify-dynamic-routes-deprecation-messages
Niceify the dynamic routes deprecation messages
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Follow-up to #23980.
- Fix grammar: "be remove" -> "be removed".
- Wrap lines at 80 chars.
Lurvely ;-)
|
|\ \ \
| | | |
| | | | |
Change 'a HTML' to 'an HTML' [ci skip]
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
ConnectionMonitor is once again notified of disconnect
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | | |
Changed behaviour of timestamps helper by create_table migration generator [ci skip]
|
|/ /
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
Fix a small template misrender in ActiveRecord::Persistence
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
See the end of [this] page.
[ci skip]
[this]: http://edgeapi.rubyonrails.org/classes/ActiveRecord/Persistence/ClassMethods.html#method-i-create
|
|\ \
| | |
| | | |
Deprecate `{insert|update|delete}_sql` in `DatabaseStatements`
|
| | |
| | |
| | |
| | |
| | | |
Originally, `{insert|update|delete}_sql` is protected methods.
We can use the `{insert|update|delete}` public methods instead.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts changes made to integration tests in PR #23807.
The issue happens when using capybara with a driver that needs to start a
server in a separate thread like (poltergeist, selenium, etc).
Both threads the capybara server one and the test thread end running
syncronize over the interlock.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
[ci skip] Add `bundle exec` for ActiveRecord unit tests
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix description in cookies_serializer.rb being corrupted by gsub when updating
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo in app_generator_test.rb
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo in implicit_render
|
| | | | |
| | | | |
| | | | | |
When trying to make a request and the request doesn't have a suitable template, the new error messages are really helpful but there's a small (and I mean, VERY small) typo that has been bugging me for the last few days. This adds the space and restores order to the universe. :heart:
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove not needed `exec_insert` in mysql2 adapter
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Simply it is sufficient to use the method in the super class.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Use rails routes instead of rake routes in inspector test …
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Accept channel identifiers with no backslashes/escaping
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #22675
Allow channel identifiers and also data with no backslahes/escaping to be accepted by
the subscription storer.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
ActionCable: Add a "welcome" and "ping" message type
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change makes ping into a message type, which
makes the whole protocol a lot more consistent.
Also fixes hacks on the client side to make this all
work.
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Remove requiring load_paths from tools/test.rb
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
- Instead require and setup Bundler
- `tools/test.rb` is used internally from all `bin/test` scripts inside
component gems.
- Followup of https://github.com/rails/rails/commit/2abcdfd978fdcd491576a237e8c6be04ddaf884d.
|
|\ \ \
| | | |
| | | | |
Fix `ActiveSupport::Reloader.check!`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The test failure in `bug_report_templates/action_controller_master.rb`
is due to `app.reloader.check` is `nil`.
|
|\ \ \ \
| | | | |
| | | | | |
Remove load_paths file
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Remove duplicated `test_` prefix [ci skip]
|