[Nitro] [PATCH] adding option[:exclude] to all_attributes in form helper

George Moschovitis george.moschovitis at gmail.com
Sun Sep 10 04:48:42 EDT 2006


added, changed slightly to get rid of a warning.

-g.

On 9/8/06, Fabian Buch <fabian at oggu.de> wrote:
> Fri Sep  8 20:24:29 CEST 2006  Fabian Buch <fabian at fabian-buch.de>
>    * adding option[:exclude] to all_attributes in form helper
>    now you can exclude single attributes
>    for example:
>    f.attributes(:exclude => :password) or
>    f.attributes(:exclude => [:password, :name])
>
> patch attached to this mail
>
> --
> Nitro Q&A: http://oxyliquit.de/
> Blog: http://blog.fabian-buch.de
>
>
>
>
>
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
>
>


-- 
http://www.gmosx.com
http://www.nitroproject.org


More information about the Nitro-general mailing list