Andrew Nutter-Upham

Results 21 issues of Andrew Nutter-Upham

Fix deprecation warning about serializer keywords DEPRECATION WARNING: Passing the class as positional argument is deprecated and will be removed in Rails 7.2. Please pass the class as a keyword...

Add allow_retry kwarg to execute This extends the existing class level auto_retry functionality to optionally allow an allow_retry boolean kwarg to allow retry of specific queries. This PR preserves the...

Rails 7.1 use the visitor pattern when building the in clause. See https://github.com/rails/rails/commit/07d2407beef5479751062d97d775edb4e1614684 Both `table_name` and `column_name` were removed in favor of doing o.left in the visitor pattern. This is...

### Overview The rails commit [1] changes how values are returned from insert statements. The worthy goal is to use the RETURNING statement in postgres to set all the database...

Support Rails 7.1 ColumnDefinition validations. Rails commit e6da3ebd6c6 [1] introduces ColumnDefinition validations for the keywords used in database commands. This commit adds the additional keywords supported by this gem. [1]...

Support Rails 7.1's Independent SchemaMigration object. The SchemaMigration object no longer inherits from ActiveRecord::Base. See "Move SchemaMigration to an independent object" https://github.com/rails/rails/commit/436277da88507f9aae0874e62f3e61a8546b9683 Several methods were renamed, and are no longer...

Improve MockLogger - level/limited missing method Rails commit bd19d1baf1 [1] added a check of logger.level which was not supported by the MockLogger. This commit adds a mock level method. And...

Directly related to #2329 and the previous pr #2367 for the `raw_connection` method specifically calling `verify!` should ensure that the @raw_connection is configured and set. This is stacked on top...

Introduce the _connection method, which returns whichever is defined between @unconfigured_connection or @raw_connection. See rails commit: https://github.com/rails/rails/commit/deec3004d8d85443dc4f3f5fd22ab86b10adb58b and issue #2329

The CI suite uses `gvenzl/oracle-free:latest` see commit ceaa818fa911d93f100dc27855c4fefcda9ddb11. This PR updates the RUNNING_TESTS.md "Create by yourself" section to use the same image, and adjusts the spec_config.yaml.template to match. There is...