| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Correct docs on naming of sprockets manifest file
|
|/
|
|
| |
Calling this an MD5 implies that it is generated consistently based on some input.
However, this value is [completely random](https://github.com/rails/sprockets/blob/fbe6e450b6f25cf3ea494fcab0e34001d0b5a0b9/lib/sprockets/manifest_utils.rb#L11-L24).
|
|\
| |
| | |
2.6 warning: passing splat keyword arguments as a single Hash
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ruby 2.6.0 warns about this.
``` ruby -v
ruby 2.6.0dev (2018-04-04 trunk 63085) [x86_64-linux]
```
Before, see:
https://travis-ci.org/rails/rails/jobs/365740163#L1262-L1264
https://travis-ci.org/rails/rails/jobs/365944863#L2121-L2174
|
|\ \
| | |
| | | |
Fix test to allow IF NOT EXISTS in structure:dump
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before:
```
$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
$ ruby -w -Itest -Ilib -I../activesupport/lib -I../actionpack/lib -I../actionview/lib -I../activemodel/lib test/application/rake/multi_dbs_test.rb
Run options: --seed 28744
F
Failure:
ApplicationTests::RakeTests::RakeMultiDbsTest#test_db:migrate_and_db:structure:dump_and_db:structure:load_works_on_all_databases [test/application/rake/multi_dbs_test.rb:70]:
Expected /CREATE TABLE \"books\"/ to match "CREATE TABLE IF NOT EXISTS \"schema_migrations\" (\"version\" varchar NOT NULL PRIMARY KEY);\nCREATE TABLE IF NOT EXISTS \"ar_internal_metadata\" (\"key\" varchar NOT NULL PRIMARY KEY, \"value\" varchar, \"created_at\" datetime NOT NULL, \"updated_at\" datetime NOT NULL);\nCREATE TABLE IF NOT EXISTS \"books\" (\"id\" integer PRIMARY KEY AUTOINCREMENT NOT NULL, \"title\" varchar, \"created_at\" datetime NOT NULL, \"updated_at\" datetime NOT NULL);\nCREATE TABLE sqlite_sequence(name,seq);\nINSERT INTO \"schema_migrations\" (version) VALUES\n('20180416201805');\n\n\n".
```
|
|\ \ \
| | | |
| | | | |
Remove unused attr_writer :joinable on Transaction
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This was added in 280587588aba6ce13717cd6679e3f2b43d287443, but has been
unused since 392eeecc11a291e406db927a18b75f41b2658253.
|
|/ / /
| | |
| | |
| | | |
Really just an excuse to trigger edge docs generation
|
|\ \ \
| | | |
| | | | |
Inclusive Language in Documentation Examples
|
| | | | |
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
Add the reference to Rails Guides 5.2 from the Edge Guides
|
| | |/
| |/|
| | |
| | | |
[ci skip]
|
|\ \ \
| |/ /
|/| | |
Update Rails minor version from 5.1 to 5.2 [ci skip]
|
|/ / |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
At SuSE, `$HOST` is set by default and is equal to `$HOSTNAME`.
https://www.suse.com/documentation/sled11/book_sle_admin/data/sec_adm_variables.html
Therefore, by default, it binds to hostname instead of `localhost`.
This seems not to be appropriate as default behavior.
In order to avoid the name of the environment variable being used,
I changed the environment variable from `HOST` to `BINDING`.
Fixes #29516.
|
|\
| |
| | |
Fix redis store clear keys outside the namespace
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Namespace not working in RedisCacheStore#clear method. Bacause
namespace = merged_options(options)[namespace]
is always nil, Correct is
namespace = merged_options(options)[:namespace]
|
|\ \
| |/
|/| |
Add missing `require "benchmark"`
|
|/ |
|
|\
| |
| | |
Fix broken nodocs
|
| |
| |
| |
| |
| | |
This commit fixes all references in the codebase missing a trailing :,
which causes the nodoc not to actually work :) [skip ci]
|
|\ \
| |/
|/|
| |
| | |
raderj89/jaredrader/update-docs-ActiveJob__Serializers__ObjectSerializer#deserialize-for-pr
fix spelling in docs for ActiveJob::Serializers::ObjectSerializer#deserialize
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Add .keep exception for storage folder
|
| | |
| | |
| | | |
Fixes https://github.com/rails/rails/issues/32546 by including the `.keep` file in the .gitignore, bringing the `storage` folder in line with the `tmp` and `log` folders.
|
|\ \ \
| | | |
| | | | |
Update security.md with latest underground market prices
|
| |/ /
| | |
| | | |
Updated underground market prices according to the 2017 Symantec ISTR (was previously citing the 2008 report)
|
|/ /
| |
| |
| | |
Legit, but really an excuse to trigger the master hook in the docs server.
|
|/
|
|
|
|
|
|
|
|
| |
`SecureRandom.byes` was added in Ruby 2.4. So, 5-2-stable build is broken
because using `SecureRandom.bytes`.
https://travis-ci.org/rails/rails/jobs/365740667
Also, `SecureRandom.byes` seems to an undocumented method.
If need random binary strings, should use `SecureRandom.random_bytes`.
https://github.com/ruby/ruby/blob/trunk/lib/securerandom.rb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ok so apparently you can not just have a `default:` that manually is
merged in with YAML but you can also have a special "shared" config that
is automatically merged.
Example:
```
shared:
adapter: mysql2
host: <%= ENV["DB_HOST"] || "localhost" %>
username: root
connect_timeout: 0
pool: 100
reconnect: true
development:
database: development_db
adapter: mysql2
```
To fix, only create a DatabaseConfig object when an adapter, database,
or URL are present.
The merging behavior for `shared` doesn't work with a 3-tier config. I
don't think it worked before this change either - since Rails doesn't
know which point to merge it in. That's something we may have to fix
with the refactoring I'm working on.
|
|\
| |
| | |
Add WebSocket URI support to CSP DSL mappings
|
| | |
|
|\ \
| | |
| | | |
Don't doc _original_sum_with_required_identity
|
| |/
| |
| |
| | |
It's not public API so don't document it.
|
|\ \
| |/
|/| |
Fix ActiveSupport::Cache compression
|
| |
| |
| |
| | |
(See previous commit for a description of the issue)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Rails 5.2, when compression is enabled (which it is by default),
the actual value being written to the underlying storage is actually
_bigger_ than the uncompressed raw value.
This is because the `@marshaled_value` instance variable (typically)
gets serialized with the entry object, which is then written to the
underlying storage, essentially double-storing every value (once
uncompressed, once possibly compressed).
This regression was introduced in #32254.
|
|\ \
| | |
| | |
| | |
| | | |
teddywing/active-support-cache-store--fix-end-tag-in-read-method-documentation
Cache::Store#read: Fix fixed-width end tag in docs
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix the ending `</tt>` tag for `:expires_in`. Otherwise, the "or" is
set in fixed-width also.
* Re-wrap paragraph to 80 columns.
[ci skip]
|
|\ \ \
| |/ /
|/| | |
Define callbacks on descendants.
|
| | |
| | |
| | |
| | | |
Addresses feedback from https://github.com/rails/rails/pull/31913#issuecomment-365983580
|
| | |
| | |
| | |
| | | |
We set callbacks on all descendants, so we need to make sure that they are also defined on all descendants as well.
|
|\ \ \
| |_|/
|/| | |
Fix MySpace Samy worm link [ci skip]
|
|/ /
| |
| |
| | |
The old link https://samy.pl/popular/tech.html is 404 not found.
|
|\ \
| | |
| | |
| | |
| | | |
lsylvester/fix-immutable-relation-error-with-http-caching-and-collection-caching
Fix ActiveRecord::ImmutableRelation is raised when collection caching and HTTP caching are used together
|
|/ /
| |
| |
| | |
effect the arel and the arel may already be generated by fresh_when
|
|\ \
| | |
| | | |
Use frozen string literal
|