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

On Thu, Jun 25, 2009 at 1:46 PM, shoni <[email protected]> wrote:

>
> Hi All,
>        I am getting "undefined method `is_readable_by'" in
> restful_acl.
>
> any idea how to fix this?
>
> Thanks,
>
> Shahroon
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to