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,020 of 191,483
Downloads: 76,509

Daily

Ranking: 8,412 of 191,454
Downloads: 223

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,294,095,825bundler
36770,906,816activerecord
99455,133,578simplecov
278177,488,390sqlite3
4,1592,385,784jdbc-sqlite3
4,2862,185,395activerecord-jdbcsqlite3-adapter
4,2942,168,683jeweler

Owners

#GravatarHandle
1iconcodez