Re: editing multiple records with beforesave. beforesave working but data not updating

2011-07-08 Thread elogic
I worked this one out. I had the beforesave within the accounts model while it should have been in the users model seeing that is where the data was being saved. Easy really but as I only just started cakephp there are many things like this I am yet to understand. Thanks On Jul 7, 3:36 pm, elo

editing multiple records with beforesave. beforesave working but data not updating

2011-07-06 Thread elogic
Hi All, I am having some issues with the following: I have 2 tables that I have saving data to, accounts and users. I need to save the password field within users as MD5 and so I am using beforesave function in my model. It seems to be ignoring it though. Any ideas how I can go about this? ACCOUN