Use default rails controller scaffold.
Use reponders gem's 'respond_with' format in communities_controller.