updated RoR document with Hash and Array methods