You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change in the def new @constraints = constraints.to_a.empty? ? [:id] : constraints
to @constraints = constraints.to_a.empty? ? [:id] : [constraints].flatten
the issue is in def update_id_sequence @model_class.sequence_name.nil?
id=1tennant_id=1data=[{id: [tennant_id,id],field1: 'foo',field2: 'bar'}]Model.seed_once([:tennant_id,:id], *data)# depending on how you built your primary composite key you might be able to still useModel.seed_once(:id, *data)
As the title says...
Rails now supports Composite keys,
would be nice to be able to supply an array of items as the key otherwise use :id using the terser-syntax
if this currently happens you will get the follow error
The text was updated successfully, but these errors were encountered: