| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Remove reference to Globalize::Backend::Static as this class no longer exists.
* Remove reference to google group
* Remove confusing reference to Globalize3
* Add section on translating stored content
|
|
|
| |
Fixes a typo
|
|
|
|
| |
Fixes #32129.
|
| |
|
|
|
|
|
| |
Ruby 2.4+ provides `Hash#compact` and `Hash#compact!` natively,
so `active_support/core_ext/hash/compact` is no longer necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using rails routes with small terminal or complicated routes it can be
very difficult to understand where is the element listed in header. psql
had the same issue, that's why they created "expanded mode" you can
switch using `\x` or by starting psql with
```
-x
--expanded
Turn on the expanded table formatting mode. This is equivalent to the \x command.
```
The output is similar to one implemented here for rails routes:
db_user-# \du
List of roles
-[ RECORD 1 ]----------------------------------------------
Role name | super
Attributes | Superuser, Create role, Create DB
Member of | {}
-[ RECORD 2 ]----------------------------------------------
Role name | role
Attributes | Superuser, Create role, Create DB, Replication
Member of | {}
|
|\
| |
| | |
Don't enforce UTF-8 by default
|
| |
| |
| |
| |
| |
| | |
With the disabling of TLS 1.0 by most major websites, continuing to run
IE8 or lower becomes increasingly difficult so default to not enforcing
UTF-8 encoding as it's not relevant to other browsers.
|
|/
|
|
| |
This change was made at 4a835aa3236eedb135ccf8b59ed3c03e040b8b01
|
|
|
|
| |
routing guide.
|
| |
|
|\
| |
| | |
Improve ActiveJob custom argument serializers #30941
|
| |
| |
| |
| |
| |
| | |
Add `:nodoc:` to `ActiveJob::Serializers`
Add `:doc:` to `ActiveJob::Serializers::ObjectSerializer#klass`
Express `ActiveJob::Serializers::ObjectSerializer#klass` as private method
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug.
References #32028
|
| |
| |
| |
| | |
Closes #31998
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
JPrevost/activestorage_integration_test_cleanup_docs
ActiveStorage file cleanup in Integration Tests
|
| |
| |
| |
| |
| | |
Documents ActiveStorage file cleanup in Integration Tests which is
similar but slightly different than the existing docs for System Tests.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provides both a forked process and threaded parallelization options. To
use add `parallelize` to your test suite.
Takes a `workers` argument that controls how many times the process
is forked. For each process a new database will be created suffixed
with the worker number; test-database-0 and test-database-1
respectively.
If `ENV["PARALLEL_WORKERS"]` is set the workers argument will be ignored
and the environment variable will be used instead. This is useful for CI
environments, or other environments where you may need more workers than
you do for local testing.
If the number of workers is set to `1` or fewer, the tests will not be
parallelized.
The default parallelization method is to fork processes. If you'd like to
use threads instead you can pass `with: :threads` to the `parallelize`
method. Note the threaded parallelization does not create multiple
database and will not work with system tests at this time.
parallelize(workers: 2, with: :threads)
The threaded parallelization uses Minitest's parallel exector directly.
The processes paralleliztion uses a Ruby Drb server.
For parallelization via threads a setup hook and cleanup hook are
provided.
```
class ActiveSupport::TestCase
parallelize_setup do |worker|
# setup databases
end
parallelize_teardown do |worker|
# cleanup database
end
parallelize(workers: 2)
end
```
[Eileen M. Uchitelle, Aaron Patterson]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can speed up things for the supported types by keeping the code in the
way it was.
We can also avoid to loop trough all serializers in the deserialization by
trying to access the class already in the Hash.
We could also speed up the custom serialization if we define the class
that is going to be serialized when registering the serializers, but
that will remove the possibility of defining a serialzer for a
superclass and have the subclass serialized using it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Improve wording in getting started guide
|
| |
| |
| |
| | |
[ci skip]
|
|/ |
|
|\
| |
| | |
Fix grammar bug in security guide [ci skip]
|
| | |
|
|/
|
|
| |
[ci skip]
|
|\
| |
| | |
Example of multiple configurations for system test in guide [ci skip]
|
| | |
|
| |
| |
| |
| | |
correction to #31755 as per https://github.com/rails/rails/pull/31755#discussion_r165819798
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Document in the guides the new middleware added in #31162
[ci skip]
|
|\ \
| | |
| | | |
Remove joke in security guide [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
I think this is a joke, although not a great one.
It's mildly unprofessional, so I think we
should get rid of it.
|
|\ \ \
| | | |
| | | | |
Remove out-of-date references to jQuery [ci skip]
|
| |/ /
| | |
| | |
| | | |
Fixes #31703
|
| | |
| | |
| | |
| | | |
This was changed with 5d7b70f and 428939b.
|
|/ /
| |
| |
| |
| |
| |
| | |
Because we use `credentials` in an example of configuration files, but
`credentials` can not be used unless it is 1.8.0 or later.
Ref: 9d65ac3
|
| | |
|
|\ \
| | |
| | | |
Clarify autoload_paths and eager_load in guides per current usage.
|
| | | |
|