Library system using ruby and SQL