REXML::Comment:Class

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,

-S

On 2 Jan 2008, at 16:24, Shandy N. wrote:

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 ?

Fred

Frederick C. wrote:

On 2 Jan 2008, at 16:24, Shandy N. wrote:

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 ?

Fred

Not sure? But I have commented out that include statement and I still
get the error.

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.