I have this code in app/app_model.php. It parses the separate date
fields created by $html-yearOptionTag(), $html-monthOptionTag, etc.
and formats them to be put in a DATETIME column.
It is a problem that comes up often enough that I think it might be
useful to have this somewhere in the core.
Perhaps I need to be more specific. I am importing the data from a
.csv file, so I am building the data structure myself, and the
information from the Manual does not explain how to create a data
structure for multiple hasMany records. So far I have managed to save
Member records, and I had no
I know that you cannot save associated records directly from a model
that has a hasMany relationship, but how do you do it indirectly? I
have been all over the web for hours looking for this.
Here is a simplified version
Model Member hasMany Individual
Model Individual belongsTo Member
I am