Displaying 1 result from an estimated 1 matches for "authors_book".
Did you mean:
authors_books
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 object.....down to the
author university
with rails we can do Books.find_all and then after in the code book.publisher...