skwp

Rails request log filtering


over 5 years ago by skwp on skwpspace.
Just as I was thinking of writing a plugin to filter sensitive data from request logs, I googled and found that the core guys had snuck something into the...

Encrypted db passwords for Rails with database.yml and erb


over 5 years ago by skwp on skwpspace.
Some people are upset that database.yml can expose passwords in plaintext. However, there is a pretty simple way to get encryption into database.yml. Because...

Consuming document literal SOAP webservices with Ruby and ROXML


over 5 years ago by skwp on skwpspace.
Ruby and Rail's support for consuming doclit webservices is less than stellar. Recently at my job, I had the task of integrating a standalone RoR application...

OS X productivity tip: dock as taskbar


almost 6 years ago by skwp on skwpspace.
After converting to Mac from Linux (aah, how refreshing), I’ve been finding cool new ways to make my life easier. First of all, I’m assuming...

writing meaningful code


almost 6 years ago by skwp on skwpspace.
I work in the travel industry. Those of you who have ever had experience with air travel, you may know that this industry is full of complex business rules...

Rails fragment cache with memcached-client and time-based :expire option


almost 6 years ago by skwp on skwpspace.
The robot-coop’s memcache-client is the recommended memcache library to use for Rails. However, when I tried to use it with the Rails fragment cache...

Creating your own ruby gems


almost 6 years ago by skwp on skwpspace.
It’s very easy to create a gem from your own rails plugin. Thanks to http://blogs.cocoondev.org/crafterm/archives/004653.html for getting me started...

memcached on OSX running fast!


almost 6 years ago by skwp on skwpspace.
Thanks to Topfunky’s post on memcached, my life has been made much simpler! He’s put together a great little script that downloads memcached...

Rails Template Optimizer is here!


almost 6 years ago by skwp on skwpspace.
In case you missed the announcement, Stefan Kaes, rails performance master, has released the Rails Template Optimizer (beta). Measuring just one of my standard...

Humanized test coverage


almost 6 years ago by skwp on skwpspace.
Rails still doesn’t offer a very good test coverage tool. Sure there’s rcov but it’s painfully slow, and I found it to be quite inaccurate...