Flowdock
method

acts_as_tree

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::Acts::Tree::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

acts_as_tree(options = {}) public

Configuration options are:

  • foreign_key - specifies the column name to use for tracking of the tree (default: parent_id)
  • order - makes it possible to sort the children according to this SQL snippet.
  • counter_cache - keeps a count in a children_count column if set to true (default: false).
Show source
Register or log in to add new notes.