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: 22,994 of 186,833
Downloads: 61,982

Daily

Ranking: 14,477 of 186,696
Downloads: 37

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,901,817,099bundler
36696,900,345activerecord
99412,963,376simplecov
276160,548,836sqlite3
4,0992,170,183jdbc-sqlite3
4,1862,051,789activerecord-jdbcsqlite3-adapter
4,2641,964,323jeweler

Owners

#GravatarHandle
1iconcodez