[Nitro] RFC: Basic Points for a Better Nitro/Og

s.ross cwdinfo at gmail.com
Sat Sep 22 10:43:53 EDT 2007

0.41 has all kinds of issues installing on OSX because it requires a  
particular version of facets. Even when installed, it has problems  
with managed classes and the default title rendering of title  
(sitetitle, if I remember correctly). I switched to the gems you  
emailed on the list and got further, but still not to a place where I  
could get the part/admin stuff working without the managed classes  

Thanks for the info. I will try to be more diligent about reporting  
complete errors, but was under the impression I would have been  
reporting against an out-of-date version.


On Sep 22, 2007, at 2:08 AM, George Moschovitis wrote:

> Barrier three: Version conflicts. Right now, a gem install simply  
> doesn't work. Try gem install rails and everything works as  
> advertised. Try gem install nitro and virtually nothing works as  
> advertised. Again, accepted that this will take a while. Still,  
> ease of entry makes it a softer sell.
> !!! I had the idea that gem install DOES work as advertized. You  
> are trying to install the 0.41.0 gems?
> I'm trying really hard to love Nitro and Og, but it's tough to know  
> what's there. My expectations are clearly different from what's  
> there. E.g., what's the right directory structure. Not documented.  
> Examples have templates in a flat directory called templates. Is  
> this mandatory or optional.
> you can put them in whichever directory you like, just setup
> Template.root_dir = "my/dir"
> Can they go in subdirectories. Do I need to experiment? E.g., how  
> do I create a link to an action like 'new'? I know how to do it in  
> Rails. Is it really a <a href=> tag in Nitro?
> They can go in subdirectories... You can either map the controller  
> on a subdirectory:
> app.dispatcher.root.my.subdir = MySubDirController
> or use the following convention in your action name:
> def my__sub__dir__action
> end
> maps to => my/sub/dir/action
> you can use simple hrefs or some helpers:
> <a href="/mycontroller/myaction" />
> <a href="#{R MyController, :myaction}""/>
> <a href="{{MyController, :myaction}}"/>
> or from a template in the controllers dir
> <a href="{{:myaction}}" />
> please notice that the helper versions are aware of the routing  
> systmem and the mount point of your controllers.
> -g.
> -- 
> http://gmosx.me.gr
> http://phidz.com
> http://blog.gmosx.com
> http://cull.gr
> http://www.joy.gr
> http://nitroproject.org
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070922/47335b1f/attachment-0001.html 

More information about the Nitro-general mailing list