Class: ActsAsRecursiveTree::Builders::Ancestors
- Inherits:
-
RelationBuilder
- Object
- RelationBuilder
- ActsAsRecursiveTree::Builders::Ancestors
- Defined in:
- lib/acts_as_recursive_tree/builders/ancestors.rb
Instance Attribute Summary
Attributes inherited from RelationBuilder
Instance Method Summary collapse
Methods inherited from RelationBuilder
#add_pg_cycle_detection, #apply_depth, #apply_except_id, #apply_parent_type_column, #apply_query_opts_condition, #base_table, build, #build, #build_base_join_select, #build_base_select, #build_cte_table, #build_union_select, #config, #create_select_manger, #initialize, #recursive_temp_table, #travers_loc_table
Constructor Details
This class inherits a constructor from ActsAsRecursiveTree::Builders::RelationBuilder
Instance Method Details
#get_query_options ⇒ Object
8 9 10 11 12 |
# File 'lib/acts_as_recursive_tree/builders/ancestors.rb', line 8 def (&) opts = super opts.ensure_ordering! opts end |