3cho

Wednesday, December 06, 2006

I finally understand with_scope and it kicks butt

I knew there was way to handle multiple accounts and multiple users for those accounts in a simple way (without changind all my find methods). The answer is with_scope and scopeAccess

A Rails Feature You Should be Using: with_scope

and this nested with_scope

0 Comments:

Post a Comment

<< Home