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: 21,841 of 188,757
Downloads: 70,497

Daily

Ranking: 12,537 of 188,742
Downloads: 46

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,119,417,231bundler
36740,878,701activerecord
99437,027,655simplecov
276170,904,501sqlite3
4,1292,316,498jdbc-sqlite3
4,2382,147,148activerecord-jdbcsqlite3-adapter
4,3042,061,674jeweler

Owners

#GravatarHandle
1iconcodez