@podcast.audio.service_url instead of url_for(@podcast.audio) which will be a direct link to the S3 endpoint. However, if you're using a different storage mechanism like disk in your development environment, it wouldn't work. You may need to have minio or something similar within your development environment.capybara (3.2.1) rails (5.1.6)
company_id from the user model and instead have a company_user model so that you could have a user belong to multiple companies.