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,230 of 199,228
Downloads: 173,100

Daily

Ranking: 12,804 of 199,184
Downloads: 107

Depended by

RankDownloadsName

Depends on

RankDownloadsName
14,015,435,206bundler
37876,949,277activerecord
97526,029,737simplecov
287204,093,631sqlite3
4,3162,529,828jdbc-sqlite3
4,4332,352,347jeweler
4,4772,295,259activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez