This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
destroy_restricted / README.mkdn
DestroyRestricted
By default the rails allows only that the keys are defined with null or that the register be removed together. This plugin prevents that related records could be removed, when set.
That initial proposal was created by Daniel Gatis and Rafael Ribeiro da Silva and transformed into a plugin by Davis Zanetti Cabral.
Simple Example
class Category < ActiveRecord::Base
has_many :products, :dependent => :restrict
end
Copyright (c) 2008 Davis Zanetti Cabral, released under the MIT license







