Module: NeetoCommonsBackend::Initializers::EnableExtensionHerokuMonkeypatch::InstanceMethods
- Defined in:
- lib/neeto_commons_backend/initializers/_enable_extension_hack.rb
Instance Method Summary collapse
Instance Method Details
#enable_extension(name) ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/neeto_commons_backend/initializers/_enable_extension_hack.rb', line 19 def enable_extension(name) name_override = name if schema_exists?("heroku_ext") Rails.logger.debug "enable_extension -- Adding SCHEMA heroku_ext" name_override = "#{name}\" SCHEMA heroku_ext -- Ignore trailing double quote" end super name_override end |