[Rails-core] [3795] render_component doesn't work with modules?

Nathaniel S. H. Brown nshb at inimit.com
Fri Feb 10 14:35:40 GMT 2006


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: rails-core-bounces at lists.rubyonrails.org 
> [mailto:rails-core-bounces at lists.rubyonrails.org] On Behalf 
> Of Nathaniel S. H. Brown
> Sent: February 10, 2006 6:09 AM
> To: rails-core at 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 at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core
> 



More information about the Rails-core mailing list