search for: xt5dcnbkzlnbdgjk7y7tuq

Displaying 1 result from an estimated 1 matches for "xt5dcnbkzlnbdgjk7y7tuq".

2005 Dec 27
0
Edge Rails idea -- was [DRY relative to edit and show]
Just got around to understanding your idea Rich. Your idea seems to apply to every controller with new/edit/show views, so I think this is a better idea for the edge rails folks to implement generically than for a newbie like me do as a one-off. Thanks Greg On 12/23/05, Rich Clingman <Rich-xT5DcnBKZlNBDgjK7y7TUQ@public.gmane.org> wrote: > > > It would be nice if rails had a native way to set all the readonly > attributes (or enabled, etc... as appropriate for the control) to true or > false based on the view being a show or edit. This would eliminate the > duplication we see between t...