Cardboard Rocket

To the moon!

Net::HTTP: Ignoring SSL errors on self signed certificates


almost 4 years ago by cardboardrocket alex on Cardboard Rocket.
require 'net/https' http = Net::HTTP.new('yourhost.com', '443') http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE http.get('/path').body...

The action_mailer_layouts plugin


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
I've put together a plugin that makes it easy to use layouts in your ActionMailer templates. I found myself writing very un-DRY (wet?) email templates...

A fresh start


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
I’ve moved to SimpleLog on a Rimuhosting VPS. No more WordPress. No more Dreamhost. I’ve decided not to bring old blog posts over in the...

Sandbox, won’t you be nice?


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
Oh Sandbox, why do you terminate when I call FileUtils#mkdir_p? I know that the directory already exists, damn you. What have I done to you that you must...

Paginating Find: Now 64% Sexier


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
Using previous revisions of my paginating_find plugin left my code looking decidedly frumpy. In today’s release, I’ve sexed things up...

Replacing the Rails Paginator


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
Kevin Clark over at Gluttonous is luke warm on using the built-in Rails pagination helpers. Even if you’re not hip to what Kevin’s...

Paginating Find Plugin Updated


over 5 years ago by cardboardrocket alex on Cardboard Rocket.
Given the recent brouhaha over at Gluttonous, I decided to remove the Rails Paginator from my paginating_find plugin. Besides, it’s part of ActionPack...

A more scalable ActiveRecord::Base#find


~6 years ago by cardboardrocket alex on Cardboard Rocket.
Got 15,842 records that you'd like to export to a file? Better get some of this....