acts-as-tree
Caching dynamic Acts_as_tree category list
I have a Category model which uses acts_as_tree class Category < ActiveRecord::Base acts_as_tree :order=>\"name\"[详细]
2023-04-09 17:59 分类:问答RoR & ACTS_AS_Tree & display show page from database vs. display content
All, Working on a RoR app for work.Finally got acts as tree working with a database connection (railscast.com ep开发者_Python百科isode 162).Trying to shift from displaying content in the database to[详细]
2023-03-28 09:30 分类:问答acts as tree in rails 3
I am facing problem with acts_as_tree_on_steroids with rails 3. Is there any plugin which will help in rails 3 same as acts as tree[详细]
2023-03-25 17:53 分类:问答Building nested routes for a resource that use acts_as_tree
do you know how to generate dynamically routes such as: ... (/:parent_id(/:parent_id(/:parent_id(/:parent_id))))/:id[详细]
2023-03-05 11:15 分类:问答Rails - Acts as nested - Enforcing a Max Level
I\'m currently using the gem \'nested_set\' for comment threading. What I want to do is prevent the comment level from going more than 2 levels deep. What I tired doing was something like this:[详细]
2023-02-11 19:05 分类:问答Rspec with acts_as_tree: Helper does not see children
Trying to write a test for a helper method that uses acts_as_tree开发者_开发知识库. Helper method uses a count for children:[详细]
2023-02-11 15:58 分类:问答Can a nested set have duplicate child objects or multiple parent_id/root/nodes?
Can a nested set have duplicate child objects or multiple parent_id/root/nodes? For instance, I want to create an开发者_JAVA百科 application that can manage parts and equipment.However, a specific eq[详细]
2023-02-11 08:01 分类:问答enhancing a rails gem/plugin
I want to enhance the functionality of acts-as-taggable-on by adding parent_id and 开发者_StackOverflow社区acts_as_tree to the tag model.[详细]
2023-01-25 02:23 分类:问答Id (autoincrementing integer) vs string employee ID as primary key - rails application
I\'m writing my first rails app & want to get into some good habits from the start.T开发者_StackOverflow中文版he table in question is to be to hold employee data, one of the fields being the manag[详细]
2023-01-23 20:34 分类:问答How to combine two models in one RoR acts_as_tree treeview?
I have two simple models each with acts_as_tree, say Departments and Employees. My goal is to create a treeview combining both models in to one overall tree, like so:[详细]
2023-01-01 14:01 分类:问答