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: 16,694 of 196,125
Downloads: 121,504

Daily

Ranking: 7,770 of 196,106
Downloads: 91

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,667,363,143bundler
37826,900,046activerecord
98493,495,493simplecov
281192,458,273sqlite3
4,2502,468,529jdbc-sqlite3
4,3702,296,720jeweler
4,4012,246,030activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez