Just nailed it down to having a "/" in the controller.

If you even trying:

render_component :controller => "/blog", :action => "list"

It will produce an error saying it cant find ::Blog

-Nb

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Nathaniel S. H. Brown
> Sent: February 10, 2006 6:09 AM
> To: rails-core@lists.rubyonrails.org
> Subject: [Rails-core] [3795] render_component doesn't work 
> with modules?
> 
> I just submitted a bug report for the render_component not 
> being able to properly find the modules.
> 
> I did a pretty detailed search, and wasn't able to find 
> anything in the tracker. Is this something you guys are 
> already aware of ?
> 
> http://dev.rubyonrails.org/ticket/3795
> 
> -Nb
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Nathaniel S. H. Brown                           http://nshb.net 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> Rails-core mailing list
> Rails-core@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core
> 

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to