I getting the above error on any select-one-or-new tag when creating a new
item.
IE for the model assocationt Parent->Child
On the Parent new form if I select the new button (from the
select-one-or-new tag) to create a new Child I get the error
ArgumentError (invalid typed-id: :child):
The child gets saved to the database but then the above error is thrown and
the formlet isn't closed nor is the select list updated to show the new
child.
This is with adding to the controller
def create
hobo_create do
if request.xhr?
self.this = Parent.new
end
end
end
Bob
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/vmn4DvIPeWIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.