Displaying 1 result from an estimated 1 matches for "find_by_help_top".
Did you mean:
  find_by_help_topic
  
2006 Dec 05
1
Using render inside a FormBuilder (EdgeRails)
...t_name) method shown
above. This is attached to a help table, which looks up topics based on
the string passed in. This works fine.
The help_icon method in TableFormBuilder is this:
  # This creates a link of system help exists, otherwise bypasses
  def help_icon(help_topic)
    help =
SystemHelp.find_by_help_topic(help_topic.to_s.gsub(/_id$/,''''))
    if help
      render :layout => false, :partial => true
    else
      return ''''
    end
  end
That doesn''t work. The error is:
   undefined method `render'' for #<TableFormBuilder:0xb79d9094>...