Method: ActiveModel::AttributeMethods::ClassMethods#eagerly_generate_alias_attribute_methods
- Defined in:
- activemodel/lib/active_model/attribute_methods.rb
#eagerly_generate_alias_attribute_methods(new_name, old_name) ⇒ Object
:nodoc:
211 212 213 214 215 |
# File 'activemodel/lib/active_model/attribute_methods.rb', line 211 def eagerly_generate_alias_attribute_methods(new_name, old_name) # :nodoc: ActiveSupport::CodeGenerator.batch(generated_attribute_methods, __FILE__, __LINE__) do |code_generator| generate_alias_attribute_methods(code_generator, new_name, old_name) end end |