title: Ordering model records in Rails
body: <p>I am using on console:</p>
  
  <pre><code>User.all(:order =&gt; "created_at ASC")
  </code></pre>
  
  <p>by replacing Client with my Model User
  from <a href="http://guides.rubyonrails.org/v2.3.11/active_record_querying.html" rel="nofollow">Rubyonrails.org</a>, but its giving me this error: </p>
  
  <pre><code>ArgumentError: wrong number of arguments (1 for 0) 
  </code></pre>
  
  <p>What's wrong with it?</p>