# NameError: cannot remove Object::Elements

**URL:** <https://www.ruby-forum.com/t/nameerror-cannot-remove-object-elements/106850>\
**Category:** Rails\
**Created:** [June 14, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/nameerror-cannot-remove-object-elements/106850 "2007-06-14T17:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnicolaou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7bcc69/32.png) [@cnicolaou](https://www.ruby-forum.com/u/cnicolaou)\
**Post date:** [June 14, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/nameerror-cannot-remove-object-elements/106850/1 "2007-06-14T17:12:37Z")

</div>

Hi,

I am receiving this error while loading an XML list into a table using  
‘acts\_as\_nested\_set’.

I am sure the list is well organized and proper, yet i keep getting the  
error on the same line/level although it looks exactly like the other  
(XML item).

i am using MYSQL/Ruby/Active Record
