Displaying 2 results from an estimated 2 matches for "poeaa".
Did you mean:
poaa
2006 Mar 07
3
ActiveRecord allows un-synced aliases?
q1 = Question.find(1)
q2 = Question.find(1)
Now, we find q1.__id__ != q2.__id__.
It appears the two aliases are not kept in sync:
q1.name => ''old name''
q2.name = ''new name''
q2.save!
q1.name => ''old name''
q2.name => ''new name''
q1.reload
q1.name =>
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