
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
piggybak_rails_admin_nestable
Advanced tools
Reorganise model data with a drag and drop tree/list structure.
To enable rails_admin_nestable, add the following to your Gemfile:
gem "rails_admin_nestable", git: "git://github.com/dalpo/rails_admin_nestable.git"
Add in your config/initializers/rails_admin.rb initializer the configuration:
RailsAdmin.config do |config|
config.actions do
# root actions
dashboard # mandatory
# collection actions
index # mandatory
new
export
history_index
bulk_delete
# member actions
show
edit
delete
history_show
show_in_app
# Add the nestable action for each model
nestable do
visible do
[NavNode, Product].include? bindings[:abstract_model].model
end
end
end
end
You could choose between two different configurations for your model:
To use this configuration, you need to organize your tree model with Ancestry.
Otherwise your model have to respond to the parent, arrange and children methods.
The nestable_tree methods supports the following options:
position_field: (symbol) default nilmax_depth: (integer) default nilIn your config/initializers/rails_admin.rb initializer:
RailsAdmin.config do |config|
config.actions do
...
end
config.model MyModel do
nestable_tree({ position_field: :position, max_depth: 3 })
end
end
To use this configuration, you need a position field
The nestable_list methods supports the following options:
position_field: (symbol) default :positionIn your config/initializers/rails_admin.rb initializer:
RailsAdmin.config do |config|
config.actions do
...
end
config.model MyModel do
nestable_list true
end
end

This project rocks and uses MIT-LICENSE.
FAQs
Unknown package
We found that piggybak_rails_admin_nestable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.