I think this almost my variant. Which is probably even more difficult. 
Because the query will be contain more JOINS

I need create role reader and then associate each post with each individual 
user

What do you think about this? 

среда, 17 декабря 2014 г., 15:36:31 UTC+2 пользователь Vivek Sampara 
написал:
>
> " but author can denied access to some friends. " << this is why it has 
> dynamic roles on individual obejct
>
> On Wed, Dec 17, 2014 at 6:53 PM, Artem T <[email protected] <javascript:>> 
> wrote:
>>
>> I can`t understand how it can help me?
>>
>> I do not have different roles. All users have one role.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/d05c6aa2-18ef-4c83-a6fd-ba2635af1a98%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rubyonrails-talk/d05c6aa2-18ef-4c83-a6fd-ba2635af1a98%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/26dc11c9-3144-484d-bfef-ab2131977e5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to