Module: Stagehand::SchemaExtensions

Defined in:
lib/stagehand/schema_extensions.rb

Instance Method Summary collapse

Instance Method Details

#defineObject



3
4
5
6
# File 'lib/stagehand/schema_extensions.rb', line 3

def define(*)
  # Allow production writes during Schema.define to allow Rails to write to ar_internal_metadata table
  Stagehand::Connection.with_production_writes { super }
end