title: Capybara cannot find fields in feature test
body: <p>can you please help with this problem?</p>
  
  <p>Capybara cannot find the fields for "article[title]" and "article[body]", in the following feature test:</p>
  
  <pre><code>feature "Creating Articles" do
  
  scenario "A user creates a new article" do
      visit '/'
  
      click_link("New Article")
      fill_in "article[title]",     with: "title"
      fill_in "article[body]",      with: "article body"
      click_button "Create Article"
  
      expect(page).to have_content "title"
      expect(page).to have_content "article body"
  
  end
  </code></pre>
  
  <p>Both fields show up in the pages source code as <code>&lt;input class="form-control" type="text" name="article[title]" id="article_title"&gt;</code> and <code>&lt;textarea class="form-control" name="article[body]" id="article_body" cols="60" rows="12"&gt;&lt;/textarea&gt;</code></p>
  
  <p>but RSpec keeps showing this error. </p>
  
  <pre><code>   Capybara::ElementNotFound:
     Unable to find field "article[title]"
  </code></pre>
  
  <p>Thanks for your help!</p>