Sha256: 391ab29eb250ec787710ac19af7a32956d89932550b535c3023eb609ff3e6ec7
Contents?: true
Size: 592 Bytes
Versions: 6
Compression:
Stored size: 592 Bytes
Contents
module SchemaPlusPgIndexes module Middleware module Postgresql module Migration module Index # Deprecate args def before(env) {:conditions => :where, :kind => :using}.each do |deprecated, proper| if env.options[deprecated] ActiveSupport::Deprecation.warn "ActiveRecord index option #{deprecated.inspect} is deprecated, use #{proper.inspect} instead" env.options[proper] = env.options.delete(deprecated) end end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems