Rails app using github api to search for repositories