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: - of 0
Downloads: -

Daily

Ranking: - of 0
Downloads: -

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,524,455,789bundler
36805,958,282activerecord
97478,892,970simplecov
280187,045,758sqlite3
4,2112,440,392jdbc-sqlite3
4,3342,257,131jeweler
4,3602,221,800activerecord-jdbcsqlite3-adapter

Owners

#GravatarHandle
1iconcodez