[Nitro] fix for form mixing for admin pages

George Moschovitis george.moschovitis at gmail.com
Fri Sep 2 23:45:34 EDT 2005


already seen and fixed that.
-g.

On 9/2/05, Tim Larson <tim at keow.org> wrote:
> When a table has no relations (strange in production, but
> possible during in-between stages of early development)
> the form mixin fails.  Line 88 of nitro/mixin/form.rb
> needs to be changed to allow for nil.
> 
> From: for rel in obj.class.relations
> To:   for rel in obj.class.relations || []
> 
> --Tim Larson
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


-- 
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list