I was trying to migrate a table in my Rails app and got this error: undefined method `deep_symbolize_keys’ for nil:NilClass It’s a strange error, and there weren’t very many hits on Google. A lighthouse ticket provided a clue. The problem wasn’t one of my plugins or gems — it was i18n itself. Upgrading from 0.4.1 …
Category Archives: public service announcement
FedEx location in Burlington, Ontario Canada
This was a bit hard to find: FedEx Burlngton 4243 North Service Road Burlington ON L7L 4X6 Canada (905) 332-4647
HOWTO install the rjb gem on Ubuntu and Mac OS X
Here’s how to install the Ruby Java Bridge (rjb) gem on Ubuntu Linux and Mac OS X: Ubuntu Linux (10.10) # aptitude install openjdk-6-jre-headless openjdk-6-jdk # JAVA_HOME=/usr/lib/jvm/java-6-openjdk gem install rjb Mac OS X 10.6.4 # JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home gem install rjb Note: rjb 1.3.2 requires the Java for Mac OS X 10.6 Update 3 Developer Package. If …
Continue reading “HOWTO install the rjb gem on Ubuntu and Mac OS X”
How to install MediaWiki on a subdomain
Here is how to set up MediaWiki on a subdomain and use pretty/short URLs. This was tested on July 1, 2010 with MediaWiki 1.15.4, PHP 5.2.8, MySQL 5.0.90 and Apache 2.2.11. This assumes you are in a shared hosting situation, and do not have root access and cannot edit the Apache configuration files directly. Your …
When to buy a refurbished Mac
No, I’m not going to tell you when during the year to buy a Mac (“not the week before WWDC”), but I am going to share a neat trick. Tragedy of the commons, here we go. Apple’s online store has refurbished Macs for sale. These are often a very good deal — today’s selections range from …
Handling Rails errors: custom error pages, logging, notification
Continue reading "Handling Rails errors: custom error pages, logging, notification"
Ride Snowboards’ phone number
To reach Ride Snowboards’ customer service, call their parent company, K2 Sports at (206) 805-4800‎. Then push 1 (for customer service), 2 (for snowboards), 2 (for Ride) and 2 (for consumers).
Another solution for WordPress’ “You do not have sufficient permissions to access this page.”
Many WordPress users have run in to the error “You do not have sufficient permissions to access this page.” Sometimes, it is because you changed the table prefix and the solution is a database change. For other folks, it was due to old plugin incompatibility. To fix it, you need to replace admin_head with admin_menu. …
The great Mac OS X Software Update chart
Recently, my friend Rob posed a question to twitter: Is Mac OS X 10.5.7 the single biggest patch Apple has ever released, or just one of the biggest? I thought that was an easy question to anwser. I was wrong. I looked all over the web for this information, and no one seemed to have …
How many usability engineers does it take to buy a light bulb?
For those of you who just want the answer, here you go: Range hood bulb: 10 Watt G4 In-oven bulb: 50 Watt 130 Volt GY6.35 Head to your corner store and pick one up. Now, on with the story.