What is Soft Delete Method in Rails :: What does Soft Delete do in the Rails
Any record where that column has a non- NULL value is considered to be soft-deleted. When a record is deleted via Active Record (the default ORM library packaged with Ruby on Rails), instead of actually deleting the record from the database, populate the deleted_at column with the time of deletion.
Comments
Post a Comment