ActiveStorage

Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1

Extract the sample rate of an audio file with ActiveStorage::AudioAnalyzer which will return the bit rate, duration, and sample rate

Eager loading Active Storage models to avoid N+1 issues

Removing N+1 queries when we access the Active Storage attachments associated with an ActiveRecord model.