I have a Ruby script that is pulling some data from a mongoDB. However some of the info is repeated in the database with newer dates and would like to pull the lastest infos.
The script is currently pulling the first(oldest) version though.
Need some one to fix. Will provide sample in chat.
Update for clarity:
How its working:
Some one creates a design/order.
They can come back at a later time and repeat the order once or multible times.
However the Ruby script that exports the orders within the X number of days to csv is pulling the original order date and not the repeat orders. Or simply not pulling them at all sometimes.
How it should be working is:
That if some one makes a repeat of there design/order it should show each of the repeats correctly in the CSV.
14 фрилансеров(-а) в среднем готовы выполнить эту работу за $49
Dear sir, I think it's quick job. I can complete this task today, within few hours. I can start work right away. I will be looking forward to hear from you. Thanks,
Hi Sir I read your description carefully. I'm very interested in your project. If you assign to me this project, you can get a cool result. Please contact me. Thanks.
The problem her is that there isn't an implementation of idempotence, so the orders are repeated and are not being process only once, so should be simple to implement idempotence algorithm here.