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: 19,810 of 193,767
Downloads: 87,914

Daily

Ranking: 9,772 of 193,752
Downloads: 62

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,495,674,061bundler
36801,793,063activerecord
97475,999,505simplecov
279186,046,291sqlite3
4,1982,436,051jdbc-sqlite3
4,3262,245,194jeweler
4,3472,218,877activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez