Proposed page meta approach for SacMusic

A week ago, the question of how to spin up Open Graph images for static pages in SacMusic sent me into a deep dive rethinking how all web application frameworks with a front-end component work. I have an idea for a JS framework to flush these ideas out so that I can share them. But … Continue reading Proposed page meta approach for SacMusic

Image uploads are basically working in SacMusic

My opinion of Rails' Active Storage did an immediate 180 from "this is amazing" to "this is trash." Now that I've solved my uploads problem, I still don't love it but I think it might mostly be a a documentation issue. The documentation--including the API docs--didn't include anything on the attachment_reflections or attachment_changes methods. These … Continue reading Image uploads are basically working in SacMusic

Rails is not the way

I'm deep enough into my Rails version of SacMusic to have some pretty strong opinions about Rails. Here's my strongest: Rails tends to work at the wrong level of abstraction. It has too many opinions and does too much, which means you'll constantly be fighting the framework, causing you to monkey-patch, write some hacky code, … Continue reading Rails is not the way

Steaming pile of crap: SacMusic’s code quality & RuboCop

I spent some time this evening trying to improve the general code quality of SacMusic. What a piece of crap. It's clear that I was moving fast when building it and didn't know the language or tooling at all. Up until recently I wasn't concerned about this, but I recently decided that SacMusic will be … Continue reading Steaming pile of crap: SacMusic’s code quality & RuboCop

Fairly confident that the Rails SacMusic is its final form

Why did Dragon Ball Z villains always seem to change forms? Vegeta into the ape. Freeza into his four forms. Cell into his weird handful of forms. I didn't stick around for the Buu Saga, but there seemed to be multiple forms of that strange creature as well. Much like Dragon Ball Z's villains, SacMusic … Continue reading Fairly confident that the Rails SacMusic is its final form

Rails: Early wins, then fighting the tool

When I started building the new SacMusic.com with Ruby on Rails, I was shocked how fast my CRUD came together. Even better, Ruby containers are easy to set up. For many of my would-be Laravel side projects, I get as far as setting up the containers and creating the database schema before I give up. … Continue reading Rails: Early wins, then fighting the tool