Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / radiant_extensions_plugins / plugins / scenarios / lib / scenarios / extensions / .svn / text-base / active_record.rb.svn-base
blob509abd27f3afb414eef24f467bd07fcc63b2a5ed
1 module ActiveRecord
2   class Base
3     cattr_accessor :table_config
4     include Scenarios::TableBlasting
5     
6     # In order to guarantee that tables are tracked when _create_model_ is
7     # used, and those models cause other models to be created...
8     def create_with_table_blasting
9       prepare_table(self.class.table_name)
10       create_without_table_blasting
11     end
12     alias_method_chain :create, :table_blasting
13   end
14 end