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: 22,879 of 186,954
Downloads: 63,067

Daily

Ranking: 22,726 of 186,947
Downloads: 14

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,937,224,863bundler
36704,738,337activerecord
99417,277,843simplecov
275162,347,314sqlite3
4,1042,191,754jdbc-sqlite3
4,1932,069,042activerecord-jdbcsqlite3-adapter
4,2841,974,631jeweler

Owners

#GravatarHandle
1iconcodez