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

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5