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.
A419b50c5a6b2aadd0ebe7d13d4b264e?d=identicon&s=25 unknown (Guest)
on 2006-02-22 23: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 Skoglund

Thanks, I should have figured that out myself!

This topic is locked and can not be replied to.