Flowdock
method

generated_external_attribute_methods

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::ClassMethods
generated_external_attribute_methods() public

We will define the methods as instance methods, but will call them as singleton methods. This allows us to use method_defined? to check if the method exists, which is fast and won’t give any false positives from the ancestors (because there are no ancestors).

Show source
Register or log in to add new notes.