Skip to content

Commit

Permalink
1.8.7 doesnt forgive the extra commas
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Oct 6, 2011
1 parent 709acc4 commit 46a3cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid/paranoia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def destroyed?
def restore
paranoid_collection.update(
atomic_selector,
{ "$unset" => { paranoid_field => true }},
{ "$unset" => { paranoid_field => true }}
)
attributes.delete("deleted_at")
end
Expand Down

0 comments on commit 46a3cb7

Please sign in to comment.