Guest User

Untitled

a guest
Feb 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. This is a way to use run_later from Merb in a DataMapper model.
  2. It runs the code in the block at some unspecified point in the
  3. future.
  4.  
  5. I don't like that I copied and pasted run_later from Merb, but
  6. run_later was defined at the controller level and this seemed
  7. like a quick and easy way to do it.
Add Comment
Please, Sign In to add comment