- 19 4月, 2018 13 次提交
-
-
由 Yoshiyuki Hirano 提交于
* Remove needless concat from actionpack/Rakefile * Remove neesless File.join from actionview/Rakefile
-
由 Kasper Timm Hansen 提交于
[ci skip] Fix minor system testing documentation typo.
-
由 Andrew White 提交于
Make the master.key readable only by the owner
-
由 Jose Luis Duran 提交于
This change may only apply to POSIX-compliant systems. Previously: $ ls -l config/master.key -rw-r--r-- 1 owner group 32 Jan 1 00:00 master.key Now: $ ls -l config/master.key -rw------- 1 owner group 32 Jan 1 00:00 master.key
-
由 Ryuta Kamizono 提交于
Fix reference to fixed issue in actionpack/CHANGELOG.md [ci skip]
-
由 bogdanvlviv 提交于
Pull Request #32602 fixes Issue #32597. [ci skip]
-
由 Andrew White 提交于
Fix exception in AS::Timezone.all when any tzinfo data is missing
-
由 Andrew White 提交于
-
由 Gleb Mazovetskiy 提交于
Fixes #32610. Closes #32614. Lua scripts in redis are *blocking*, meaning that no other client can execute any commands while the script is running. See https://redis.io/commands/eval#atomicity-of-scripts. This results in the following exceptions once the number of keys is sufficiently large: BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. This commit replaces the lua-based implementation with one that uses `SCAN` and `DEL` in batches. This doesn't block the server. The primary limitation of `SCAN`, i.e. potential duplicate keys, is of no consequence here, because `DEL` ignores keys that do not exist.
-
由 Stephen 提交于
-
由 Dominik Sander 提交于
Before this change missing timezone data for any of the time zones defined in `ActiveSupport::Timezone::MAPPING` caused a `comparison of NilClass with ActiveSupport::TimeZone failed` exception. Attempting to get a timezone by passing a number/duration to `[]` or calling `all` directly will try to sort sort the values of `zones_map`. Those values are initialized by the return value of `create(zonename)` which returns `nil` if `TZInfo` is unable to find the timezone information. In our case the exception was triggered by an outdated tzdata package which did not include information for the "recently" added time zones. Before 078421ba `zones_map` only returned the information that have been loaded into `@lazy_zone_map` which ignored time zones for which the data could not be loaded, this change restores the previous behaviour.
-
由 Andrew White 提交于
Add the `nonce: true` option for `javascript_include_tag` helper.
-
由 Guillermo Iguaran 提交于
Only create an array with default options if we have default options
-
- 18 4月, 2018 11 次提交
-
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
Output only one nonce in CSP header per request
-
由 Andrew White 提交于
-
由 Ryuta Kamizono 提交于
Update validates_inclusion_of example in Docs [ci skip]
-
由 Cassidy Kobewka 提交于
-
由 Rafael França 提交于
Ruby 2.6 warning: passing splat keyword arguments as a single Hash
-
由 utilum 提交于
Before: ``` $ ruby -v ruby 2.6.0dev (2018-04-04 trunk 63085) [x86_64-linux] $ bundle exec rake test:template ... /rails/actionview/lib/action_view/digestor.rb:76: warning: passing splat keyword arguments as a single Hash to `find_all' ```
-
由 Yaroslav Markin 提交于
-
由 Rafael França 提交于
Correct docs on naming of sprockets manifest file
-
由 Paul 提交于
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).
-
- 17 4月, 2018 13 次提交
-
-
由 Ryuta Kamizono 提交于
2.6 warning: passing splat keyword arguments as a single Hash
-
由 Ryuta Kamizono 提交于
Fix test to allow IF NOT EXISTS in structure:dump
-
由 Ryuta Kamizono 提交于
Remove unused attr_writer :joinable on Transaction
-
由 Xavier Noria 提交于
Really just an excuse to trigger edge docs generation
-
由 Andrey Novikov 提交于
-
由 Eugene Kenny 提交于
This was added in 28058758, but has been unused since 392eeecc.
-
由 Rafael França 提交于
Inclusive Language in Documentation Examples
-
由 Cassidy Kobewka 提交于
-
由 Ryuta Kamizono 提交于
Add the reference to Rails Guides 5.2 from the Edge Guides
-
由 bogdanvlviv 提交于
[ci skip]
-
由 Rafael França 提交于
Update Rails minor version from 5.1 to 5.2 [ci skip]
-
由 Jolyon Pawlyn 提交于
-
由 utilum 提交于
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". ```
-
- 16 4月, 2018 2 次提交
-
-
由 Yuji Yaginuma 提交于
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.
-
由 Cassidy Kobewka 提交于
-
- 15 4月, 2018 1 次提交
-
-
由 utilum 提交于
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
-