Sha256: 1d46d2bca177f906c299d7880c61a3b2a0f8adace55578c8f8bdd788ab2388ed
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 Bytes
Contents
module ActiveRecord class Base cattr_accessor :table_config include Scenarios::TableBlasting # In order to guarantee that tables are tracked when _create_model_ is # used, and those models cause other models to be created... def create_with_table_blasting prepare_table(self.class.table_name) create_without_table_blasting end alias_method_chain :create, :table_blasting end end
Version data entries
6 entries across 6 versions & 1 rubygems