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

i am using rexml and try to find id from Comment table i got the error

Rexml's Comment class is shadowing your own. Either don't include REXML in the model that is doing this processing (so you'll need to prefix rexml classes with REXML::slight_smile: or replace Comment with ::Comment


Frederick Cheung wrote: