- 14 11月, 2018 10 次提交
-
-
由 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.
-
- 11 11月, 2018 3 次提交
-
-
由 Ryuta Kamizono 提交于
This reverts commit ab5d5c95, reversing changes made to ef4f5ef6.
-
由 Guillermo Iguaran 提交于
Prefer assert_not instead of refute [ci skip]
-
由 Alberto Almagro 提交于
As mentioned in the contributing to Ruby on Rails guides, we should prefer `assert_not` instead of `refute`. And the best place to start giving example are our bug report templates.. See: https://github.com/rails/rails/blame/master/guides/source/contributing_to_ruby_on_rails.md#L256
-
- 10 11月, 2018 8 次提交
-
-
由 Robin Dupret 提交于
Fix typo for Action Cable Overview doc [Eileen M. Uchitelle]
-
由 Evgeny Sugakov 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Gannon McGibbon 提交于
Clarify the validation of present associations
-
由 Gannon McGibbon 提交于
Remove `app/assets` and `app/javascript` from `eager_load_paths` and `autoload_paths`.
-
由 Robin Dupret 提交于
Docs: Update Development Dependencies Install
-
- 09 11月, 2018 4 次提交
-
-
由 Ana María Martínez Gómez 提交于
I think that it is not clear what means that _an association is present_. Add that it is checking that the foreign key is not empty and that the referenced object exists to clarify it.
-
由 Viktor Fonic 提交于
* Move all the testing related stuff to the contributing guide and redirect the reader to this guide once the installation process is finished as running tests is the logical next step. * Group documentation instructions by OS, not by gem * It eases the installation process and lessen the need to scroll through the guide * There's still a list of all additional services required for each of the gems above the instructions for each OS. * Also update a bit the instructions * Update some package names * Add `yarn` to the package list for Arch Linux and FreeBSD * Use `dnf` instead of `yum` for Fedora and CentOS * Advise the user to use `brew bundle` on macOS to lessen the maintenance burden for this OS and ease the process for the user. [ci skip]
-
由 yuuji.yaginuma 提交于
Follow up #34131.
-