![]() ![]() Restore connection pools after transactional tests.Ĭhange upsert_all to fails cleanly for MySQL whenįix user-defined fault_scope to respect table Schema cache loader and YAMLColumn now uses To preserve compatibility Active Record's Starting in Psych 4.0.0 YAML.load behaves like Them, otherwise it breaks various DB management tasks.įix duplicate objects stored in has many association afterįix retrieving default value for text column for MariaDB.ĭo not try to rollback transactions that failed due to a Since the model always create the timestamp columns, it has to set Ignore persisted in-memory records when merging target lists.įix regression bug that caused ignoring additional conditions forįix ActiveRecord::InternalMetadata to not be brokenīy config.active_record.record_timestamps = false Might or might not be able to handle it, but will either succeed or The query is now properly passed to the database connection, which Would cause all adapters to fail in a non controlled way in the code Version 6.0 were creating columns as bigint instead of integer for theīetter handle SQL queries with invalid encoding. References/belongs_to column as integer when migration version is Unfrozen string into a tainted, frozen string.įix migration compatibility to create SQLite Method, which internally calls the method, couldĪlso modify an input string argument in Ruby 2.6 - changing a tainted, In Ruby 2.6, the receiver of method is modified under certain circumstances. Ruby 2.6 and 2.7 have slightly different implementations of method. Symbol and Time in serialized data, you can add Symbol and Time to theĪllowed list as follows: config.active_record.yaml_column_permitted_classes = ĪctiveRecord::ConnectionAdapters::SchemaCache#deep_deduplicate This option allows you to specify classesĭeemed "safe" in your application. ![]() The "safe YAML" loading method does not allow all classes to beĭeserialized by default. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |