Rails 7 introduces partial_inserts config for ActiveRecord

Rails 7 adds the partial_inserts config to config.active_record that is used to control partial writes when creating a new record. config.active_record.partial_inserts is a boolean value and controls whether or not partial writes are used when creating new records (i.e. whether inserts only set attributes that are different from the default). Configuring config.active_record.partial_inserts In a newly created Rails 7.0 application, config.load_defaults 7.0 is set by default in application.rb. The default value of partial_inserts for config.load_defaults 7.0 is false and for

Solr configuration for CircleCI build

Recently, in one of our in-house app, we faced issues with RSolr that failed all our builds in CircleCI. We faced following RSolr specific errors in our CircleCI builds for the repo. RSolr::Error::Http: RSolr::Error::Http - 500 Internal Server Error Error: Severe errors in solr configuration. Check your solr log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change it to following configuration instead of null <abortOnConfigurationError>false</abortOnConfigurationError> After troubleshooting and debugging, we noticed that our repo in git just had