title: undefined method `pushes_path' for #<#<Class:0x007f85a15c6c90>
body: <p>i'v been trying to resolve this error for the past 5 hours and I'm gonna burn my computer if I can't solve this.</p>
  
  <p>undefined method `pushes_path' for #&lt;#:0x007f859d605250> this is the error code I'm getting but i don't understand why.</p>
  
  <p>this is my index.html.erb file inside of the interaction</p>
  
  <pre><code>&lt;%= simple_form_for @push do |f| %&gt;
  
    &lt;%= f.input :payload, as: :text %&gt;
    &lt;%= f.input :segment, as: :radio_buttons %&gt;
    &lt;%= submit_tag "start the campaign" %&gt;
  
  &lt;% end %&gt;
  </code></pre>
  
  <p>and this is my interaction controller</p>
  
  <pre><code>class InteractionController &lt; ApplicationController
  
  def index
  
      @push =Push.new
  
  end
  
  end
  </code></pre>
  
  <p>Push is my table in the database and i'll get the inputs and write them in the database to use them for later one.</p>
  
  <p>and this is my routes file</p>
  
  <pre><code>  devise_for :partners
    get 'home/index'
    get 'segmentation/index'
    get 'interaction/index'
  
  root to: "home#index"
  </code></pre>
  
  <p>i really don't know why its looking for pushes_path, what am i doing wrong?</p>