You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
What magic is supposed to handle processing at the time an auction ends?
Walter Lee Davis
unread,
Mar 28, 2018, 3:01:53 PM3/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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 <fuge...@gmail.com> wrote:
>
> What magic is supposed to handle processing at the time an auction ends?
>