# Rendering partial forms

**URL:** <https://discuss.rubyonrails.org/t/rendering-partial-forms/33784>\
**Category:** rubyonrails-talk\
**Created:** [August 29, 2008, 2:37pm UTC](https://discuss.rubyonrails.org/t/rendering-partial-forms/33784 "2008-08-29T14:37:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thorsten\_Muller2](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@Thorsten\_Muller2](https://discuss.rubyonrails.org/u/Thorsten_Muller2)\
**Post date:** [August 29, 2008, 2:37pm UTC](https://discuss.rubyonrails.org/t/rendering-partial-forms/33784/1 "2008-08-29T14:37:26Z")

</div>

> Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object\_id

That has nothing to do with partials. (Maybe with the specific way you use them) It just tells you, that and object that should have a value is nil. Maybe you forgot to hand in that with the :object argument in the render :partial call.

Please post your code and tell us in which line the error happened

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [August 29, 2008, 3:13pm UTC](https://discuss.rubyonrails.org/t/rendering-partial-forms/33784/2 "2008-08-29T15:13:57Z")

</div>

Hi, nevermind I think I might have actually worked something out by myself for once lol
