I guess it is not the right thing to do. You should use something like roles and change it, not inheritance.
On Nov 18, 4:09 pm, nico Itkin <[EMAIL PROTECTED]> wrote: > Frederick Cheung wrote: > > On Nov 18, 5:25 pm, nico Itkin <[EMAIL PROTECTED]> > > wrote: > >> Frederick Cheung wrote: > > >> I had found update_attribute_with_validation_skipping which updates the > >> protected attribute , but becomes is really what i need !! thanks a lot > >> ! > > > You don;t need to dig that deep even for updating the attribute - just > > foo.type = 'Blah' would do it. > > Mass protection just means that it's ignored if you do > > update_attributes, create, new or things like that. > > > Fred > > Realize that later, get mad cause update_attribute was not working > > thanks for the explanation > > nico > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

