Exception: DatabaseCleaner::Safeguard::Error::RemoteDatabaseUrl
- Inherits:
-
DatabaseCleaner::Safeguard::Error
- Object
- Exception
- DatabaseCleaner::Safeguard::Error
- DatabaseCleaner::Safeguard::Error::RemoteDatabaseUrl
- Defined in:
- lib/database_cleaner/safeguard.rb
Instance Method Summary collapse
-
#initialize ⇒ RemoteDatabaseUrl
constructor
A new instance of RemoteDatabaseUrl.
Constructor Details
#initialize ⇒ RemoteDatabaseUrl
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 |