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: 21,670 of 189,104
Downloads: 71,609

Daily

Ranking: 14,011 of 189,083
Downloads: 50

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,155,797,051bundler
36747,347,908activerecord
99440,871,647simplecov
277172,133,677sqlite3
4,1312,333,088jdbc-sqlite3
4,2462,155,935activerecord-jdbcsqlite3-adapter
4,3012,081,535jeweler

Owners

#GravatarHandle
1iconcodez