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: 22,535 of 187,591
Downloads: 65,700

Daily

Ranking: 29,500 of 187,571
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,011,203,451bundler
36719,592,156activerecord
98425,235,126simplecov
275165,742,106sqlite3
4,1252,239,943jdbc-sqlite3
4,2162,104,299activerecord-jdbcsqlite3-adapter
4,2982,004,250jeweler

Owners

#GravatarHandle
1iconcodez