2009/7/16 Valli <[email protected]>:
>
> thnx a lot for the idea, i really apreciate it!!
> however it still doesn't work correctly so anyone has an other
> suggestion?
>

What do you mean 'it doesn't work'?  Did it generate an error?  What
it should do is find all the Files with mandant_id of
@invoice.mandant_id.  If it did not do this what did it do?  If that
is not what you want it to do please try asking the question again in
a different way as it is not clear what you want.

> well i think it could help to update the mandant_id before carrying on
> with the files_id, because if not the how could the database actually
> know the
> new value for the mandant_id???

Pardon?  This makes no sense to me.  Why is there a new value for the
mandant_id when you are trying to find all the Files with a given
mandant_id?

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to