Sha256: c90b48ba3d8c5025fe530360993b7f0a2e38ed0034905ed6a8059d0ee30c01c5

Contents?: true

Size: 490 Bytes

Versions: 26

Compression:

Stored size: 490 Bytes

Contents

require 'active_record/connection_adapters/abstract_mysql_adapter'

module Ridgepole
  module Ext
    module AbstractMysqlAdapter
      module DisableTableOptions
        def table_options(table_name)
          options = super
          options.delete(:options)
          options
        end
      end
    end
  end
end

module ActiveRecord
  module ConnectionAdapters
    class AbstractMysqlAdapter
      prepend Ridgepole::Ext::AbstractMysqlAdapter::DisableTableOptions
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ridgepole-0.6.6 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta18 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta17 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta16 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta15 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta14 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta13 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta12 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta11 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta10 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta9 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta8 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta7 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta6 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta5 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta4 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta3 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta2 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.beta lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb
ridgepole-0.7.0.alpha3 lib/ridgepole/ext/abstract_mysql_adapter/disable_table_options.rb