I’m currently building a Rails 7 app that was started with rails new myapp --css=bootstrap. This means Rails set up my app to use esbuild to compile all my CSS and JavaScript assets. This new --css flag provided by Rails is a...
Hello there! Are you at the point in your Ruby on Rails project where you’d like integer-based slugs like /users/2 to be friendlier and look like /users/matt instead? How about /posts/how-to-make-great-tacos instead of /posts/31? There are...
For some time now, the Ruby on Rails community has anointed Devise as its preferred authentication solution. I’ve repeatedly used Devise, and it’s great. Not all of us have the time or expertise to roll our own auth, so it’s fantastic a...
Yesterday I canceled two @heyhey email accounts. It’s really hard to figure out what the two fellas at the top were thinking by implementing their new company policy on political/social discussions. It’s especially bizarre given the outspoken nature of...
Disclaimer: I’m not being paid or getting any referral kickbacks from DreamHost. This is just an honest review.
COVID has forced us all to make changes in our lives and I’m no exception. For a year I’d planned to start building my video game in September when our daughter...
Web devs are constantly putting up and pulling down their own sites and I’m no different. So here is my latest attempt at organization. I plan to make this site my informal blog where I’ll talk freely about anything. leavingharbor.com will just focus...
This got posted on Hacker News the other day. It’s fantastic. It’s much quicker and cleaner than Bootstrap’s documentation. It’s not going to be as verbose, but if you’ve been using...
Let’s say you’d like to successfully create or update a nested form using fields_for. Our ‘parent’ will be a Post model and our ‘child’ will be a Tag model. It’s not hard, but there’s a bit of a gotcha that I found most other resources out there were leaving...