I have a controller that calls `.find` on multiple ActiveRecord Models. I am using the rescue\_from method to catch errors raised when records are not found. However, I am not able to find the type of the records that are not found. So suppose my controller looks like this: 

```
class AccountController < ApplicationController

  rescue_from ActiveRecord::RecordNotFound, :with => :handler

  def find_user
    User.find(params[:user_id])
  end

  def find_post 
    Post.find(params[:post_id])
  end

  def handler 
    flash[:error] = "{model} not found"
  end
end

```

The problem is I need to tell the user which record was not found, which would me {model} in the code above. Is there a clean way to do this?