Skip to content Skip to sidebar Skip to footer

Updating The Data Records Automatically In Rails

I currently have User model that has the name attribute and am using ajax to grab selected data. JS looks like this: $('#save').click(function(){ var checkedUser = []; $.each($

Solution 1:

1) I would add two attributes, duration and checked_at, or maybe just one like expires_at. This will make #2 easier.

2) You will want to use a worker to schedule a periodic background job, using it to delete any entries that have expired.


Post a Comment for "Updating The Data Records Automatically In Rails"