Active_storage_validations

If you are using active_storage gem and you want to add simple validations for it, like presence or content_type you need to write a custom validation method.This gems doing it for you. Just use attached: true or content_type: 'image/png' validation.
Active_storage_validations #ruby #rubydeveloper #rubyonrails #active_storage_validations

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles