Categories: None [Edit]

protective

https://rubygems.org/gems/protective
https://github.com/codez/protective
Protect records from being destroyed in a declarative way. Simply add 'protect_if :dont_delete, "Record is marked as not deletable"' to your ActiveRecord model. Your record will no be destroyed and the given message is added to the errors object.

Total

Ranking: 15,902 of 196,721
Downloads: 134,607

Daily

Ranking: 5,154 of 196,694
Downloads: 447

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,728,237,794bundler
37835,846,227activerecord
98499,434,149simplecov
284194,725,346sqlite3
4,2592,480,559jdbc-sqlite3
4,3732,311,909jeweler
4,4132,256,749activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez