second pass on first app in ruby on rails app