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,206 of 192,692
Downloads: 83,755

Daily

Ranking: 9,391 of 192,666
Downloads: 49

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,389,621,074bundler
36786,213,027activerecord
99464,953,038simplecov
278181,938,143sqlite3
4,1692,414,873jdbc-sqlite3
4,3092,204,542jeweler
4,3102,204,239activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez