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,401 of 190,365
Downloads: 74,003

Daily

Ranking: 9,949 of 190,317
Downloads: 119

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,243,919,424bundler
36762,217,870activerecord
99449,998,013simplecov
279175,249,192sqlite3
4,1472,368,150jdbc-sqlite3
4,2762,175,616activerecord-jdbcsqlite3-adapter
4,3002,139,148jeweler

Owners

#GravatarHandle
1iconcodez