Forum: Ruby on Rails Creating run time objects.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Acb42a0e563bffaaf94ea2d07fbb1d8e?d=identicon&s=25 Tushar Gandhi (tushar_gandhi)
on 2008-12-09 14:34
Hi,

   I have a user and album object. Depending on the condition I want to
create a new object which have some values from user object and some
from album object.
Is this possible?
  Can anyone help me?

Thanks & Regards,
Tushar.
2d8132658d56e51f19ace1c68e48b6aa?d=identicon&s=25 Thorsten Mueller (thorsten)
on 2008-12-09 14:44
(Received via mailing list)
sounds as if it could be possible.
would help if you could give us more information:
what condition?
which values?
why don't you just assign them to the new object (whatever kind of
object that may be)
This topic is locked and can not be replied to.