From: Gaspard Bucher Date: 2007-09-25T02:34:16+09:00 Subject: Re: best way to 'hide' a method when method_missing is in town Shouldn't you just use attr_protected ? class Node < ActiveRecord::Base attr_protected :no_see end 2007/9/24, vinbarnes : > > > On Sep 24, 9:33 am, Paul Brannan wrote: > > There probably is a better solution to your problem, but it depends on > > *why* you desire this behavior. > > I'm trying to hide attributes in a Rails model. ActiveRecord::Base has > method_missing defined to build getter/setter methods for attributes > on the fly. But the problem is more general in nature as I described. > > Kevin >