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
<shahroon.ali-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---