Nathan Beyer
2009-Jul-27 23:46 UTC
[activerecord]what are the reserved attribute names that become protected attributes
I just ran into the concept of protected attributes in ActiveRecord when I tried to add a field/column with the name ''type''. Is there any documentation on the reserved names that are considered protected by default? I haven''t been able to find anything conclusive. Thanks.
Hassan Schroeder
2009-Jul-27 23:58 UTC
Re: [activerecord]what are the reserved attribute names that become protected attributes
On Mon, Jul 27, 2009 at 4:46 PM, Nathan Beyer<nbeyer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I just ran into the concept of protected attributes in ActiveRecord > when I tried to add a field/column with the name ''type''. Is there any > documentation on the reserved names that are considered protected by > default? I haven''t been able to find anything conclusive.? googling "rails reserved words" brings this up as #1: http://wiki.rubyonrails.org/rails/pages/ReservedWords -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan