I was wanting to have destroy set a state rather then remove the row
from the db. Is there any reason this wouldn't be a good way to go
about it?

  def destroy
    before_destroy
    update(:state => 'removed')
    after_destroy
  end
  def_dataset_method :destroy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to