# Restful\_ACL "undefined method \`is\_readable\_by'"

**URL:** <https://www.ruby-forum.com/t/restful-acl-undefined-method-is-readable-by/171013>\
**Category:** Rails\
**Created:** [June 25, 2009, 9:47am UTC](https://www.ruby-forum.com/t/restful-acl-undefined-method-is-readable-by/171013 "2009-06-25T09:47:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@shoni](https://www.ruby-forum.com/u/shoni)\
**Post date:** [June 25, 2009, 9:47am UTC](https://www.ruby-forum.com/t/restful-acl-undefined-method-is-readable-by/171013/1 "2009-06-25T09:47:29Z")

</div>

Hi All,  
I am getting “undefined method `is\_readable\_by’” in  
restful\_acl.

any idea how to fix this?

Thanks,

Shahroon

---

<div class="post-metadata">

**Author:** ![shoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@shoni](https://www.ruby-forum.com/u/shoni)\
**Post date:** [June 25, 2009, 11:58am UTC](https://www.ruby-forum.com/t/restful-acl-undefined-method-is-readable-by/171013/2 "2009-06-25T11:58:19Z")

</div>

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
