A rails plugin to auto-define RESTful API