Nathaniel Brown wrote: > My guess would be is that you are passing it a Model and not a string. > > Try this: > > render_component :controller => 'articles_controller', :view => > 'newarticles' >
Got different behaviours today - I can use several parameters : render_component :controller => ArticlesController, :action => "newarticles" render_component :controller => "Articles", :action => "newarticles" And in articles_controller.rb no matter if I render "newsarticles" or render "../views/newsarticles" I've restarted webrick between each change just in case... But I can't use render_component :controller => 'articles_controller', :action => "newarticles" Which produce an uninitialized constant ArticlesControllerController Is opening a ticket still needed or these behaviours are the right ones ? -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
