lib/active_scaffold/helpers/form_column_helpers.rb
# This method decides which input to use for the given column.
# It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column.
It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column . It does not do any rendering . It only decides which method is responsible for rendering .
def active_scaffold_file_with_remove_link(column, options, content, remove_file_prefix, controls_class, &block) 
        options = active_scaffold_input_text_options(options.merge(column.options))
        if content
          active_scaffold_file_with_content(column, content, options, remove_file_prefix, controls_class, &block)
        else
          file_field(:record, column.name, options)
        end
      end
def active_scaffold_file_with_remove_link ( column , options , content , remove_file_prefix , controls_class , & block ) options = active_scaffold_input_text_options ( options . merge ( column . options ) ) if content active_scaffold_file_with_content ( column , content , options , remove_file_prefix , controls_class , & block ) else file_field ( :record , column . name , options ) end end
This method decides which input to use for the given column.
This method decides which input to use for the given column .
# rubocop:disable Metrics/ParameterLists
column
<not_specific>
options
<not_specific>
content
<not_specific>
remove_file_prefix
<not_specific>
controls_class
<not_specific>
block
<not_specific>