[Nitro] Ignore the last webfile patch...

Robert Mela rob at robmela.com
Mon Oct 1 21:46:52 EDT 2007


Looking through the test specs I saw Nitro::Application.current.  Seems 
better than using $nitro_current_application


Robert Mela wrote:
> Is it still correct to spam the group with patches, or should I be 
> sending them directly to George?
>
> Anyhow, here are some fixes to get WebFile working with forms & Og
>
> Two little things:
>
> replace Nitro::Server.public_root with 
> $nitro_current_application.public_dir
> replace WebFile.upload_root with WebFile.upload_dir, since WebFile 
> defines upload_dir but not upload_root
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: webfile_upload_dir_fix
Url: http://rubyforge.org/pipermail/nitro-general/attachments/20071001/6bbcccab/attachment-0001.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rob.vcf
Type: text/x-vcard
Size: 116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20071001/6bbcccab/attachment-0001.vcf 


More information about the Nitro-general mailing list