responds_to_parent in rails 3

Hi,

  In rails 3 respond_to_parent is not working. I am getting some
undefined method errors. Is there is any way to solve the issue in
rails 3.