Forum: Ruby on Rails RE: Obtaining the ID of a newly saved model object

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-02-23 00:35
(Received via mailing list)
> Rails saves your Model instance and adds the resulting id to its
> attributes.  And you still "have" the object so there is no need to
> refind it.
> HTH,
> Kevin S.

Thanks, I should have figured that out myself!

This topic is locked and can not be replied to.