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,221 of 187,960
Downloads: 67,637

Daily

Ranking: 6,287 of 187,950
Downloads: 384

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,046,650,903bundler
36726,153,212activerecord
99428,988,492simplecov
275167,444,416sqlite3
4,1272,266,084jdbc-sqlite3
4,2182,120,255activerecord-jdbcsqlite3-adapter
4,3072,019,664jeweler

Owners

#GravatarHandle
1iconcodez