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: 14,340 of 198,430
Downloads: 168,829

Daily

Ranking: 9,293 of 198,401
Downloads: 181

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,939,528,074bundler
37866,211,346activerecord
97518,966,733simplecov
285201,634,282sqlite3
4,3012,518,312jdbc-sqlite3
4,4172,343,659jeweler
4,4602,286,471activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez