method

generate_alias_attribute_methods

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveModel::AttributeMethods::ClassMethods
generate_alias_attribute_methods(code_generator, 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 218
      def generate_alias_attribute_methods(code_generator, new_name, old_name)
        attribute_method_patterns.each do |pattern|
          alias_attribute_method_definition(code_generator, pattern, new_name, old_name)
        end
      end
Register or log in to add new notes.