generate rails message controller and model