inherited_resources
Formtastic
Our great sponsors
inherited_resources | Formtastic | |
---|---|---|
3 | 2 | |
2,706 | 5,195 | |
0.1% | 0.0% | |
8.1 | 4.8 | |
18 days ago | about 1 month ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inherited_resources
-
Admin Framework for Rails
Until recently, my default Admin was ActiveAdmin library. But I found it a bit challenging onboarding new engineers with Inherited Resources gem. Also, a lot is changed on the frontend side with webpack, and now esbuild. I would like to use TailwindCSS to simplify the development. IMHO, ActiveAdmin legacy makes it way more complicated for customization to a new project.
-
An Unofficial Active Admin Guide
All Active Admin controllers are inherited from InheritedResources::Base, which means that we can modify their behavior using library methods. For example, here is how the list of available controller actions is defined:
Formtastic
-
An Unofficial Active Admin Guide
All the parameters required to draw the form (including object and method) are passed to #initialize defined in the module Formtastic::Inputs::Base. The #to_html method is responsible for rendering the input.
What are some alternatives?
esbuild-rails - Bundle and transpile JavaScript in Rails with esbuild
Simple Form - Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.
madmin - A robust Admin Interface for Ruby on Rails apps
Rails Bootstrap Forms - Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
activeadmin_addons - Extends ActiveAdmin to enable a set of great optional UX improving add-ons
Reform - Form objects decoupled from models.
ActiveAdmin - The administration framework for Ruby on Rails applications.
ActiveForm - Create nested forms with ease.
RailsAdmin - RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
Abracadabra
ransack - Object-based searching.
ComfyBootstrapForm - Rails form builder for Bootstrap 4 markup that actually works!