Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Activeadmin | 9,388 | 11,221 | 231 | 11 days ago | 66 | July 15, 2023 | 48 | mit | Ruby | |
The administration framework for Ruby on Rails applications. | ||||||||||
Administrate | 5,669 | 985 | 87 | 13 days ago | 37 | February 02, 2022 | 96 | mit | Ruby | |
A Rails engine that helps you put together a super-flexible admin dashboard. | ||||||||||
Solidus | 4,760 | 390 | 106 | 17 hours ago | 165 | July 03, 2023 | 119 | other | Ruby | |
🛒 Solidus, the open-source eCommerce framework for industry trailblazers. | ||||||||||
Trestle | 1,868 | 36 | 16 | 4 days ago | 23 | April 03, 2023 | 102 | lgpl-3.0 | Ruby | |
A modern, responsive admin framework for Ruby on Rails | ||||||||||
Publify | 1,805 | 1 | 15 days ago | 34 | March 17, 2012 | 82 | mit | Less | ||
A self hosted Web publishing platform on Rails. | ||||||||||
Avo | 1,173 | 14 days ago | 342 | September 12, 2023 | 88 | other | Ruby | |||
Build Ruby on Rails apps 10x faster | ||||||||||
Alchemy_cms | 801 | 84 | 23 | 4 days ago | 249 | June 10, 2022 | 7 | bsd-3-clause | Ruby | |
AlchemyCMS is a Rails CMS engine | ||||||||||
Upmin Admin Ruby | 783 | 6 years ago | 36 | mit | Ruby | |||||
Framework for creating powerful admin backends with minimal effort in Ruby on Rails. | ||||||||||
Motor Admin Rails | 613 | 15 days ago | 198 | September 20, 2022 | 2 | agpl-3.0 | Ruby | |||
Low-code Admin panel and Business intelligence Rails engine. No DSL - configurable from the UI. Rails Admin, Active Admin, Blazer modern alternative. | ||||||||||
Sail | 501 | 18 | 2 years ago | 29 | February 24, 2021 | other | Ruby | |||
Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app |
Master repository has moved to gitlab, all new code will be there:
https://gitlab.com/rocket-science/rails_admin_toggleable
Make any boolean field easily toggleable on\off from index view in rails admin
Add this line to your application's Gemfile:
gem 'rails_admin_toggleable'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_admin_toggleable
Add the toggleable action:
RailsAdmin.config do |config|
config.actions do
......
toggle
end
end
Make the field you need toggleable:
rails_admin do
list do
field :enabled, :toggle
...
end
...
end
# Add the bulk action:
# define_bulk_toggle_method(type of action, model field)
define_bulk_toggle_method(:enable, :enabled)
define_bulk_toggle_method(:disable, :enabled)
define_bulk_toggle_method(:toggle, :enabled)
define_bulk_toggle_method(:enable, :deleted)
define_bulk_toggle_method(:disable, :deleted)
define_bulk_toggle_method(:toggle, :deleted)
# enable it for all or some models
RailsAdmin.config do |config|
config.actions do
......
bulk_enable_enabled do
visible do
['Adder::Contest'].include? bindings[:abstract_model].model_name
end
end
bulk_disable_enabled do
visible do
['Adder::Contest'].include? bindings[:abstract_model].model_name
end
end
bulk_toggle_enabled do
visible do
['Adder::Contest'].include? bindings[:abstract_model].model_name
end
end
bulk_enable_deleted
bulk_disable_deleted
bulk_toggle_deleted
end
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)