ruby on rails frame learning