Monthly Archives: December 2007
Prototype Autocompleter Width
Prototype’s Autocompleter is really nice and easy to use, but out of the box it bases the width of the dropdown div on the corresponding text input. Check out line 4 here which contains the runoff of line 3 as … Continue reading
Filed under Uncategorized
Leading zeroes on Time.strftime
Not sure why this isn’t in the Ruby documentation (at least where I normally check) but the common annoyance of leading zeros on Time.strftime can be avoided simply by using “%l”. It does come with another inconvenience though: you get … Continue reading
Filed under Ruby