{"id":13463314,"url":"https://github.com/activescaffold/active_scaffold","last_synced_at":"2025-03-25T06:31:48.534Z","repository":{"id":400370,"uuid":"18639","full_name":"activescaffold/active_scaffold","owner":"activescaffold","description":"Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.","archived":false,"fork":false,"pushed_at":"2025-03-21T18:32:13.000Z","size":9288,"stargazers_count":1113,"open_issues_count":27,"forks_count":331,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-03-21T18:34:48.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/activescaffold.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rdoc","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":"In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation."},"created_at":"2008-05-21T17:47:42.000Z","updated_at":"2025-03-21T18:32:17.000Z","dependencies_parsed_at":"2023-07-05T14:47:42.019Z","dependency_job_id":"094d6469-1625-4899-a9d4-5b80e19ac49a","html_url":"https://github.com/activescaffold/active_scaffold","commit_stats":{"total_commits":5172,"total_committers":152,"mean_commits":"34.026315789473685","dds":0.6643464810518175,"last_synced_commit":"ccfc9d71d5223b80bdc44ed92d105e09c6987783"},"previous_names":[],"tags_count":173,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activescaffold%2Factive_scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activescaffold%2Factive_scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activescaffold%2Factive_scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activescaffold%2Factive_scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/activescaffold","download_url":"https://codeload.github.com/activescaffold/active_scaffold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414131,"owners_count":20611357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T13:00:50.628Z","updated_at":"2025-03-25T06:31:48.526Z","avatar_url":"https://github.com/activescaffold.png","language":"Ruby","readme":"\nOverview\n========\n[![Build status](https://github.com/activescaffold/active_scaffold/actions/workflows/ci.yml/badge.svg)](https://github.com/activescaffold/active_scaffold/actions/workflows/ci.yml)\n[![Code Climate](https://codeclimate.com/github/activescaffold/active_scaffold/badges/gpa.svg)](https://codeclimate.com/github/activescaffold/active_scaffold)\n[![Test Coverage](https://codeclimate.com/github/activescaffold/active_scaffold/badges/coverage.svg)](https://codeclimate.com/github/activescaffold/active_scaffold)\n[![Gem Version](https://badge.fury.io/rb/active_scaffold.svg)](https://badge.fury.io/rb/active_scaffold)\n[![Inline docs](https://inch-ci.org/github/activescaffold/active_scaffold.svg?branch=master)](https://inch-ci.org/github/activescaffold/active_scaffold)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nActiveScaffold provides a quick and powerful user interfaces for CRUD (create, read, update, delete) operations for Rails applications. It offers additonal features including searching, pagination \u0026 layout control.  Rails \u003e= 6.1.0 is supported, ruby \u003e= 3.0 required.\n\nBranch Details\n--------------\nmaster supports rails \u003e= 7.0.x and \u003c= 7.2.x, and ruby \u003e= 3.1.0  \n4-0-stable supports rails \u003e= 6.1.x and \u003c= 7.2.x, and ruby \u003e= 3.0.0\n\nThese versions are not supported anymore:  \n3-7-stable supports rails \u003e= 5.2.x and \u003c= 7.1.x, and ruby \u003e= 2.5.0\n3-6-stable supports rails \u003e= 4.2.x and \u003c= 6.1.x, and ruby \u003e= 2.3.0  \n3-5-stable supports rails \u003e= 4.0.x and \u003c= 5.1.x, and ruby \u003e= 2.0.0  \n3-4-stable supports rails \u003e= 3.2.x and \u003c= 4.2.x, and ruby \u003e= 1.9.3  \n3-3-stable supports rails 3.2.x and ruby \u003e= 1.8  \nrails-3.2 supports Rails 3.1 \u0026 3.2, and is the current source of the 3.2.x line of gems.\n\nQuick Start\n-----------\nTo get started with a new Rails project\n\nAdded to Gemfile\n\n```ruby\ngem 'active_scaffold'\n```\n\nAdd jquery-rails to Gemfile, or handle jquery with other tools like webpack or importmap. Also it's possible to load jquery in your layout before application.js using CDN (e.g. jquery-rails-cdn). You can replace @rails/ujs with jquery_ujs, although @rails/ujs should work (never load both).\n\n```ruby\ngem 'jquery-rails'\n```\n\nFor rails 7.x, install generator will add `active_scaffold` to `config/importmap.rb`, `app/javascript/application.js`, and `active_scaffold/manifest.js` to `app/assets/config/manifest.js`. It will add `jquery` and `jquery_ujs` to all the 3 files if jquery-rails gem is available.\n\nFor rails 6.1, install generator will create `app/assets/javascripts/application.js`, add it, and `active_scaffold/manifest.js`, to `app/assets/config/manifest.js` and add `javascript_include_tag` in the layout, as ActiveScaffold doesn't work with webpack. It will add `jquery` to `app/assets/javascripts/application.js` too if query-rails gem is available, although Jquery may be loaded by packs too and it will work, it won't add `jquery_ujs` or `@rails/ujs` as it's added to `app/javascript/packs/application.js` by default.\n\nRun the following commands\n\n```console\nbundle install\nrails g active_scaffold:install\nrails db:create\nrails g active_scaffold:resource Model [attrs]\nrails db:migrate\n```    \n\nRun the app and visit localhost:3000/\u003cplural_model\u003e\n\nIt's recommended to call `clear_helpers` in ApplicationController, as some helpers defined by ActiveScaffold, such as active_scaffold_enum_options, options_for_association_conditions, association_klass_scoped, are usually overrided for different controllers, and it may cause issues when all helper modules are available to every controller, specially when models have associations or columns with the same name but need different code for those overrided helper methods.\n\nThreadsafe\n----------\n\nThreadsafe is enabled always since 4.0, and it can't be disabled.  \n\nBreaking Changes\n----------------\n\nWhen upgrading from 3.x, add `active_scaffold/manifest.js` to `app/assets/config/manifest.js` to prevent issues with assets.\n\nChanging column settings on a request has changed, it must use `active_scaffold_config.columns.override(:name)` at least the first time. After calling `columns.override(:name)`, calling it again or calling `columns[:name]` will return the overrided column. It also supports a block. See [Per Request Configuration](https://github.com/activescaffold/active_scaffold/wiki/Per-Request-Configuration) for examples and more comprehensive explanation.\n\nChanging columns for an action (e.g. add or exclude) on a request must use active_scaffold_config.actions.override_columns, the first time, or use assignment.\n\nIf you have a `_form_association_record` partial view overrided, use `record` local variable instead of `form_association_record`.\n\nIf you have code rendering `form_association_record` partial, then pass `record` local variable, or use `as: :record` if using render with collection key.\n\nConfiguration\n-------------\nSee Wiki for instructions on customising ActiveScaffold and to find the full API details.\n\nCredits\n-------\nActiveScaffold grew out of a project named Ajaxscaffold dating back to 2006. It has had numerous contributors including:\n\nActiveScaffold Gem/Plugin by Scott Rutherford (scott@caronsoftware.com), Richard White (rrwhite@gmail.com), Lance Ivy (lance@cainlevy.net), Ed Moss, Tim Harper and Sergio Cambra (sergio@programatica.es)\n\nUses DhtmlHistory by Brad Neuberg (bkn3@columbia.edu)\nhttp://codinginparadise.org\n\nUses Querystring by Adam Vandenberg\nhttp://adamv.com/dev/javascript/querystring\n\nUses Paginator by Bruce Williams\nhttp://paginator.rubyforge.org/\n\nSupports RecordSelect by Lance Ivy and Sergio Cambra\nhttp://github.com/scambra/recordselect/\n\n\nLicense\n=======\nReleased under the MIT license (included)\n\n---\n\nA ruby translation project managed on [Locale](http://www.localeapp.com/) that's open to all!\n\n## Contributing to active_scaffold\n\n- Edit the translations directly on the [active_scaffold](http://www.localeapp.com/projects/public?search=active_scaffold) project on Locale.\n- **That's it!**\n- The maintainer will then pull translations from the Locale project and push to Github.\n\nHappy translating!\n","funding_links":[],"categories":["Rails Plugins","Admin Interface","Ruby"],"sub_categories":["Rails Admin Interfaces"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivescaffold%2Factive_scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivescaffold%2Factive_scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivescaffold%2Factive_scaffold/lists"}