Displaying 2 results from an estimated 2 matches for "find_for_client".
2006 Nov 01
17
So how can I rewrite my app without using with_scope?
So, I hear that with_scope is going to be deprecated.
Which is a bit of a shame, given the stuff I''ve been writing recently.
I have a CMS with multiple clients.  A ''client'' is essentially a
company, with multiple users.   Content on the site belongs to a client
- content could be messages, images, schedules, etc etc.  People
belonging to one client should not be able
2006 Feb 24
7
One To Many To Many
Hey all,
I''m trying to find a simple way to reference all of the objects that 
belong to their parent''s parent.  In other words:
Clients --> Orders --> LineItems
How do I get all of a client''s lineitems in one array (i.e., 
client.all_lineitems)?
Thanks!
-Neal
-- 
Posted via http://www.ruby-forum.com/.