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: 20,586 of 192,137
Downloads: 80,734

Daily

Ranking: 12,356 of 192,103
Downloads: 52

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,342,103,677bundler
36778,810,251activerecord
99460,193,193simplecov
279179,551,852sqlite3
4,1592,403,009jdbc-sqlite3
4,2972,196,037activerecord-jdbcsqlite3-adapter
4,2992,189,841jeweler

Owners

#GravatarHandle
1iconcodez