Skip to content

Instantly share code, notes, and snippets.

@jancel
Created February 18, 2012 18:04
Show Gist options
  • Select an option

  • Save jancel/1860426 to your computer and use it in GitHub Desktop.

Select an option

Save jancel/1860426 to your computer and use it in GitHub Desktop.

Revisions

  1. jancel created this gist Feb 18, 2012.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    def build_table
    build_table_head
    build_table_body unless @collection.blank?
    end


    versus

    def build_table
    build_table_head
    build_table_body
    end