Fix partially loaded active record data.
Fix aeDatabase::prepare() method name to match naming conventions.