Skip to content

Instantly share code, notes, and snippets.

@dadair-ca
Created December 17, 2011 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dadair-ca/1491661 to your computer and use it in GitHub Desktop.
Save dadair-ca/1491661 to your computer and use it in GitHub Desktop.
Current User Task
tasks_controller#index
had: @tasks = Task.all
should be: @tasks = current_user.tasks
so when I was displaying @tasks in the view, it had the entire table >.<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment