On 30 Oct 2009, at 14:11, Andrew Threlfall wrote:
> The usual method of daisy-chaining them in the controller like: > current_user.account.books.recipies.ingredients.etc...find(:id) > will have a big overhead if we only want to check if the user can > access a record such as ingredients. What's the business rule here that decides if a user can see an ingredient? Ashley -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran http://aviewfromafar.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
