Fetching Records

31 views
Skip to first unread message

zvas...@gmail.com

unread,
Mar 25, 2014, 1:35:45 PM3/25/14
to canc...@googlegroups.com
Hi there!

Have a question on ${subject}

Here https://github.com/CanCanCommunity/cancancan/wiki/Fetching-Records there is a note that says

> Note: As of 1.4 this is done automatically by load_resource for the index action, so it rarely needs to be done manually.

Can anybody explain me a bit more what it means. Adding an example is also appreciated

Thanks

brite

unread,
Mar 25, 2014, 3:29:54 PM3/25/14
to canc...@googlegroups.com, zvas...@gmail.com
You can learn more about what happens during load_resource here: https://github.com/CanCanCommunity/cancancan/wiki/Authorizing-controller-actions#load_resource

Vasyl Zuzyak

unread,
Mar 26, 2014, 3:29:00 AM3/26/14
to brite, canc...@googlegroups.com
Oh, I get it. Thanks a lot, Brite! 


--
You received this message because you are subscribed to a topic in the Google Groups "cancancan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cancancan/pxjD71ly070/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cancancan+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Vasyl
Reply all
Reply to author
Forward
0 new messages