lib/pageflow/revision_component.rb
# Recommended way to create revision components. Uses an
# advisory lock to ensure concurrently created records are not
# assigned the same perma id.
Recommended way to create revision components. Uses an
advisory lock to ensure concurrently created records are not
assigned the same perma id.
Recommended way to create revision components . Uses an advisory lock to ensure concurrently created records are not assigned the same perma id .
def create_with_lock!(attributes, &block)
        with_advisory_lock_for_perma_id_generation! do
          create!(attributes, &block)
        end
      end
def create_with_lock! ( attributes , & block ) with_advisory_lock_for_perma_id_generation! do create! ( attributes , & block ) end end
Recommended way to create revision components.
Recommended way to create revision components .
attributes
block