[Nitro] render.rb stange methods

George Moschovitis george.moschovitis at gmail.com
Sat Feb 10 10:37:57 EST 2007


>
>
> I was suprised to see these two entries at the top of this list:
>
>    "Glue", "ORMSupport"
>
> How are they methods!?


no idea... very strange indeed...


I discovered this b/c I'm getting an error
>
>   undefined method `mount_path' for Nitro::Context:Class
>
> for the first line of render:
>
>   path = "#{self.class.mount_path}/#{path}".squeeze('/') unless path
> =~ /^\//


self.class should be a controller not a context. how are you calling
render() ?

-g.




Any ideas?
>
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070210/459ef57f/attachment.html 


More information about the Nitro-general mailing list