On Martes, 23 de Noviembre de 2010 03:59:05 Richard Zheng escribió:
> Hi,
> 
> We have a columns[:abc].update_column = :xyz. In xyz's nested table
> listing, xyz field during update is hidden automatically. When abc field
> is updated, the system generates a rjs error in trying updating field xyz.
> 
> What's the best way to prevent this from happening?

Use per-request configuration. Add a before_filter to set or unset 
update_column.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

  • update_column Richard Zheng
    • Re: update_column Sergio Cambra .:: entreCables S.L. ::.

Reply via email to