From: Cory L. <co...@ma...> - 2008-01-28 19:38:06
|
I am just beginning to explore the ActiveRecord support in RubyCocoa. Everything works great when I want to allow everything to be handled by AR, but there are a few cases where I would like to manipulate the data before the records are created, modified, or destroyed. In one case I would like to update a cell if another column in that row is modified. I've managed to do this by creating my own rbSetValue_forKey method and then calling the super method if I don't need to do anything special. I am totally lost however on what to do when I want to create my own record from values in my script or delete a record manually. Is this documented anywhere or does anyone have a suggestion on how I might do this? Thanks for any info. Cory |