Expert |
|
Joined: Sat Jan 17, 2004 2:57 pm Posts: 329 Location: In the basement in my underwear
|
We also generate constants for our column names (and also the associations) so we don't have to hard code the names in the various queries. That way you can rename the constants if you need to and it's way easier to refactor than trying to hunt down a piece of text.
_________________ Some people are like Slinkies - not really good for anything, but you still can't help but smile when you see one tumble down the stairs.
|
|