solved the stack error.. had a method '.tags' in the document.rb that had the same name as an attribute in the documents table.. d'oh