Class: OTR::ActiveRecord::Shim
- Defined in:
- lib/otr-activerecord/shim/v6.rb,
lib/otr-activerecord/shim/v7.rb,
lib/otr-activerecord/shim/v8.rb
Overview
Compatibility layer for ActiveRecord 8
Instance Method Summary collapse
-
#initialize ⇒ Shim
constructor
A new instance of Shim.
Methods inherited from ShimBase
#force_db_test_env?, #migration_base_class_name, #migrations_path, #migrations_paths
Constructor Details
#initialize ⇒ Shim
Returns a new instance of Shim.
7 8 9 |
# File 'lib/otr-activerecord/shim/v6.rb', line 7 def initialize ::ActiveRecord::Base.default_timezone = :utc end |