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: 25,146 of 182,878
Downloads: 50,339

Daily

Ranking: 37,467 of 182,869
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,375,186,063bundler
35590,308,611activerecord
99344,751,584simplecov
249140,603,107sqlite3
4,0161,896,641jdbc-sqlite3
4,0381,865,845activerecord-jdbcsqlite3-adapter
4,0531,851,549jeweler

Owners

#GravatarHandle
1iconcodez