Changed the two Tree moveup() and movedown() examples to use id rathe…
r than name. The article mentions data integrity yet the example finds the relevant category by name. For a model without unique validation on the category name that example would cause problems. Added exceptions in invalid category too
Loading
Please sign in to comment