Created
December 9, 2015 20:58
-
-
Save Frank004/a8f4aeb0d15606059684 to your computer and use it in GitHub Desktop.
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
@users = User.all | |
@user.each do |u| | |
u.name | |
u.tasks do |t| <---------- I like to do check where task start_date is in a range of date | |
t.name | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you