I can get url in model with this code (Active Storage)
Rails.application.routes.url_helpers.rails_blob_path(picture_of_car, only_path: true)
But
Following the documentation at https://api.rubyonrails.org/classes/ActiveStorage/Variant.html it should be: picture_of_car.variant(resize: [300, 300]).processed.service_url
picture_of_car.variant(resize: [300, 300]).processed.service_url