Dynamic layout - self.class.layout doesn't work in 2.3.2

Folks,

I just upgraded to 2.3.2 and I am determining layouts based on URL in the application.

In application_controller, get_layout_details gets the layout information and sets self.class.layout (It is called before every call as it is set as before_filter for application_controller and working in earlier version)

Home page renders fine. When user makes a search, a 302 redirect happens internally and then there is no layout on results page. Forcing a layout :file_name in searchresults_controller is also not working.

I found one other person talking about a hack to make it work -

I am not using the theme plugin, so what should I do to make it work in rails 2.3.2

Please advise ...

Many thanks in advance ... ~r