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: 15,245 of 197,051
Downloads: 147,135

Daily

Ranking: 5,901 of 197,010
Downloads: 529

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,792,501,566bundler
37845,130,767activerecord
98505,449,469simplecov
285196,796,104sqlite3
4,2692,491,768jdbc-sqlite3
4,3862,322,256jeweler
4,4282,266,394activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez