Sharing Rake Tasks Defined in a Gem
This tip describes how to write a rake task in a gem, then use it in another Ruby gem or Rails app.
Software Engineer, Author, Consultant
This tip describes how to write a rake task in a gem, then use it in another Ruby gem or Rails app.
A nice usage of Ruby blocks in application code is to externalize some repeated code.
This is my recommend list of Ruby gems for Rails apps.
I spent some time learning the Go programming language by working through some tutorials and building a small app. The book An Introduction To Programming in Go has 14 chapters and covers data structures, HTTP, command line apps, concurrency, and...
We are using delayed_job for background jobs and didn’t see a built-in option to send email notifications when a job failed. Since we were already using exception_notification to email application exceptions, we thought it would be nice to integrate that....
A Ruby gem called safe provides a DSL for generating the commands to perform the backup. We used this fork which fixed some AWS issues.
I do software development on my Mac, mostly web application development with Ruby on Rails. Code is stored on either GitHub or BitBucket.
The book The Startup Owner’s Manual [^book] has a lot of practical tips to increase the chances of success at your startup. Here are some notes from Chapters 4 and 5 from the book.
For a new project I’ll be using PostgreSQL. I have more experience with MySQL so I wanted to quickly learn PostgreSQL and port over some of my skills.
These are some useful Vim plugins I’ve tried out and recommend.