reverted ordered association change
updated karma config
function to initialize fields for a model