<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,8 +10,10 @@ module SMSFuHelper
   # - name =&gt; name of the method in which you want to store the carrier name
   # - phrase =&gt; default selected blank option in select box 
   # - selected =&gt; carrier to pre-select
-  def carrier_select(name = :mobile_carrier, phrase = &quot;Select a Carrier&quot;, selected = nil)
-    select_tag name, options_for_select([phrase,nil]+carrier_collection, selected || phrase)
+  # - include_blank =&gt; Do you want the blank option tag (in ADDITION to the value-less 'phrase' option above)?
+  def carrier_select(name = :mobile_carrier, phrase = &quot;Select a Carrier&quot;, selected = nil, include_blank = true)
+    options = phrase.nil? ? carrier_collection : include_blank ? [phrase,nil] + carrier_collection : [phrase] + carrier_collection
+    select_tag name, options_for_select(options, selected || phrase)
   end
 
 end</diff>
      <filename>lib/sms_fu_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f77d6d076da2785da5c06e569c9891ba4b198c48</id>
    </parent>
  </parents>
  <author>
    <name>pboling</name>
    <email>peter.boling@peterboling.com</email>
  </author>
  <url>http://github.com/brendanlim/sms-fu/commit/f93349785ebcc991bec1b463712d7cfef04fb91b</url>
  <id>f93349785ebcc991bec1b463712d7cfef04fb91b</id>
  <committed-date>2009-10-23T00:00:06-07:00</committed-date>
  <authored-date>2009-10-23T00:00:06-07:00</authored-date>
  <message>default phrase should not force a blank option tag, now it is optional</message>
  <tree>bc6b56f2343577d1da448b6642c80e233a6250c7</tree>
  <committer>
    <name>pboling</name>
    <email>peter.boling@peterboling.com</email>
  </committer>
</commit>
