I have this field in my app where a logged in user can enter a comment,
but when I click on the link bringing me to that page I get the
following error message:

undefined method `table_name' for REXML::Comment:Class

I am doing some encrypting that has an 'include REXML' statement but
when I comment that out I still get this error. Does anyone know where
this is coming from? I do have a table named commnts which I'm thinking
is somehow related since it is in this page where a comment entry is
placed into the table. Thanks,


is your 'include REXML' making ruby/rails confused about whether Comment means your comment class or REXML::Comment ?


I solved it. For an odd reason, when I commented out the include
statement I also had to stop and then restart the server before it took
effect. Once I did that it all works again.