Sha256: 4ca864e9a00397715f9beeee68ca2fe68d9aefc37f2c8e6fd20d7891d1407611
Contents?: true
Size: 470 Bytes
Versions: 67
Compression:
Stored size: 470 Bytes
Contents
module RedHillConsulting::Core::ActiveRecord::ConnectionAdapters module SchemaStatements def self.included(base) base.module_eval do alias_method_chain :create_table, :redhillonrails_core end end def create_table_with_redhillonrails_core(name, options = {}) create_table_without_redhillonrails_core(name, options) do |table_defintion| table_defintion.name = name yield table_defintion end end end end
Version data entries
67 entries across 67 versions & 1 rubygems