search for: buscabo

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

Did you mean: buscado
2007 Dec 30
4
:dependent for not destroying
Hi, Is there a way to use the :dependent option to set a certain attribute to null rather than destroying the records? For example, take the following models: User id, integer name, string group_id, integer belongs_to :democrats Groups id, integer name, string has_many :users If I delete a certain group, is there a way to have the ''group_id'' attribute of all the