Categories: None [Edit]
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: -
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,524,455,789 | bundler |
| 36 | 805,958,282 | activerecord |
| 97 | 478,892,970 | simplecov |
| 280 | 187,045,758 | sqlite3 |
| 4,211 | 2,440,392 | jdbc-sqlite3 |
| 4,334 | 2,257,131 | jeweler |
| 4,360 | 2,221,800 | activerecord-jdbcsqlite3-adapter |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | codez |