method

deprecate

deprecate(old, current)
public

No documentation available.

# File railties/lib/rails/deprecation.rb, line 5
    def self.deprecate(old, current)
      # double assignment is used to avoid "assigned but unused variable" warning
      constant = constant = new(old, current)
      eval "::#{old} = constant"
    end