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,109 of 188,277
Downloads: 68,657

Daily

Ranking: 16,072 of 188,252
Downloads: 43

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,082,208,484bundler
36733,082,542activerecord
99432,857,845simplecov
275169,131,258sqlite3
4,1282,287,770jdbc-sqlite3
4,2282,130,387activerecord-jdbcsqlite3-adapter
4,3082,035,143jeweler

Owners

#GravatarHandle
1iconcodez