Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #3166 (closed enhancement: untested)

Opened 3 years ago

Last modified 1 year ago

[PATCH] to acts_as_netsted set to allow different key for #id

Reported by: soren.telfer@gmail.com Assigned to: David
Priority: normal Milestone:
Component: ActiveRecord Version: edge
Severity: normal Keywords: needy unverified
Cc:

Description

I needed to use a different index than id for the parent_id. Nothing special.

Attachments

nested_patch (2.3 kB) - added by soren.telfer@gmail.com on 12/09/05 21:13:57.
patch to acts_as_nested_set

Change History

12/09/05 21:13:57 changed by soren.telfer@gmail.com

  • attachment nested_patch added.

patch to acts_as_nested_set

12/09/05 21:15:30 changed by soren.telfer@gmail.com

Neglected to mention that new option is :id_column.

03/13/07 02:38:47 changed by josh

  • keywords set to needy unverified.
  • status changed from new to closed.
  • version changed from 0.14.3 to edge.
  • resolution set to untested.

Needs testing and documentation.