-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
hi
i have a problem with this code:
form_for person.name
will create a POST form, and thats wrong because the object already exsists and i need a PUT form.
the problem is that rails does this in the form_helper.rb in the line 329
if object.respond_to?(:persisted?) && object.persisted?
it returns false because object.respond_to?(:persisted?) is false. not sure why but im sure its a bug.