Render_component rails 2.3

in routes.rb i have put:

map.connect ‘/:alias’, :controller => ‘cores’ ,:action=>“view”
this alias is connect with 3 models: event place and artist in my cores
controller i used render_component for rendering the action relative to
the model.

if(core = Core.find(:first, :conditions => [“alias = ?”,
params[:alias]]))
type = core.class.to_s.downcase
render_component(:controller => type,
:action => “view”,
:id => core.id.to_s,
:params => params)
end
In rails 2.3 render_component is deprecated. But what’s the solution for
do this?

I’ve seen that there is a plugin for reuse the render_component but i
want know the other solution.

thanks.