lib/on_form/attributes.rb
# the individual attribute methods are introduced by the expose_attribute class method.
# here we introduce some methods used for the attribute set as a whole.
the individual attribute methods are introduced by the expose_attribute class method.
here we introduce some methods used for the attribute set as a whole.
the individual attribute methods are introduced by the expose_attribute class method . here we introduce some methods used for the attribute set as a whole .
def backing_for_attribute(exposed_name)
      self.class.exposed_attributes.each do |backing_model_name, attribute_mappings|
        if backing_name = attribute_mappings[exposed_name.to_sym]
          return [backing_model_instance(backing_model_name), backing_name]
        end
      end
      nil
    end
def backing_for_attribute ( exposed_name ) self . class . exposed_attributes . each do | backing_model_name , attribute_mappings | if backing_name = attribute_mappings [ exposed_name . to_sym ] return [ backing_model_instance ( backing_model_name ) , backing_name ] end end nil end
the individual attribute methods are introduced by the expose_attribute class method.
the individual attribute methods are introduced by the expose_attribute class method .
exposed_name
<not_specific>