X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/25bfcc0f6b5344acb4039457f8492df7fbada7fc..5f51982916827b84d73bfa8f3a98a9ee1d48d3ce:/vendor/plugins/engines/lib/engines/active_record_extensions.rb diff --git a/vendor/plugins/engines/lib/engines/active_record_extensions.rb b/vendor/plugins/engines/lib/engines/active_record_extensions.rb deleted file mode 100755 index 3345429..0000000 --- a/vendor/plugins/engines/lib/engines/active_record_extensions.rb +++ /dev/null @@ -1,21 +0,0 @@ -module ::ActiveRecord - class Base - class << self - - # NOTE: Currently the Migrations system will ALWAYS wrap given table names - # in the prefix/suffix, so any table name set via config(:table_name), for instnace - # will always get wrapped in the process of migration. For this reason, whatever - # value you give to the config will be wrapped when set_table_name is used in the - # model. - - def wrapped_table_name(name) - table_name_prefix + name + table_name_suffix - end - end - end -end - -# Set ActiveRecord to ignore the engine_schema_info table by default -unless Rails::VERSION::STRING =~ /^1\.0\./ - ::ActiveRecord::SchemaDumper.ignore_tables << 'engine_schema_info' -end \ No newline at end of file