-
Support
RETURNING
clause for MariaDBfatkodima, Nikolay Kondratyev
-
The SQLite3 adapter now implements the
supports_deferrable_constraints?
contractAllows foreign keys to be deferred by adding the
:deferrable
key to theforeign_key
options.add_reference :person, :alias, foreign_key: { deferrable: :deferred } add_reference :alias, :person, foreign_key: { deferrable: :deferred }
Stephen Margheim
-
Add
set_constraints
helper for PostgreSQLPost.create!(user_id: -1) # => ActiveRecord::InvalidForeignKey Post.transaction do Post.connection.set_constraints(:deferred) p = Post.create!(user_id: -1) u = User.create! p.user = u p.save! end
Cody Cutrer
-
Include
ActiveModel::API
inActiveRecord::Base
Sean Doyle
-
Ensure
#signed_id
outputsurl_safe
strings.Jason Meller
Please check 7-1-stable for previous changes.