I see this issue with the .each
method come up a lot so I thought we could take a closer look.
Setup:
config/storage.yml
One of my Rails projects uses Sidekiq to upload XLSX files to Amazon S3 and later process those files. In order to tell the user when the job was done, I used gem sidekiq-status
to track the progress of the background job and display updates using a progress bar.
My React Redux project is a venue seat manager that allows a user (for example, a box-office attendant) to select an event, view the event’s available seats, and assign seats to an attendee.
My Rails project was a concert management app where concerts have many attendees and attendees have many concerts. I added JavaScript to create dynamic features including indexing concerts, showing a concert, and creating a concert, that can all be done without refreshing the browser.