Bug #247
Feature #36: associate publications with projects
Feature #246: Delete a publication
Deleting a publication does not delete its Authorships
| Status: | Closed | Start date: | 2011-08-03 | ||
|---|---|---|---|---|---|
| Priority: | High | Due date: | |||
| Assignee: | % Done: | 10% |
|||
| Category: | - | ||||
| Target version: | Bibliography Alpha |
Description
When a user deletes a publication its Authorships are not deleted from the database.
History
Updated by Chris Cannam almost 2 years ago
Does Rails have a simple mechanism for doing cascading deletes (perhaps through a standard database ON clause in the migration)?
Updated by Luis Figueira almost 2 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Updated by Luis Figueira almost 2 years ago
- Status changed from In Progress to Closed
Instead of deleting the object with the delete method I should be using the destroy method, which deletes all associated records.