title: ArgumentError in Orders#new , wrong number of arguments (3 for 2)
body: <p>I am new to rails, and I am following the book pragmatic agile. When I am considering the customer details I am facing this sort of error...</p>
  
  <pre><code>  wrong number of arguments (3 for 2)
  </code></pre>
  
  <p>And my code in views/orders/_form.html.erb</p>
  
  <pre><code>&lt;/div&gt;
  &lt;div class="field"&gt;
     &lt;%= f.label :pay_type %&gt;&lt;br /&gt;
     &lt;%= f.text_field :pay_type, Order::PAYMENT_TYPES,
                               :prompt =&gt; 'select a payment method' %&gt;
  &lt;/div&gt;
  &lt;div class="actions"&gt;
  </code></pre>
  
  <p>And I gave the arguments in app/model/order.rb</p>
  
  <pre><code> class Order &lt; ActiveRecord::Base
      attr_accessible :email, :address, :name, :pay_type
      PAYMENT_TYPES = [ 'Check', 'Credit card', 'Purchase order' ]
  
   end
  </code></pre>
  
  <p>can I get any help!! </p>