- 05 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 01 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 17 8月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 14 8月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 23 7月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 13 7月, 2019 2 次提交
-
-
由 Xavier Noria 提交于
All this has been simplified.
-
由 Xavier Noria 提交于
-
- 06 6月, 2019 1 次提交
-
-
由 Steiley 提交于
fix typo in CHANGELOGs.
-
- 28 4月, 2019 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 25 4月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
[Matilda Smeds & Xavier Noria]
-
- 19 4月, 2019 2 次提交
-
-
由 Jeremy Weathers 提交于
-
由 Prathamesh Sonpatki 提交于
- Also deprecate passing {required} to the model generator. - Also made sure the global config `belongs_to_required_by_default` is applied correctly to the model generator for `null: false` option.
-
- 15 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 14 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
See rationale in the warning message included in the patch.
-
- 09 4月, 2019 1 次提交
-
-
由 BatedUrGonnaDie 提交于
-
- 02 4月, 2019 3 次提交
-
-
由 Abhay Nikam 提交于
-
由 yuuji.yaginuma 提交于
We introduced `connection` option for specifying spec with 1acd9a64. But now we are using the `database` to specify the same value in other commands. * https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb#L11 * https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/model/model_generator.rb#L17 The options provided to the users should be uniform. Since the term "database" is used in rake task etc, So I want to be able to use it in `dbconsole` command. Also I deprecated the `connection` option because I think that it would be confusing if there are multiple options to specify a same value.
-
由 Connor Shea 提交于
-
- 31 3月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
* add leading `#` before `=>` since hash rocket is valid Ruby code * add backticks * remove trailing spaces * and more
-
- 27 3月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 25 3月, 2019 1 次提交
-
-
由 Vipul A M 提交于
-
- 23 3月, 2019 2 次提交
-
-
由 Prem Sichanugrist 提交于
A long-running `rails console --sandbox` could cause a database server to become out-of-memory as it's holding on to changes that happen on the database. Given that it's common for Ruby on Rails application with huge traffic to have separate write database and read database, we should allow the developers to disable this sandbox option to prevent someone from accidentally causing the Denial-of-Service on their server.
-
由 John Hawthorn 提交于
-
- 19 3月, 2019 1 次提交
-
-
由 प्रथमेश Sonpatki 提交于
[Alex Kitchens, Prathamesh Sonpatki]
-
- 16 3月, 2019 1 次提交
-
-
由 yuuji.yaginuma 提交于
This allows specifying the environment as would any other rails commands.
-
- 11 3月, 2019 2 次提交
-
-
由 eileencodes 提交于
* Update RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
-
由 Prathamesh Sonpatki 提交于
-
- 26 2月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 14 2月, 2019 1 次提交
-
-
由 Edouard CHIN 提交于
- If you have hashes inside array, the hashes were getting initialized as regular HWIA wereas we want them to be NonSymbolAccessDeprecatedHash in order to trigger a deprecation warning when keys are accessed with string. This patch fixes that by overwriting the `[]=` to to the same as what HWIA does (with the difference that we don't call `convert_key` to not trigger a deprecation when setting value). I also took the liberty to extract `hash.nested_under_indifferent_access`, into a separate method to allow subclasses to return whatever they want. Inheriting HWIA is not common, but I think it's useful for cases like this one where we want to preprocess reading and writing values in the hash (for deprecation purposes or other reasons).
-
- 12 2月, 2019 1 次提交
-
-
由 Ufuk Kayserilioglu 提交于
A change to `Rails::Application.config_for` in https://github.com/rails/rails/pull/33815 and https://github.com/rails/rails/pull/33882 has altered the behaviour of the returned object in a breaking manner. Before that change, nested hashes returned from `config_for` could be accessed using non-symbol keys. After the change, all keys are recursively symbolized so non-symbol access fails to read the expected values. This is a breaking change for any app that might be relying on the nested hashes returned from `config_for` calls, and thus should be deprecated before being removed from the codebase. This commit introduces a temporary `NonSymbolAccessDeprecatedHash` class that recursively wraps any nested hashes inside the `OrderedOptions` object returned from `config_for` and issues a deprecation notice when a non-symbol based access is performed. This way, apps that are still relying on the ability to access these nested hashes using non-symbol keys will be able to observe the deprecation notices and have time to implement changes before non-symbol access is removed for good. A CHANGELOG entry is also added to note that non-symbol access to nested `config_for` hashes is deprecated.
-
- 03 2月, 2019 1 次提交
-
-
由 Genadi Samokovarov 提交于
During the development of #33145, I have named a few concepts in the code as `whitelisted`. We decided to stay away from the term and I adjusted most of the code afterwards, but here are the cases I forgot to change. I also found a case in the API guide that we could have cleaned up as well. [ci skip]
-
- 25 1月, 2019 1 次提交
-
-
由 Gannon McGibbon 提交于
-
- 19 1月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 18 1月, 2019 5 次提交
-
-
由 yuuji.yaginuma 提交于
This reverts commit fa791fb8. Reason: `server` argument was deprecated in Rails 6.0. Ref: #32058.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-