How to Bulk Insert Nested Attributes in Rails
When using accepts_nested_attributes_for in Rails, especially for many-to-many relations, you may find that things slow down during large inserts.For example, take the common Author, Post and Tag models:.
How to Bulk Insert Nested Attributes in Rails #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/how-to-bulk-insert-nested-attributes-in-rails