Hey guys,
I swear I read through the docs I could find on this one, and as far as I can tell it's right but I have no idea why it won't save the new values I am trying to dump in:
class Test
include MongoMapper::Document
key :title, String
key :_keywords, Array, :index => true
end
test = Test.first(:conditions => {:slug => id})
test._keywords << "test"
test.save
Yet test._keywords is the original value. If I inspect test before I save it, it has the new value in it, but the second I use .save, it reverts back to the original value.