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
Rails inline routes
This is just a note for me. https://www.akshaykhot.com/rails-inline-routes/
SacMusic templates are finally linted
I'm sick and slept for a lot of the day, but during my waking hours I wanted some low stress coding. For me, that usually means doing anything but features. Today, I got my ERB templates linted using Shopify's ERB Lint package. It's amazing how much time you can spend coding without delivering anything meaningful … Continue reading SacMusic templates are finally linted
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
SacMusic number of active tests: 6
I finally have some tests on SacMusic. Like RuboCop, it's running as a pre-commit hook instead of in CI. But I don't want to invest too much additional time into my Jenkinsfile: I'd like to try replacing Jenkins with Drone later this year to see how that goes. Getting up and running with RSpec feels … Continue reading SacMusic number of active tests: 6
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
SacMusic 5.0 launches tomorrow
I'm sitting here tonight working through some launch prep for tomorrow. As I work through my list, I appreciate that this is the first version of SacMusic that lives up to my original vision for the architecture. It is a custom app that is not backed by WordPress and doesn't use the Django Admin for … Continue reading SacMusic 5.0 launches tomorrow
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