Created
December 17, 2011 22:42
-
-
Save dadair-ca/1491661 to your computer and use it in GitHub Desktop.
Current User Task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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