In this episode, we will upload a CSV file but need to pass it into a background job. This can prove to be difficult based on the hosting infrastructure so we'll explore some mechanisms to work around them. We'll also look to optimize Solid Queue to handle the large number of jobs.
rails
solid queue
background processing
active storage
20:55
# Terminal
rails active_storage:install
rails g scaffold countries name flag:attachment
rails g controller countries/imports
rails g job countries/import
rails g job Countries::CreateRecord
bundle add solid_queue
rails g solid_queue:install
bundle exec rake solid_queue:start # should be added to the Procfile.dev