I finally snapped and no longer wanted to see Google ads while developing my Rails app. This was my solution.
phallstrom — 12 posts
Scratched an itch and released Slackistrano to get Capistrano deployment notifications in our Slack channel.
If you use Pow to manage your Rails apps and you have a lot of apps, you might find this useful. It's a default app that lists/links to your other apps so you don't have to remember their names.
Solving this annoying error once and for all in your Rails applications.
If you like the railsapi.com documentation and are sad you can't get the latest Rails docs from it, I've built them for offline use.
This processor (and patch to Paperclip) sped up thumbnail generation by 8 seconds (originally 12, now 4). RecursiveThumbnail processor.
I recently had a situation in which I wanted to generate thumbnail images and have them constrained to 67x50 (specifically "67x50>"). No problem so far, but I also wanted to auto rotate (via Imagemagick's -auto-orient option) the images as they all come from a digital camera that provides this information. This causes a problem. Namely that some images ended up being 50x67 instead of 67x50. Here is my solution.
Let's say you have a Rails app, and that app has a Photo model, and that photo model has many Destinations, and the destination pages are cached to disk, and when you update a photo you need to expire all of the current destination pages that photo is currently associated with. Here's how.
Hoptoad is a service that allows you to funnel all of your Rails exceptions to a central location so you can splice, dice, and fix them. I’ve noticed however that some web spiders mangle valid URLs into invalid ones and rather than deal with all the possible permutations it would be a lot nicer to simply have Hoptoad ignore them completely.