I recently saw an amazing way to integrate Vue into a Rails project, and I wanted to share it here! It's a super easy method that makes it dead-simple to pass data from Rails views into Vue componnets. Not only that, but it only requires that you have a single pack entrypoint for all of your Vue components!
A few days ago, CamelCamelCamel went offline due to some issues with their database. They lost a few hard drives and needed to recover the data on them. The drives were large and expensive, and the data recovery process was also pricey. To help offset the cost of this, they asked their users to donate. I'm upset about this, and you should be too.
When you have a Ruby on Rails app, you need to run database migrations occasioanlly. One way to do this is to deploy the code to production and run the migration manually. In this post, I'll show you the script I wrote to start up an ECS task that will run the migration for me.
My first few days of work at SalesLoft were pretty nerve-wracking. I wasn't a software developer. Not really anyway. I had written tons of Ruby on Rails code on the side for my personal projects, but the quality of that code didn't really matter. Even if my projects were just barely hanging together with duct tape and shoe-string, no one could tell that from the outside.