I know that the RoR CRUD is very easy to use. But I want the generate program do something special that normal CRUD. I don't want "Delete" in my apps, all the record only can make as "delete" instead of actually delete. So, I want to add a column -- "status" automatically when the Create is generated, and I want to change the "Delete" behavior to "Make as delete". Can I do that? if yes, how can I do?
A:
Maybe this -> http://activescaffold.com/ can help you, is like a super powered scaffold :)
ClaudioA
2009-12-30 15:40:45
A:
Yes, try acts_as_paranoid, or permanent_records, which I'm also a big fan of.
Cratchitimo
2009-12-31 17:38:50