Welcome Guest, Not a member yet? Register   Sign In
Active Record method chaining - doesn't work with update?
#4

update() and insert(), and probably a few others, execute the compiled query at that point. So you need to have all of your wheres/selects/etc before calling those action methods.
Reply


Messages In This Thread
RE: Active Record method chaining - doesn't work with update? - by CroNiX - 02-25-2015, 12:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB