class SimpleForm::FormBuilder

def find_attribute_column(attribute_name)

Experimental RBS support (using type sampling data from the type_fusion project).

def find_attribute_column: (Symbol attribute_name) -> untyped

This signature was generated using 1 sample from 1 application.

def find_attribute_column(attribute_name)
  if @object.respond_to?(:type_for_attribute) && @object.has_attribute?(attribute_name)
    @object.type_for_attribute(attribute_name.to_s)
  elsif @object.respond_to?(:column_for_attribute) && @object.has_attribute?(attribute_name)
    @object.column_for_attribute(attribute_name)
  end
end