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 with_advisory_lock_result_for_perma_id_generation(&block)
        with_advisory_lock_result("#{table_name}_perma_id",
                                  timeout_seconds: ADVISORY_LOCK_TIMEOUT_SECONDS,
                                  &block)
      end
def with_advisory_lock_result_for_perma_id_generation ( & block ) with_advisory_lock_result ( "#{table_name}_perma_id" , timeout_seconds : ADVISORY_LOCK_TIMEOUT_SECONDS , & block ) end
Recommended way to create revision components.
Recommended way to create revision components .
block