<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,15 +23,15 @@ module Mack
         # 
         # Examples:
         #   Mack::Generator::ColumnObject.new(&quot;user&quot;, &quot;username:string&quot;).form_field 
-        #     =&gt; &quot;&lt;%= model_text_field(@user, :username) %&gt;&quot;
+        #     =&gt; &quot;&lt;%= :user.text_field :username %&gt;&quot;
         #   Mack::Generator::ColumnObject.new(&quot;Post&quot;, &quot;body:text&quot;).form_field
-        #     =&gt; &quot;&lt;%= model_textarea(@user, :username) %&gt;&quot;
+        #     =&gt; &quot;&lt;%= :post.text_area :body %&gt;&quot;
         def form_field
           case self.column_type
           when &quot;text&quot;
-            %{&lt;%= model_textarea(@#{self.model_name}, :#{self.column_name}) %&gt;}
+            %{&lt;%= :#{self.model_name}.text_area :#{self.column_name} %&gt;}
           else
-            %{&lt;%= model_text_field(@#{self.model_name}, :#{self.column_name}) %&gt;}
+            %{&lt;%= :#{self.model_name}.text_field :#{self.column_name} %&gt;}
           end
         end
       </diff>
      <filename>mack-orm/lib/mack-orm/model_column.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,26 +2,25 @@ module Mack
   module ViewHelpers # :nodoc:
     module OrmHelpers
       
-      # Generates a text input tag for a given model and field
-      # 
-      # Example:
-      # model_text_field(@user, :username) # =&gt; &lt;input id=&quot;user_username&quot; name=&quot;user[username]&quot; type=&quot;text&quot; value=&quot;&lt;@user.username's value&gt;&quot; /&gt;
-      def model_text_field(model, property, options = {})
+      # DEPRECATED: Use Mack::ViewHelpers::FormHelpers text_field instead.
+      def model_text_field(model, property, options = {}) # :nodoc:
+        deprecate_method(:model_text_field, :text_field, '0.7.0')
         m_name = model.class.to_s.underscore
-        non_content_tag(:input, {:type =&gt; :text, :name =&gt; &quot;#{m_name}[#{property}]&quot;, :id =&gt; &quot;#{m_name}_#{property}&quot;, :value =&gt; model.send(property)}.merge(options))
+        text_field(model.class.to_s.underscore, property, options)
       end
       
-      # Generates a password input tag for a given model and field
-      # 
-      # Example:
-      # model_password_field(@user, :password) # =&gt; &lt;input id=&quot;user_username&quot; name=&quot;user[username]&quot; type=&quot;password&quot; value=&quot;&lt;@user.username's value&gt;&quot; /&gt;
-      def model_password_field(model, property, options = {})
-        model_text_field(model, property, {:type =&gt; :password}.merge(options))
+      # DEPRECATED: Use Mack::ViewHelpers::FormHelpers password_field instead.
+      def model_password_field(model, property, options = {}) # :nodoc:
+        deprecate_method(:model_password_field, :password_field, '0.7.0')
+        m_name = model.class.to_s.underscore
+        password_field(model.class.to_s.underscore, property, options)
       end
       
-      def model_textarea(model, property, options = {})
+      # DEPRECATED: Use Mack::ViewHelpers::FormHelpers text_area instead.
+      def model_textarea(model, property, options = {}) # :nodoc:
+        deprecate_method(:model_textarea, :text_area, '0.7.0')
         m_name = model.class.to_s.underscore
-        content_tag(:textarea, {:name =&gt; &quot;#{m_name}[#{property}]&quot;, :id =&gt; &quot;#{m_name}_#{property}&quot;, :cols =&gt; 60, :rows =&gt; 20}.merge(options), model.send(property))
+        text_area(model.class.to_s.underscore, property, options)
       end
       
     end # OrmHelpers</diff>
      <filename>mack-orm/lib/mack-orm/orm_helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4a3fe55fa83a1c70c93e591063fe9569b4e48b7</id>
    </parent>
  </parents>
  <author>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </author>
  <url>http://github.com/markbates/mack-more/commit/27c345da851775cf2443b5813890c4ae0bf64809</url>
  <id>27c345da851775cf2443b5813890c4ae0bf64809</id>
  <committed-date>2008-08-15T08:23:26-07:00</committed-date>
  <authored-date>2008-08-15T08:23:26-07:00</authored-date>
  <message>Deprecated the model_text_field, model_password_field, and model_textarea methods. [#19]</message>
  <tree>287b5127c560fbdb91bd13e4a0f15641af149faa</tree>
  <committer>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </committer>
</commit>
