title: After adding aasm gem, application gives me error: wrong number of arguments (given 1, expected 0)
body: <p>My model:</p>
  
  <pre><code>class Lead &lt; ApplicationRecord
  
    include AASM
  
    aasm column: 'status' do
       state :new, initial: true
       state :valid
  
       event :submit do 
         transitions from: :new, to: :valid
       end 
       ...
    end
    ...
  
  end
  </code></pre>
  
  <p>And the Controller:</p>
  
  <pre><code>class LeadsController &lt; ApplicationController
    ...
  
    def create
    @lead = @leads.new lead_params 
    if @lead.save  
      flash[:success] = "Lead saved successfully"
      render 'show'
    end
  
    ...
  end
  </code></pre>
  
  <p>When trying to create a new lead, it gives me error <code>wrong number of arguments (given 1, expected 0)</code>. All this happened after I added <code>aasm</code> gem. What could be the reason?</p>