title: Rails 3 Model.all alternative?
body: <p>I have a number of Model.all queries in collections in my view (using them for drop down lists to populate a form). Some of the lists returned have many records and it's taking a long time to load the edit view as a result. </p>
  
  <p>Is there an alternative to calling .all in the following? </p>
  
  <pre><code>= f.input :descriptivedetail_primarycontenttype, :label =&gt; "Content type", :as =&gt; :select, :collection =&gt; Contenttype.all, :value_method =&gt; :code 
  </code></pre>
  
  <p>I can't use a scope as I get the error </p>
  
  <p><code>undefined method 'first' for :allisbns:Symbol</code> </p>
  
  <p>where :allisbns is  </p>
  
  <p><code>scope :allisbns, Isbn.all</code> </p>
  
  <p>in the model. </p>
  
  <p>Thanks! </p>