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: 24,938 of 183,147
Downloads: 51,181

Daily

Ranking: 18,229 of 183,139
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,410,789,589bundler
35596,623,208activerecord
99348,647,059simplecov
253141,634,010sqlite3
4,0231,909,538jdbc-sqlite3
4,0491,877,486activerecord-jdbcsqlite3-adapter
4,0681,855,571jeweler

Owners

#GravatarHandle
1iconcodez