Ruby management updated

Completed and tested 5 functions for the database.