| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Document the fact that Action Cable does not require a multi-threaded app server
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
SQLite 2 support has been dropped [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
Remove unused dependency
|
| | |
| | |
| | | |
railties uses method_source, activesupport does not. I assume code was refactored and the dependency wasn't removed.
|
|\ \ \
| |/ /
|/| | |
Defer Arel attribute lookup to the model class
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This still isn't as separated as I'd like, but it at least moves most of
the burden of alias mapping in one place.
|
|\ \ \
| | | |
| | | | |
Fix line filters running tests from multiple runnables.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Because of the expanding whitelist for test filters, this test ended up
running the tests on lines 4 and 9 in the post test even though the path
wasn't right.
Happened incidentally because the same line numbers were used in both
account and post test.
Add the .rb line so the file is required correctly and the filters are
applied.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`derive_regexp` was written with the assumption that we were run from a
blank slate — that if the filter didn't match we might as well return it
because it was nil.
This isn't the case because minitest calls `run` on every runnable. Which
is any subclass of Minitest::Runnable, such as ActiveSupport::TestCase,
ActionDispatch::IntegrationTest as well as any inheriting from those.
Thus after the first `run` we'd have put in a composite filter in
`options[:filter]` making the next `run` create a linked list when it
failed to match the regexp and put the composite filter as the head.
Every runnable would accumulate more and more of the same filters,
which effectively acted like an expanding whitelist and we ran tests
from other runnables.
Clog the accumulation by returning nil if there's no filter to derive
a regexp from.
Note: we pass a seed in the tests because Minitest shuffles the runnables
to ensure the whitelist is expanded enough that the failure is triggered.
|
|\ \ \ \
| |/ / /
|/| | | |
Add dummy apple icon files
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously Safari would try to load these files when you visit
localhost:3000. That created two exceptions in the log. It also caused
the exception notifier to send them out.
In response to #23427
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
prathamesh-sonpatki/improve-pg-version-old-error-message
Improve pg version old error message and mention this change in release notes.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Remove json gem dependency
|
|/ / /
| | |
| | | |
All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.
|
|\ \ \
| | | |
| | | | |
Put some space for non-assets requests in development mode
|
| |/ /
| | |
| | |
| | | |
- Fixes #23428.
|
|\ \ \
| | | |
| | | | |
update supported version of PostgreSQL in docs [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
Follow up to #23434
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
use rails command in routes task
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
For other task has become to use the rails command at doc and test,
I think that routes task also it is better to use the rails command.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Changed id-writer to save join table records based on association
primary key #20995.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
key #20995
Changed id-writer to save join table records based on association primary key
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Prototype, you have served us well. But you are no longer how we make an
XMLHttpRequest. RIP
|
|\ \ \ \
| |_|/ /
|/| | | |
Use rails secret command in guides
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
The minimum supported version of PostgreSQL is now >= 9.1
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix typo.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Several ActionCable doc fixes
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Properly indent code sample in ActionCable::Channel::Streams
* Add a doc comment for #stop_all_streams
* Reformat + add <tt> blocks around code references in ActionCable::Base docs
* Clarify and a little better grammar on ActionCable::RemoteConnections
* Correct indentation and clean up ActionCable::Server::Broadcasting code sample
|
| | |
| | |
| | |
| | | |
There was a typo in the variable name leading to infinite recursion
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We had previously updated this to attempt to map over whatever was
passed in, so that additional types like range and array could benefit
from this behavior without the time zone converter having to deal with
every known type.
However, the default behavior of a type is to just yield the given value
to `map`, which means that if we don't actually know how to handle a
value, we'll just recurse infinitely. Since both uses of `map` in this
case occur in cases where we know receiving the same object will
recurse, we can just break on reference equality.
Fixes #23241.
|
|\ \ \
| | | |
| | | | |
Remove unnecessary overriding of `#initialize`
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
`#initialize` of `HasManyReflection`, `HasOneReflection` and
`BelongsToReflection` only pass all arguments to `super` by passed order.
These overriding can be removed.
|
|\ \ \
| |/ /
|/| | |
Change command_task.rb to commands_task.rb in docs
|
|/ /
| |
| | |
The initialization documentation references `rails/commands/command_task.rb`. This appears to be a typo as the file is actually `rails/commands/commands_task.rb`.
|
|\ \
| | |
| | | |
Warn if a named scope is overwriting an existing scope or method
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit f6db31ec16e42ee7713029f7120f0b011d1ddc6c.
Reason:
Scope names can very easily conflict, particularly when sharing Concerns
within the team, or using multiple gems that extend AR models.
It is true that Ruby has the ability to detect this with the -w option, but the
reality is that we are depending on too many gems that do not care about Ruby
warnings, therefore it might not be a realistic solution to turn this switch on
in our real-world apps.
|
|\ \ \
| | | |
| | | | |
move `test_generator_if_skip_action_cable_is_given_for_an_api_app` to the appropriate file
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
appropriate file
Test of Rails API should be in `api_app_generator_test.rb`.
|
|\ \ \ \
| | | | |
| | | | | |
Duplicate assert_generates options before modifying it
|