DEPRECATION WARNING
先日のエントリで書いたIISサイト/マルチアプリケーションとRailsのURL(その2)の設定で書いた、以下の行をconfigenvironment.rbに書く方法だが、
ActionController::AbstractRequest.relative_url_root = "/addressbook"
その後、Railsのログで以下の警告が出ていることに気がついた。
DEPRECATION WARNING: ActionController::AbstractRequest.relative_url_root= has been renamed.You can now set it with config.action_controller.relative_url_root=. (called from E:/www/addressbook/public/../config/environment.rb:77)
なるほど。
config.action_controller.relative_url_rootに設定してくれ、とのことなのでそのように修正する。