I’ve been beating my head against the wall trying to figure out why html emails from my Rails Engine are sent out as plain text ie the email shows up with all the html tags visible. Turns out there is an issue in Rails 2.3.2: https://rails.lighthouseapp.com/projects/8994/tickets/2263-rails-232-breaks-implicit-multipart-actionmailer-tests. For now I’m just setting my emails to html,…
Ruby gems and “Couldn’t get release_id, upload failed?”
I’ve been experimenting with Ruby gems over the past few weeks. I use a couple of other gems to make the process easier including rubyforge, jeweler and newgem. Jeweler has a rake task ‘rubyforge:release’ that uploads your gem for you. The problem was that it would timeout and give me “Couldn’t get release_id, upload failed?”….
Conversations With Devin
Today my two year old had this conversation with my wife: Devin: I want juice. Callie: How about milk. Devin: How about juice. Callie: How about milk. Devin: How about juice. Callie: How about milk. Devin: How about I ask dad.
Dude, it’s 420
Today is 4/20. That is significant for two reasons. One is that it is my parent’s wedding anniversary. My dad likes to get license plates with significant numbers. For years the plate on our van was 11111. Later it was 1701 (any Star Trek fans recognize that number?). When my parents got a new car…
Count is broken in Rails 2.3.2
After upgrading to Rails 2.3.2 I started getting this error: Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘*) It turns out that the ‘count’ method is broken for ‘has_many through association collection with named scope’. Here’s…
Joel With Coffee
Don’t let him fool ya. Here’s Joel with a cup of coffee at the last OCW conference: Everyone needs a little pick me up.
This is the most impressive cheese ever: Each serving has 1176 calories with 11 servings per container which means this thing has 12,936 calories.
This is a couch:
House plans that look good in the snow
It’s snowing in Logan again and so in my current tradition of posting house plans that I would build if the economy didn’t suck and if I had lots of money I am submitting to you this european style house plan that looks cool in the snow: european style house plan in the snow
Snow and Rain
I just manged to get the kids in bed. It’s 9:00pm. I started at 6:30. I’m sitting here watching the rain letting my brain idle for a few moments until I get back into write code. It’s a bit odd that its raining given that it is January. Over the Christmas break we received treacherous…