Welcome Guest, Not a member yet? Register   Sign In
Using models within models
#7

[eluser]vendiddy[/eluser]
Thanks for the helpful answers everyone!

I will follow Colin's suggestion to move the user access checks into my controllers. However I do feel that models sometimes need to call other models. In my situation, when a project is created, a related task also needs to be created. Shouldn't every object only have a single responsibility? Then again, I guess it "comes down to personal preference." Smile


Messages In This Thread
Using models within models - by El Forum - 07-13-2008, 04:43 PM
Using models within models - by El Forum - 07-14-2008, 01:17 AM
Using models within models - by El Forum - 07-14-2008, 02:05 AM
Using models within models - by El Forum - 07-14-2008, 03:39 AM
Using models within models - by El Forum - 07-14-2008, 03:59 AM
Using models within models - by El Forum - 07-14-2008, 08:20 AM
Using models within models - by El Forum - 07-14-2008, 11:57 AM
Using models within models - by El Forum - 07-14-2008, 12:09 PM
Using models within models - by El Forum - 07-14-2008, 09:58 PM
Using models within models - by El Forum - 07-14-2008, 11:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB