lib/scaffolding_extensions/prototype_helper.rb
# Prototype wants the auto_complete result as an unordered list.
Prototype wants the auto_complete result as an unordered list.
Prototype wants the auto_complete result as an unordered list .
def scaffold_auto_complete_result(entries)
        return unless entries
        content = '<ul>'
        entries.collect{|entry| content << "<li>#{h(entry.scaffold_name_with_id)}</li>"}
        content << '</ul>'
        scaffold_raw content
      end
def scaffold_auto_complete_result ( entries ) return unless entries content = '<ul>' entries . collect { | entry | content << "<li>#{h(entry.scaffold_name_with_id)}</li>" } content << '</ul>' scaffold_raw content end
Prototype wants the auto_complete result as an unordered list.
Prototype wants the auto_complete result as an unordered list .
entries
<not_specific>