Restful_ACL "undefined method `is_readable_by'"

Hi All,
I am getting “undefined method `is_readable_by’” in
restful_acl.

any idea how to fix this?

Thanks,

Shahroon

I solved my problem by passing the actual object in readable method. And
I
was also facing problems while using

is_readable_by(user, object = nil)

is_readable_by(user, parent = nil)

So I used parent and it solved my second problem as well.

Thanks,
Shahroon