active records to object code example
Example: active record
part = new Part()
part.name = "Sample part"
part.price = 123.45
part.save()
// will create a new row in the parts table with the given values, and is roughly equivalent to the SQL command
INSERT INTO parts (name, price) VALUES ('Sample part', 123.45);