- 28 3月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 22 3月, 2019 4 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Yuji Yaginuma 提交于
Since https://github.com/puma/puma/pull/1700, the default host is correctly used. So `localhost` is used instead of `0.0.0.0`. As a result, the log output on restart is changed, and the restart test fails on Puma 3.12.1. https://travis-ci.org/rails/rails/jobs/509239592#L2303-L2305 Specify binding explicitly to avoid being affected by Puma changes.
-
- 14 3月, 2019 4 次提交
-
-
由 Yuji Yaginuma 提交于
Make application work without tmp directory
-
由 eileencodes 提交于
-
由 eileencodes 提交于
This was missed in the security fix for local dev. CI doesn't have a tmp directory in the apps built for testing so these end up failing. This adds the secret_key_base so we don't need to generate one.
-
由 eileencodes 提交于
-
- 12 3月, 2019 2 次提交
-
-
由 Kasper Timm Hansen 提交于
This streamlines the lovely foundation Bogdan added. Mainly to add guidance around encryption keys and remove some backticks. Finally it adds some mention of how to access these files from Ruby in apps. [ Kasper Timm Hansen & bogdanvlviv ]
-
由 Kasper Timm Hansen 提交于
Improve output of `rails encrypted(:edit/:show) --help`
-
- 11 3月, 2019 3 次提交
-
-
由 eileencodes 提交于
* Bump RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
-
由 Aaron Patterson 提交于
If the secret_key_base is nil in dev or test generate a key from random bytes and store it in a tmp file. This prevents the app developers from having to share / checkin the secret key for dev / test but also maintains a key between app restarts in dev/test. [CVE-2019-5420] Co-Authored-By: Neileencodes <eileencodes@gmail.com> Co-Authored-By: NJohn Hawthorn <john@hawthorn.email>
-
由 John Hawthorn 提交于
[CVE-2019-5418] [CVE-2019-5419]
-
- 10 3月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Support other optional parameters and quoted-strings on Content-Type parser
-
- 09 3月, 2019 1 次提交
-
-
由 George Claghorn 提交于
Turbolinks replaces the CSP nonce <meta> tag on page change, but inline scripts inserted by UJS need the nonce from the initial page load. In general, it doesn't matter to UJS if the nonce changes after the page loads: only the initial value is relevant.
-
- 06 3月, 2019 2 次提交
-
-
由 Yuji Yaginuma 提交于
The 'listen' gem should also be included on other Ruby implementations
-
由 Benoit Daloze 提交于
* This `if RUBY_ENGINE == 'ruby'` was meant to only skip `byebug` since its introduction in 059bdc34. Listen was added in de6ad566. * Others gems already have appropriate checks for their inclusion. * Test that the listen gem is included when RUBY_ENGINE is not 'ruby'.
-
- 01 3月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Relax table name detection in `from` to allow any extension like INDEX hint
-
- 28 2月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fix different `count` calculation when using `size` with DISTINCT `select`
-
- 27 2月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Caching `find_by` statements on STI subclasses is unsafe, since `type IN (?,?,?,?)` part is dynamic, and we don't have SQL statements cache invalidation when a STI subclass is created or removed for now.
-
- 26 2月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fix prepared statements caching to be enabled even when query caching is enabled
-
- 23 2月, 2019 1 次提交
-
-
由 Yuji Yaginuma 提交于
Merge pull request #35375 from y-yagi/fix_test_select_with_subquery_in_from_uses_original_table_name Make `test_select_with_subquery_in_from_uses_original_table_name` work with old SQLite3
-
- 22 2月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fix `pluck` and `select` with `from` if `from` has original table name
-
- 21 2月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fix lint `ShadowingOuterLocalVariable`
-
- 19 2月, 2019 6 次提交
-
-
由 Ryuta Kamizono 提交于
Return correct date in ActiveModel for time to date conversions
-
由 Ryuta Kamizono 提交于
`value_from_multiparameter_assignment` defined by `AcceptsMultiparameterTime` helper requires `default_timezone` method which is defined at `TimeValue` helper. Since `Date` type doesn't include `TimeValue`, I've extracted `Timezone` helper to be shared by `Date`, `DateTime`, and `Time` types.
-
由 Ryuta Kamizono 提交于
Should use `value_for_database` like as master branch does.
-
由 Ryuta Kamizono 提交于
This reverts commit 32a01417.
-
由 Ryuta Kamizono 提交于
Don't allow `where` with invalid value matches to nil values
-
由 Ryuta Kamizono 提交于
Since `serialize` is passed user input args (from `where`, schema default, etc), a helper should provide `serialize` if the helper also provide `cast`. Related #32624, 34cc301f, a741208f.
-
- 17 2月, 2019 3 次提交
-
-
由 Ryuta Kamizono 提交于
This follows up 0ee96d13.
-
由 Ryuta Kamizono 提交于
Fix the regex that extract mismatched foreign key information
-
由 Ryuta Kamizono 提交于
-
- 16 2月, 2019 3 次提交
-
-
由 Ryuta Kamizono 提交于
Fix possible memory leak of ConnectionHandler
-
由 yuuji.yaginuma 提交于
Follow up to #35154.
-
由 Ryuta Kamizono 提交于
Properly handle cached queries with too many bind parameters
-
- 15 2月, 2019 1 次提交
-
-
由 George Claghorn 提交于
Fixes missing method `path_for` when using MirrorService with DiskService as the primary service
-
- 13 2月, 2019 2 次提交
-
-
由 Ryuta Kamizono 提交于
Currently custom attributes are always qualified by the table name in the generated SQL wrongly even if the table doesn't have the named column, it would cause an invalid SQL error. Custom attributes should only be qualified if the table has the same named column.
-
由 Ryuta Kamizono 提交于
The implicit delegation in the migration class is to be logged. It is not intended in the migration compatibility, so it should be avoided. Fixes #35224.
-