title: Do I need a controller for each role in Ruby on Rails 3?
body: <p>My Ruby on Rails 3 application is using Devise and Cancan.</p>
  
  <p>Concerning the roles, I have admins, managers, users and guests. I have some Posts and I use the generated index function to get my Posts list.</p>
  
  <p>How to ensure that admins can index all the posts, managers can index posts in a specific category only and users can index their own posts only?</p>
  
  <p>Cancan is configured and show me an error message when I am trying to do something I am not authorized to. </p>
  
  <p>My question is how about showing, or not showing, records in views, depending the role ?</p>