Austen McRae
unread,Apr 9, 2012, 7:56:30 PM4/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ohm Ruby
Hey all,
We are running into some problems with 1.5 where we do something like:
p1 = Post[1]
p2 = Post[2]
p1.delete
p3 = Post[1]
=> nil
But when you do a search on any index, it will return all the Posts,
like:
posts = Post.find(:subject=>"foo")
=> [(Post:1 subject:nil other_stuff:nil), (Post:2, subject:foo,
other_stuff:bar)]
The documentation says that indices are cleaned; is there something
that needs to be done however to make this occur?