Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #28 from dxetech/master

Alias to work with rails model
  • Loading branch information...
commit a4e58191fddb64054f9cc8dc90e966f401d32861 2 parents 53d1048 + 94d947d
@trevorrowe trevorrowe authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/aws/record/abstract_base.rb
View
1  lib/aws/record/abstract_base.rb
@@ -202,6 +202,7 @@ def delete
raise 'unable to delete, this object has not been saved yet'
end
end
+ alias_method :destroy, :delete
# @return [Boolean] Returns true if this instance object has been deleted.
def deleted?
Please sign in to comment.
Something went wrong with that request. Please try again.