Rendering partial forms

Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id

I've had this show up many times. It helps that on your partial you
check the incoming objects before using them.
Something like
<% obj = 'default value' if obj == nil %>