I have a web application with users and their documents. Each user can
have many documents:
@documents = Document.find(:all)
I am using the restful_authentication plugin. Here is my question: How
do I get the controller to only show documents that belongs to each
user? Right now it shows all the documents for all the users.
I am using the latest version of Rails.