Author Archive for dave
Installing Phusion Passenger on Centos With a Custom Apache2
Posted by Dave Hrycyszyn 21st July 2008 in FLOSS, GNU / Linux, Ruby on Rails, TechnicalWe’re currently running Apache2 on an old (and very stable) version of CentOS. It’s so ancient it didn’t come with Apache 2, so we’ve got it installed from source. Today we’re making the big move to running our Rails apps on Phusion Passenger (a.k.a mod_rails), but we ran into some problems with the [...]
Testing Single Table Inheritance Models in Ruby on Rails
Posted by Dave Hrycyszyn 24th May 2007 in Ruby on RailsI had a small problem today when trying to do unit testing of single-table inheritance models in Rails, all my tests initially failed and I wasn’t quite sure why. It’s a pretty simple fix but isn’t documented too well anywhere, so here’s the skinny.
My model structure was pretty simple, I had a Content class [...]
Tag Clouds in Ruby on Rails using has_many_polymorphs
Posted by Dave Hrycyszyn 31st March 2007 in Ruby on Rails, TechnicalRecently I was faced with a somewhat strange problem - I wanted to tag the same model with two different kinds of tags. Each Event needed to have both a regular Tag for categorization, and a PlaceTag to indicate its location.
I was using the acts_as_taggable gem to do the categorization tag. When I [...]
A great place to work…
Posted by Dave Hrycyszyn 7th June 2006 in DesignHad a photo sent to me by a friend today, it’s an excerpt from the fantastic Engrish.com. Of course, it would be in rather poor taste to pick on people who can’t speak English too good, so in the interest of balance I present a blog dedicated to the stupidity of un-Chinese people who get [...]
No wmode please, we’re British! AKA the @ key flash bug
Posted by Dave Hrycyszyn 2nd June 2006 in Actionscript, FLOSS, Technical, XHTML / CSSWe ran into a major problem last night when deploying http://www.englandallstars.com
The swf in question contained a form allowing users to type in email addresses. The trouble was that anyone with a British keymapping, using the Firefox browser, got a US English keymapping on text entry. This meant that users wanting to type email@domain.com ended [...]
Search
Archive for Dave Hrycyszyn.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Categories
- News
(41)
- Victoria’s Secret
(7)
- Stu's View
(3)
- Design
(13)
- Technical
(11)
- Actionscript
(3)
- GNU / Linux
(4)
- FLOSS
(7)
- C# / .NET
(2)
- XHTML / CSS
(1)
- Agile Development
(2)
- Joeys Corner
(4)
- Sleeping Stu
(2)
- The Hoseclamp's Notebook
(13)
- Ruby on Rails
(3)
Monthly Archives
- September 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
- May 2008 (2)
- March 2008 (1)
- February 2008 (1)
- January 2008 (1)
- November 2007 (2)
- August 2007 (1)
- May 2007 (2)
- April 2007 (5)
- March 2007 (12)
- February 2007 (10)
- January 2007 (4)
- November 2006 (2)
- September 2006 (4)
- August 2006 (1)
- July 2006 (1)
- June 2006 (6)
- May 2006 (2)
- April 2006 (4)
- March 2006 (14)
- February 2006 (12)
- January 2006 (1)
- December 2005 (1)
- November 2005 (1)