Displaying 1 result from an estimated 1 matches for "legacy_mail".
2006 Feb 28
3
[AR] #{id} namespace visibility used in finder_sql
...ot;
set_sequence_name "SQ1_SERV"
has_many :senders,
:class_name => ''Service'',
:finder_sql => "select sendername, sendercode from legacy_senders
where cid in (
select cid from legacy_mail
serid = #{id}
) "
end
In the log, the query for
> s=Service.find(number).senders
give the objectid (253625) in the SQL, not the the record''id (124)
from the Service.
I''m very confused with that.
Any guidel...