Method: Sequel::QueryBlocker#allow_queries

Defined in:
lib/sequel/extensions/query_blocker.rb

#allow_queries(opts = OPTS, &block) ⇒ Object

Allow queries inside the block. Only useful if they are already blocked for the same scope. Useful for blocking queries generally, and only allowing them in specific places. Takes the same :scope option as #block_queries.

[View source]

105
106
107
# File 'lib/sequel/extensions/query_blocker.rb', line 105

def allow_queries(opts=OPTS, &block)
  _allow_or_block_queries(false, opts, &block)
end