| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Compression has long been available, but opt-in and at a 16kB threshold.
It wasn't enabled by default due to CPU cost. Today it's cheap and
typical cache data is eminently compressible, such as HTML or JSON
fragments.
Compression dramatically reduces Memcached/Redis mem usage, which means
the same cache servers can store more data, which means higher hit
rates.
To disable compression, pass `compress: false` to the initializer.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Supports vanilla Redis, hiredis, and Redis::Distributed.
* Supports Memcached-like sharding across Redises with Redis::Distributed.
* Fault tolerant. If the Redis server is unavailable, no exceptions are
raised. Cache fetches are treated as misses and writes are dropped.
* Local cache. Hot in-memory primary cache within block/middleware scope.
* `read_/write_multi` support for Redis mget/mset. Use Redis::Distributed
4.0.1+ for distributed mget support.
* `delete_matched` support for Redis KEYS globs.
|
| | |
| | |
| | |
| | | |
section [ci skip]
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Passing the environment's name as a regular argument is deprecated
in 48b249927375465a7102acc71c2dfb8d49af8309.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
bogdanvlviv/method_signature_prev-next-day-month-year_for_time
Mirror the API of Ruby stdlib for #prev_day, #next_day, #prev_month, #next_month, #prev_year, #next_year
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have already specified to install `bundler` 1.15.4 in `.travis.yml`.
https://github.com/rails/rails/blob/master/.travis.yml#L31..L32
However, `bundler` 1.16.0 may be used in the test.
https://travis-ci.org/rails/rails/jobs/296582467#L2208
The test failed due to this influence.
In order to avoid this, specifying `bundler` version in bug report
templates.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Follow up of #31004.
|
|\ \ \ \
| | | | |
| | | | | |
5_1_release_notes include more removals [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
:nothing in render
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is useful to extend `SystemTestCase`.
Also, since other test classes already have load hooks, should also be
in `SystemTestCase`.
Ref: 0510208dd1ff23baa619884c0abcae4d141fae53
|
| | | |
| | | |
| | | |
| | | | |
Evented Redis adapter was removed in 48766e32d31651606b9f68a16015ad05c3b0de2c.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The documentation wrongly suggests that Time extensions to Numeric include
methods months and years, when these belong to Integer.
Update both classes and guides.
|
| | |
| | |
| | |
| | |
| | | |
Evented Redis is removed from Rails.
See #30945
|
| | | |
|
| | |
| | |
| | |
| | | |
Guides [ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
yhirano55/remove_needless_space_in_action_view_guide
Remove a needless space in Action View Guide [ci skip]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Capitalize "sprockets" in Engine guide [ci skip]
|
| |/ / / |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
|/| | |
|
|/ / |
|
| |
| |
| |
| |
| | |
The example was slightly incorrect. This commit also adds a test case
for this example to cookies middleware unit tests.
|
|\ \
| | |
| | | |
Use `form_with` instead of `form_for` in engine guide [ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
yhirano55/fix_rails_routes_log_in_getting_started_guide
Fix the result of `rails routes` in Guide [ci skip]
|
| |/ / |
|
|/ /
| |
| |
| | |
The default of `String#to_time` is `:local` since b79adc4.
|
|\ \
| | |
| | | |
[ci skip] Fix typo
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Encourage html-safe API in layouts/rendering guide
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While the code example was not unsafe, it
encourages the use of confusingly unsafe APIs
(specifically `html_safe`). We have a safe
alternative and we should encourage people to use
it under all circumstances.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Resemble links to Bundler and Yarn,
based on feedback by @kamipo
[ci skip]
|
| | |
| | |
| | |
| | |
| | | |
The link to recaptcha.net returns a 404. As far as I can tell, the new
link ought to be to https://developers.google.com/recaptcha/ .
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See the changelog entry.
Remove `secrets.secret_token` from the bug report templates,
since we don't accept bug reports for Rails versions that
don't support a `secret_key_base`.
[ claudiob & Kasper Timm Hansen ]
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| | |
:github source uses `git://` url by default, `https://` is recommended.
See http://bundler.io/v1.15/guides/git.html#security
We do the same in our `Gemfile` and templates.
|