Displaying 1 result from an estimated 1 matches for "src_entity".
2005 Aug 25
1
newbie questions about hosting address
...VMAXsN/egqeA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
Content-Type: text/plain; charset=iso-8859-1
I''m having an issue where code that works in a single threaded model is
throwing a wierd exception when I spawn my own thread. Here is the code in
question:
relationship = Relationship.new(:src_entity => @entity,
:created_by => @entity.created_by,
:target_entity => target_entity,
:relationship_type => rel_type)
And the error that is thrown is this:
/usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/associations/association_proxy.rb:93:in
`raise_on_type_mismatch'&...