Exception: DatabaseCleaner::Safeguard::Error::RemoteDatabaseUrl

Inherits:
DatabaseCleaner::Safeguard::Error show all
Defined in:
lib/database_cleaner/safeguard.rb

Instance Method Summary collapse

Constructor Details

#initializeRemoteDatabaseUrl

Returns a new instance of RemoteDatabaseUrl.


5
6
7
# File 'lib/database_cleaner/safeguard.rb', line 5

def initialize
  super("ENV['DATABASE_URL'] is set to a remote URL. Please refer to https://github.com/DatabaseCleaner/database_cleaner#safeguards")
end