Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Documentation for :primary_key_format.

  • Loading branch information...
commit c410dcf313704cef7d8c66f61b55a8b0db0b9dae 1 parent bbd4b55
Rolf Timmermans authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.rdoc
2  README.rdoc
@@ -80,6 +80,8 @@ The has_ancestry methods supports the following options:
- Migrate: add_column [table], :ancestry_depth, :integer, :default => 0
- Build cache: TreeNode.rebuild_depth_cache!
:depth_cache_column Pass in a symbol to store depth cache in a different column
+ :primary_key_format Supply a regular expression that matches the format of your primary key.
+ By default, primary keys only match integers ([0-9]+).
= (Named) Scopes
Please sign in to comment.
Something went wrong with that request. Please try again.