Guest User

Untitled

a guest
May 28th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. @tasks = Task.order(start_at: :desc)
  2. @tasks.each do |task|
  3. ...
  4.  
  5. @tasks = Task.order('start_at DESC')
  6. @tasks.each do |task|
  7. ...
Add Comment
Please, Sign In to add comment