警告ネタが続きますが、どこかの誰かの役に立つかもとしれないということで。 Railsに便利な認証機能を追加してくれるプラグイン「Devise」を使っていたら「DEPRECATION WARNING」が発生したので、その時の対応についてメモ。 当方の環境はRails 3.2.1 + Devise 2.0.4。 以下が発生した警告。 DEPRECATION WARNING: Passing a block to devise_for is deprecated. Please remove the block from devise_for (only the block, the call to devise_for must still exist) and call devise_scope :user do ... end with the block instead. DEPRECA