rails and db details in new topics