class ActiveInteraction::Extras::ModelFields::Context
Attributes
from_model_name[RW]
model_field_cache[RW]
Public Instance Methods
custom_filter_attribute(name, opts = {})
click to toggle source
# File lib/active_interaction/extras/model_fields.rb, line 28 def custom_filter_attribute(name, opts = {}) from_model_name = self.from_model_name model_field_cache[from_model_name] = model_field_cache[from_model_name] << name __getobj__.send __callee__, name, opts end