Sha256: 5229052f4ece66ee4d315cc13d49ec55769260ce9fc8504ac432e61ec15e290a
Contents?: true
Size: 1.21 KB
Versions: 85
Compression:
Stored size: 1.21 KB
Contents
= New Features * Model#qualified_pk_hash has been added, which is similar to Model#pk_hash, but uses qualified keys. * Dataset#distinct now accepts a virtual row block. * Database#drop_table with :foreign=>true option now drops foreign tables on PostgreSQL. Database#create_table with :foreign option is now reversible on PostgreSQL. = Other Improvements * Sequel::Model.cache_associations = false now skips the database's schema cache when loading the schema for a model. This fixes some issues in environments that use code reloading. * Database#create_table? and #create_join_table? no longer use IF NOT EXISTS if indexes are being created. * Model.primary_key_hash and .qualified_primary_key_hash have been optimized. * validates_unique in the validation_helpers plugin now uses a qualified primary key if the model's dataset is joined. This fixes a case when the auto_validations and class_table_inheritance plugins are used together. * Disconnect errors are now recognized in the postgres adapter when SSL is used for connecting. * Empty string default values are no longer converted to nil default values on MySQL. * Database#foreign_key_list now works correctly on Microsoft SQL Server 2005.
Version data entries
85 entries across 79 versions & 2 rubygems