Agile Tortoise
Greg Pierce’s blog
Archive for March, 2007
Slicehost: installing imagemagick
Get imagemagick running with RMagick on your Ubuntu slice:
-
sudo apt-get install imagemagick
-
sudo apt-get install imagemagick9-dev
-
sudo gem install rmagick
Monday, March 26th, 2007. Posted in Slicehost | 5 Comments »>
Rails: model == file
If you're thinking about saving yourself a few files by placing a couple of model classes in the same file in your Rails app, think again. It seems that Rails load structure (at least in recent versions) will puke on that setup.
I was using Single Table Inheritance, and it seems a good idea -- [...]
Wednesday, March 14th, 2007. Posted in Ruby on Rails | No Comments »>
RFC: Reading material
Ok, I'm bored. About 6 months ago I did a major RSS feed purge. I had a few too many time wasters in the list, and I migrated to Google Reader from NetNewWire at the same time...but, now, I'm bored. I don't want junk, but I need a few more good tech [...]
Tuesday, March 13th, 2007. Posted in Misc | 1 Comment »>
sIFR
Cool Flash text replacement technique. Very interesting.
Sunday, March 4th, 2007. Posted in HTML | No Comments »>
Free acoustic guitar ringtones
I've intended to do this for a while, but tonight I actual sat down for a few minutes and did it. Here for your listening pleasure, are a couple of quickie acoustic guitar ringtones. I gated them down and mixed them for looping. They probably don't sound spectacular on a good speaker, [...]
Friday, March 2nd, 2007. Posted in Ringtones | 1 Comment »>
Rails: content_tag block fix
Currently (as of 1.2.2), Ruby on Rails useful content_tag method fails if you try to pass a block to it in code. The following syntax works in a view template:
-
this is the div content</b>.
But, if you try to do the equivalent in ruby code (like in a helper), such as the below, it tanks:
[ruby]
content_for('div') [...]
Thursday, March 1st, 2007. Posted in Ruby on Rails | 7 Comments »>