more active record stuff before david clausen has a look