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,106 of 188,299
Downloads: 68,701

Daily

Ranking: 7,909 of 188,294
Downloads: 36

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,083,955,929bundler
36733,530,743activerecord
99433,034,919simplecov
275169,239,905sqlite3
4,1282,289,048jdbc-sqlite3
4,2292,131,141activerecord-jdbcsqlite3-adapter
4,3082,036,047jeweler

Owners

#GravatarHandle
1iconcodez