- 17 11月, 2018 1 次提交
-
-
由 Gannon McGibbon 提交于
Replace `cache_key` with `cache_key_with_version` on caching_with_rails in Caching with Rails guide [ci skip]
-
- 16 11月, 2018 2 次提交
-
-
由 tnantoka 提交于
-
由 Dmytro Shteflyuk 提交于
* Arel: Implemented DB-aware NULL-safe comparison * Fixed where clause inversion for NULL-safe comparison * Renaming "null_safe_eq" to "is_not_distinct_from", "null_safe_not_eq" to "is_distinct_from" [Dmytro Shteflyuk + Rafael Mendonça França]
-
- 15 11月, 2018 5 次提交
-
-
由 Ryuta Kamizono 提交于
Fix a method call in bin/setup file
-
由 Nihad Abbasov 提交于
Follow up to a725539d
-
由 Rafael França 提交于
Add test for normalizing non-unicode string
-
由 Rafael França 提交于
Allow patching polling interval logarithmic multiplier
-
由 Fumiaki MATSUSHIMA 提交于
Closes #34062
-
- 14 11月, 2018 17 次提交
-
-
由 Husam Bilal 提交于
-
由 Ryuta Kamizono 提交于
fix typo on association_basics.md [ci skip]
-
由 Espartaco Palma 提交于
-
由 Rafael França 提交于
Allow rescue from parse errors
-
由 Rafael França 提交于
Describe how has_many's :dependent option affects #delete
-
由 Marcel M. Cary 提交于
I was puzzled about why `collection=` was destroying the removed records on an association with `dependent: :destroy`, even after consulting the documentation for that option. I had to dive into the Active Record source to understand what was going on: eventually `collection=` calls `collection.delete` on the ousted records, and it also uses the `:dependent` option to decide how to remove records. It would have helped me to have mention of this in the documentation for `:dependent`, not just under `collection.delete` (which I found much later). Briefly mention the broader impacts of `:dependent` in the Association Basics guide. [ci skip]
-
由 Gannon McGibbon 提交于
[Gannon McGibbon + Josh Cheek]
-
由 Rafael França 提交于
Remove asset paths from autoload_paths
-
由 Rafael Mendonça França 提交于
Fix: Arel now emits a single pair of parens for UNION and UNION ALL
-
由 Rafael França 提交于
Reset Capybara sessions if failed system test screenshot raising an exception
-
由 Keenan Brock 提交于
mysql has a great implementation to suppress multiple parens for union sql statements. This moves that functionality to the generic implementation This also introduces that functionality for UNION ALL
-
由 Rafael França 提交于
Adjust bind length of SQLite to default (999)
-
由 Gannon McGibbon 提交于
Change `#bind_params_length` in SQLite adapter to return the default maximum amount (999). See https://www.sqlite.org/limits.html
-
由 Rafael França 提交于
Ensure that `ActiveRecord::Base#connected_to` with `:database` establishes connection
-
由 Rafael França 提交于
Add support for UNLOGGED Postgresql tables
-
由 Rafael França 提交于
Fix ignored options in the `#added?` method
-
由 Rafael França 提交于
Add an alias for the --webpack option
-
- 13 11月, 2018 8 次提交
-
-
由 Alessandro Rodi 提交于
-
由 Rafael França 提交于
Ignore warnings such as `Psych.safe_load is deprecated`
-
由 Jacob Evelyn 提交于
This commit adds support for the `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.create_unlogged_tables` setting, which turns `CREATE TABLE` SQL statements into `CREATE UNLOGGED TABLE` statements. This can improve PostgreSQL performance but at the cost of data durability, and thus it is highly recommended that you *DO NOT* enable this in a production environment.
-
由 Yasuo Honda 提交于
Addressing warnings are important but it should be out of this test scope. https://travis-ci.org/rails/rails/jobs/454145524#L4122-L4131 ``` .F Failure: ApplicationTests::BinSetupTest#test_bin_setup_output [test/application/bin_setup_test.rb:49]: --- expected +++ actual @@ -1,4 +1,5 @@ "== Installing dependencies == +warning: Passing permitted_classes with the 2nd argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, permitted_classes: ...) instead. The Gemfile's dependencies are satisfied == Preparing database == rails test test/application/bin_setup_test.rb:38 ```
-
由 Ronan Limon Duparcmeur 提交于
Fixes #34416
-
由 Maxim Perepelitsa 提交于
Reset Capybara sessions if `take_failed_screenshot` raise exception in system test `after_teardown`.
-
由 Rafael França 提交于
Make `PERMITTED_TYPES` private
-
由 Alberto Almagro 提交于
The constant `PERMITTED_TYPES` is only used by the private method `serialize_argument` and it already has the `# :nodoc:` annotation as the other constants in the class. Complements e899e228
-
- 12 11月, 2018 7 次提交
-
-
由 Ryuta Kamizono 提交于
Remove ensure from with_transaction_returning_status
-
由 bogdanvlviv 提交于
Related to #34052
-
由 Ryuta Kamizono 提交于
Document missing supported types [ci skip]
-
由 Eugene Kenny 提交于
The test added in 12b0b26d passes even without this code since 9b8c7796, as the call to `id` in `remember_transaction_record_state` now triggers a `sync_with_transaction_state` which discards the leftover state from the previous transaction. This issue had already been fixed for `save!`, `destroy` and `touch` in caae79a3, but continued to affect `save` because the call to `rollback_active_record_state!` in that method would increment the transaction level before `add_to_transaction` could clear it, preventing the fix from working correctly. As `rollback_active_record_state!` was removed entirely in 48007d53, this code is no longer needed.
-
由 Alberto Almagro 提交于
This commit adds missing types to the supported types list, which was extended in #30941
-
由 Ryuta Kamizono 提交于
Follow up a741208f. Since a741208f, `Decimal#serialize` which is superclass of `Money` type is no longer no-op, so it consistently serialize/deserialize a value as a decimal even if schema default.
-
由 Ryuta Kamizono 提交于
Related 34cc301f. `QueryAttribute#value_for_database` calls only `type.serialize`, and `Decimal#serialize` is a no-op unlike other attribute types. Whether or not `serialize` will invoke `cast` is undefined in our test cases, but it actually does not work properly unless it does so for now.
-