Flowdock
alias_attribute(new_name, old_name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute_methods.rb, line 227
      def alias_attribute(new_name, old_name)
        attribute_method_matchers.each do |matcher|
          module_eval "def \#{matcher.method_name(new_name)}(*args)\nsend(:\#{matcher.method_name(old_name)}, *args)\nend\n", __FILE__, __LINE__ + 1
        end
      end
Register or log in to add new notes.