Class: ActiveSanitization::TempDatabaseConnection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ActiveSanitization::TempDatabaseConnection
- Defined in:
- lib/active_sanitization.rb
Overview
Need to create a second ActiveRecord::Base.connection so we can connect to the primary and copy DB.
Class Method Summary collapse
Class Method Details
.abstract_class? ⇒ Boolean
36 37 38 |
# File 'lib/active_sanitization.rb', line 36 def self.abstract_class? true # So it gets its own connection end |