Hi,
Am I right in thinking that cloning an ActiveRecord does not close its
associations? If so, any particluar reason for this?
Jeroen
Hi,
Am I right in thinking that cloning an ActiveRecord does not close its
associations? If so, any particluar reason for this?
Jeroen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 10, 2005, at 12:26 PM, Jeroen H. wrote:
Am I right in thinking that cloning an ActiveRecord does not close
its associations? If so, any particluar reason for this?
Because how deep you go in the object graph is application-specific.
jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDc7XSAQHALep9HFYRApnBAJwNP7C1rsbS+LZ7SV2TCgsNz3c+eQCgjtk/
bV5tQhZrm9GW7g//HfllpNI=
=9w0M
-----END PGP SIGNATURE-----
Jeremy K. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1On Nov 10, 2005, at 12:26 PM, Jeroen H. wrote:
Am I right in thinking that cloning an ActiveRecord does not close
its associations? If so, any particluar reason for this?Because how deep you go in the object graph is application-specific.
Okay. Makes sense. Perhaps this can be added to the API docs.
Thanks for your help!
Jeroen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 10, 2005, at 1:22 PM, Jeroen H. wrote:
Jeremy K. wrote:
On Nov 10, 2005, at 12:26 PM, Jeroen H. wrote:
Am I right in thinking that cloning an ActiveRecord does not
close its associations? If so, any particluar reason for this?Because how deep you go in the object graph is application-specific.
Okay. Makes sense. Perhaps this can be added to the API docs.
Sure: http://dev.rubyonrails.org/changeset/2975
jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDc76OAQHALep9HFYRAnLUAKCImfKrN48GHV8qb3oBPo6d4MgJ+QCeNFKp
/Ar7DUAkGf5R2QF+WyHW7MA=
=eReL
-----END PGP SIGNATURE-----
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs