Module: SchemaPlus
- Defined in:
- lib/schema_plus.rb,
lib/schema_plus/version.rb
Defined Under Namespace
Classes: DeprecatedConfig
Constant Summary collapse
- VERSION =
"2.0.1"
Class Method Summary collapse
-
.setup {|DeprecatedConfig.new| ... } ⇒ Object
:yields: config.
Class Method Details
.setup {|DeprecatedConfig.new| ... } ⇒ Object
:yields: config
21 22 23 24 |
# File 'lib/schema_plus.rb', line 21 def self.setup # :yields: config ActiveSupport::Deprecation.warn "SchemaPlus.setup is deprecated. Use SchemaPlus::ForeignKeys.setup instead" yield DeprecatedConfig.new end |