bookstore build practice in ruby on rails