Engineering

Our engineering is underpinned by principles that celebrate both the integrity of code and the ambition to innovate. This manifesto champions excellence, advocates for the adoption of cutting-edge technologies, and fosters an environment of continuous intellectual growth.

File attachments

We recommend using CarrierWave until ActiveStorage implements proper validations.

Background

It's always been easy to implement the backend solution around uploading a file then referencing said file in a model. The previous go-to solution was Paperclip. Unfortunately this was discontinued in favor of Rails' own built-in ActiveStorage. **The problem with ActiveStorage** ActiveStorage looks like a good evolution of Paperclip. It even makes it easier to configure the different storage options in 1 file. The biggest downside? It has no built-in validations. An open Rails issue #33741 tackles this by introducing a new gem on top, activestoragevalidations. **Solution** We recommended using CarrierWave until this is sorted out by the Rails core team. You can also contribute in the issue link above.

Next: Design Playbook

Connect.

Mashup Garage, a premier software development team, specialises in crafting exceptional products for startups and enterprises. With expertise in React, Elixir/Phoenix, and Ruby on Rails, we deliver solutions that meet your unique needs. Our mission is to bring value backed by decades of technical expertise and global co-founding experience.

What do you need help with?

Build a project

Build a team

Consult

Speak to someone

Expect a guaranteed response from us in 1-2 business days.

United Kingdom

London

Islington, London

+44 738 777 3405

LDN

Philippines

Manila

3F Topy IV Building, 3 Economia Road, Bagumbayan, Quezon City, 1110

+63 917 3084089

MNL