Sha256: a0fed86e7bb5e5ce819242d992fd7db4a7ba3c86896dec55fff147f991af31f4
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
module WithUuid module Extensions autoload :Migrations, 'with_uuid/extensions/migrations' def self.apply! if defined? ActiveRecord::ConnectionAdapters::Table ActiveRecord::ConnectionAdapters::Table.send :include, WithUuid::Extensions::Migrations end if defined? ActiveRecord::ConnectionAdapters::TableDefinition ActiveRecord::ConnectionAdapters::TableDefinition.send :include, WithUuid::Extensions::Migrations end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
with_uuid-0.3.0 | lib/with_uuid/extensions.rb |
with_uuid-0.2.0 | lib/with_uuid/extensions.rb |
with_uuid-0.1.2 | lib/with_uuid/extensions.rb |