Cannot convert value of type string to integer when joining multiple tables

In this case, just (?):

  • tablename ‘people’ to ‘peoples’
  • fieldname ‘direp_id’ to people_id’

So, I guess since user_looser is building the database, it’s not a problem to do the renaming?

As I replied in the other post, my advice is to focus on the database and do multiple runs of the bake-command until you’re stuck on functionality (Think you still have to get the subjects into the play?).

There won’t be bugs, code is on the place where it has to be (e.g. joins in models), you can show your boss a first take of the app.

At that point there will be the need for more functionality (e.g. authentication etc.), at that point you can start work on that.

Just pointing to this because I hope you will keep liking CakePHP. Working several days on a join wouldn’t make me happy.