I have two tables like:
I want to add a record to table A and based on the id of A, I want to
record to table B.
I don’t think there is any SQL command that support this (at least in
4.1, so I use LAST_INSERT_ID()).
(Is there any other way? or MySQL 5 support any special SQL command?)
But I need this functionality to start my project.
Does Active Record support this functionality? or any other way to walk
Or do I have to choose other databases than MySQL?