【Ruby on Rails】productionモードのrake route(ルーティング)を見たい
$ rake routes RAILS_ENV=production
でサーバー用(productionモード)のルーティングが見れる。
もちろん、envで切り替えをしている場合には、他のルーティングを見ることもできる。
$ rake routes RAILS_ENV=development $ rake routes RAILS_ENV=test $ rake routes RAILS_ENV=staging
メモメモ。