title: Undefined method 'unshift'
body: <p>I'm creating a new Rails app with Rails 6 and I want to do something like this:</p>
  <pre><code>@items = Item.all.unshift Item.new(id: 0, name: '-- Kein Item --')
  </code></pre>
  <p>But I get the error &quot;undefined method `unshift' for #&lt;ActiveRecord::Relation [#&lt;Item id: 1, name: &quot;Item 1&quot;, created_at: &quot;2021-03-13 11:09:34.284978000 +0000&quot;, updated_at: &quot;2021-03-13 11:09:34.284978000 +0000&quot;&gt;]&gt;&quot;</p>
  <p>In another Rails app I can do it, but that app is running under Rails 4.</p>
  <p>I want to add this &quot;empty&quot; record so that model project hast not everytime an item and because I have somewhere Project.item.name it won't give an nil error.</p>
  <p>Any suggestions?</p>