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: 19,995 of 193,241
Downloads: 85,975

Daily

Ranking: 11,722 of 193,214
Downloads: 34

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,441,694,098bundler
36794,042,868activerecord
97470,466,552simplecov
279183,901,264sqlite3
4,1852,425,715jdbc-sqlite3
4,3162,221,780jeweler
4,3272,211,944activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez