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,539 of 189,679
Downloads: 72,627

Daily

Ranking: 12,076 of 189,654
Downloads: 58

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,196,772,394bundler
36754,434,487activerecord
99445,148,645simplecov
277173,462,538sqlite3
4,1352,350,886jdbc-sqlite3
4,2592,164,896activerecord-jdbcsqlite3-adapter
4,2982,109,442jeweler

Owners

#GravatarHandle
1iconcodez