add object refinder

This commit is contained in:
John Bintz 2012-12-05 21:22:40 -05:00
parent 7192c46c1b
commit 06e59c26fd
1 changed files with 3 additions and 0 deletions

View File

@ -121,3 +121,6 @@ def within_any(search, &block)
false false
end end
def refind_object(object)
object.class.find(object.id)
end