Skip to content

Commit

Permalink
fix error in restore_ancestry_integrity! introduced in prev. commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Henzen committed Dec 18, 2012
1 parent 39f00ab commit 864acf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ancestry/class_methods.rb
Expand Up @@ -140,7 +140,7 @@ def restore_ancestry_integrity!
ancestry, parent = if ancestry.nil? then parent else "#{parent}/#{ancestry}" end, parents[parent]
end
node.without_ancestry_callbacks do
node.update_attribute node.ancestry_column, ancestry.to_s
node.update_attribute node.ancestry_column, ancestry
end
end
end
Expand Down

0 comments on commit 864acf1

Please sign in to comment.