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: 26,152 of 180,459
Downloads: 45,122

Daily

Ranking: 29,930 of 180,454
Downloads: 13

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,075,871,620bundler
34540,079,460activerecord
102311,649,613simplecov
238132,481,642sqlite3
3,8871,813,052jeweler
3,8961,800,246jdbc-sqlite3
3,9141,774,266activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez