Make destroy() and alias for delete()
Reported by Chad Arimura | October 23rd, 2009 @ 08:02 PM
I wasn't aware this didn't work but to comply with ActiveRecord we may want to alias delete with destroy....
However I think AR.destroy actually allows the object in scope to still be accessed, while delete does not, so maybe it's not as simple as an alias.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A drop in replacement for ActiveRecord for Amazon SimpleDB.
Code hosted at http://github.com/appoxy/simple_record