<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -146,7 +146,7 @@ module Mack
       def text_area(name, *args)
         var = instance_variable_get(&quot;@#{name}&quot;)
         fe = FormElement.new(*args)
-        options = {:name =&gt; name, :id =&gt; name}
+        options = {:name =&gt; name, :id =&gt; name, :cols =&gt; 60, :rows =&gt; 20}
         if var.nil?
           value = fe.options[:value]
           fe.options.delete(:value)</diff>
      <filename>lib/mack/view_helpers/form_helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -199,21 +199,21 @@ describe Mack::ViewHelpers::FormHelpers do
   describe &quot;text_area&quot; do
     
     it &quot;should create a nested text_area for a model&quot; do
-      text_area(:cop, :full_name).should == %{&lt;textarea id=&quot;cop_full_name&quot; name=&quot;cop[full_name]&quot;&gt;ness&lt;/textarea&gt;}
+      text_area(:cop, :full_name).should == %{&lt;textarea cols=&quot;60&quot; id=&quot;cop_full_name&quot; name=&quot;cop[full_name]&quot; rows=&quot;20&quot;&gt;ness&lt;/textarea&gt;}
     end
     
     it &quot;should create a non-nested text_area for a simple object&quot; do
-      text_area(:simple).should == %{&lt;textarea id=&quot;simple&quot; name=&quot;simple&quot;&gt;hi&lt;/textarea&gt;}
+      text_area(:simple).should == %{&lt;textarea cols=&quot;60&quot; id=&quot;simple&quot; name=&quot;simple&quot; rows=&quot;20&quot;&gt;hi&lt;/textarea&gt;}
     end
     
     it &quot;should create a non-nested text_area for just a symbol&quot; do
-      text_area(:unknown).should == %{&lt;textarea id=&quot;unknown&quot; name=&quot;unknown&quot;&gt;&lt;/textarea&gt;}
-      text_area(:unknown, :value =&gt; &quot;hi there&quot;).should == %{&lt;textarea id=&quot;unknown&quot; name=&quot;unknown&quot;&gt;hi there&lt;/textarea&gt;}
+      text_area(:unknown).should == %{&lt;textarea cols=&quot;60&quot; id=&quot;unknown&quot; name=&quot;unknown&quot; rows=&quot;20&quot;&gt;&lt;/textarea&gt;}
+      text_area(:unknown, :value =&gt; &quot;hi there&quot;).should == %{&lt;textarea cols=&quot;60&quot; id=&quot;unknown&quot; name=&quot;unknown&quot; rows=&quot;20&quot;&gt;hi there&lt;/textarea&gt;}
     end
 
     it &quot;should create a nested text_area for a model with an empty value if value is false&quot; do
       @cop.full_name = nil
-      text_area(:cop, :full_name).should == %{&lt;textarea id=&quot;cop_full_name&quot; name=&quot;cop[full_name]&quot;&gt;&lt;/textarea&gt;}
+      text_area(:cop, :full_name).should == %{&lt;textarea cols=&quot;60&quot; id=&quot;cop_full_name&quot; name=&quot;cop[full_name]&quot; rows=&quot;20&quot;&gt;&lt;/textarea&gt;}
     end
     
   end</diff>
      <filename>test/unit/view_helpers/form_helpers_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f0d18532946d7f9d0d4106245d3836eb1ff81c3f</id>
    </parent>
  </parents>
  <author>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </author>
  <url>http://github.com/markbates/mack/commit/b9bda035ceb0ea653f83523e4660f4e45b5b2070</url>
  <id>b9bda035ceb0ea653f83523e4660f4e45b5b2070</id>
  <committed-date>2008-08-15T08:33:51-07:00</committed-date>
  <authored-date>2008-08-15T08:32:59-07:00</authored-date>
  <message>Added cols and rows defaults to the text_area form helper. [#19]</message>
  <tree>41981b3244bb451a6f2ef8d4e6efca1e5dd79977</tree>
  <committer>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </committer>
</commit>
