It's your app. You bring the magic. This could be something stupid-simple, like every 5 seconds a Cron job hits `rails runner -e production 'Auction.handle_finished'`.
No matter what it is, you will have written it. There's nothing magical that happens in Rails that knows when a particular time has passed unless you wake it up and ask it (and write something to handle that case). Walter > On Mar 28, 2018, at 2:56 PM, fugee ohu <fugee...@gmail.com> wrote: > > What magic is supposed to handle processing at the time an auction ends? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/9912afef-13c9-403f-b41d-ff8486de2ad8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/91340BD3-D72F-4B9D-A01D-E4149729765E%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.