--- - branch: MAIN date: Sun Feb 4 15:14:03 UTC 2024 files: - new: '1.2' old: '1.1' path: pkgsrc/databases/ruby-activerecord71/distinfo pathrev: pkgsrc/databases/ruby-activerecord71/distinfo@1.2 type: modified id: 20240204T151403Z.31a315f84864d8ee92dbbd0c0fa6c5e384a698d7 log: "databases/ruby-activerecord71: update to 7.1.3\n\nActive Record (2024-01-16)\n\n* Fix Migrations with versions older than 7.1 validating options given to\n add_reference. \ [Hartley McGuire]\n\n* Ensure reload sets correct owner for each association. \ [Dmytro Savochkin]\n\n* Fix view runtime for controllers with async queries. \ [fatkodima]\n\n* Fix load_async to work with query cache. [fatkodima]\n\n* Fix polymorphic belongs_to to correctly use parent's\n query_constraints. [fatkodima]\n\n* Fix Preloader to not generate a query for already loaded association with\n query_constraints. \ [fatkodima]\n\n* Fix multi-database polymorphic preloading with equivalent table names.\n\n When preloading polymorphic associations, if two models pointed to two\n tables with the same name but located in different databases, the\n preloader would only load one. [Ari Summer]\n\n* Fix encrypted_attribute? to take into account context properties passed to\n encrypts. [Maxime R辿ty]\n\n* Fix find_by to work correctly in presence of composite primary keys.\n [fatkodima]\n\n* Fix async queries sometimes returning a raw result if they hit the query\n cache.\n\n \ ShipPart.async_count could return a raw integer rather than a Promise if\n it found the result in the query cache. [fatkodima]\n\n* Fix Relation#transaction to not apply a default scope.\n\n The method was incorrectly setting a default scope around its block:\n\n\tPost.where(published: true).transaction do\n\t Post.count # SELECT COUNT(*) FROM posts WHERE published = FALSE;\n\tend\n\n [Jean Boussier]\n\n* Fix calling async_pluck on a none relation.\n\n Model.none.async_pluck(:id) was returning a naked value instead of a\n promise. [Jean Boussier]\n\n* Fix calling load_async on a none relation.\n\n Model.none.load_async was returning a broken result. [Lucas Mazza]\n\n* TrilogyAdapter: ignore host if socket parameter is set.\n\n This allows to configure a connection on a UNIX socket via DATABASE_URL:\n\n\tDATABASE_URL=trilogy://does-not-matter/my_db_production?socket=/var/run/mysql.sock\n\n \ [Jean Boussier]\n\n* Fix has_secure_token calls the setter method on initialize. \ [Abeid Ahmed]\n\n* Allow using object_id as a database column name.\n\n It was available before rails 7.1 and may be used as a part of polymorphic\n relationship to object where object can be any other database record.\n [Mikhail Doronin]\n\n* Fix rails db:create:all to not touch databases before they are created.\n [fatkodima]\n" module: pkgsrc subject: 'CVS commit: pkgsrc/databases/ruby-activerecord71' unixtime: '1707059643' user: taca