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,236 of 197,085
Downloads: 147,394

Daily

Ranking: 5,966 of 197,066
Downloads: 242

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,796,160,121bundler
37845,746,438activerecord
98505,778,426simplecov
285196,939,989sqlite3
4,2722,492,687jdbc-sqlite3
4,3882,322,951jeweler
4,4292,267,183activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez