add object refinder
This commit is contained in:
parent
7192c46c1b
commit
06e59c26fd
|
@ -121,3 +121,6 @@ def within_any(search, &block)
|
|||
false
|
||||
end
|
||||
|
||||
def refind_object(object)
|
||||
object.class.find(object.id)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue