search for: associated_objects

Displaying 2 results from an estimated 2 matches for "associated_objects".

Did you mean: associated_object
2005 Mar 08
19
find_by_sql ON STEROID possible?
find_by_sql BREAKS THE OOP BEAUTY and perhaps we can solve that. NAMING CONVENTIONS can perhaps make find_by_sql much more clever. lets imagine that relation: publishers <- books <-> authors_books <-> authors -> universities (can''t find something else than university for that last association :) ) imagine we want to fetch every book and every associated
2008 Jan 25
1
model creating a model?
hi all, is it possible for a model to create an object (of which it has many), when it is first created? i''m trying to have something like Image -hm-> ImageThumbs where the first ImageThumb is created when the Image object is saved, and any validation errors from ImageThumb.validation are passed back to the original object/page template. any thoughts on this? thanks for reading. --