title: Rails return number of users
body: <p>I'm learning rails and I'm just trying to get the basics down.</p>
  
  <p>I just installed devise and created a home controller.  If I want to get the number of users (just return the number of records in the db), what should I do from the home controller?  It should interact with a model, right?  Can the <code>home</code> controller interact with the <code>users</code> model and the <code>home</code> model? Or is that bad practice?</p>
  
  <p>I know I could do a simple google search for this, but I have a lot of questions and Stackoverflow is legit. :)</p>
  
  <p>Take it a step further?</p>
  
  <p>How would I get a 'live feed' so that the count changes on the home page when a record is added?</p>