Module: ActiveUUID::Patches
- Defined in:
- lib/activeuuid/patches.rb
Defined Under Namespace
Modules: Column, Migrations, PostgreSQLColumn, PostgreSQLQuoting, Quoting
Class Method Summary collapse
Class Method Details
.apply! ⇒ Object
111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/activeuuid/patches.rb', line 111 def self.apply! ActiveRecord::ConnectionAdapters::Table.send :include, Migrations if defined? ActiveRecord::ConnectionAdapters::Table ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Migrations if defined? ActiveRecord::ConnectionAdapters::TableDefinition ActiveRecord::ConnectionAdapters::Column.send :include, Column ActiveRecord::ConnectionAdapters::PostgreSQLColumn.send :include, PostgreSQLColumn if defined? ActiveRecord::ConnectionAdapters::PostgreSQLColumn ActiveRecord::ConnectionAdapters::Mysql2Adapter.send :include, Quoting if defined? ActiveRecord::ConnectionAdapters::Mysql2Adapter ActiveRecord::ConnectionAdapters::SQLite3Adapter.send :include, Quoting if defined? ActiveRecord::ConnectionAdapters::SQLite3Adapter ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send :include, PostgreSQLQuoting if defined? ActiveRecord::ConnectionAdapters::PostgreSQLAdapter end |