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: 14,522 of 197,744
Downloads: 163,169

Daily

Ranking: 10,440 of 197,724
Downloads: 129

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,863,547,421bundler
37855,219,427activerecord
97511,923,440simplecov
285199,063,254sqlite3
4,2892,503,613jdbc-sqlite3
4,4042,333,162jeweler
4,4432,275,566activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez