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,701 of 187,255
Downloads: 64,539

Daily

Ranking: 35,312 of 187,239
Downloads: 7

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,973,645,220bundler
36711,782,395activerecord
99421,256,244simplecov
274163,802,561sqlite3
4,1142,214,088jdbc-sqlite3
4,2122,086,804activerecord-jdbcsqlite3-adapter
4,2941,989,256jeweler

Owners

#GravatarHandle
1iconcodez