added dependent destroys and kill:nill rake to remove nill data