Skip to content

Commit

Permalink
Stop saying Administrate doesn't have a DSL (#2505)
Browse files Browse the repository at this point in the history
The original intent of the line in the README was to emphasise that it's
not fully DSL-driven, instead as close to standard Rails as possible.

This rephrases to avoid saying "we don't have a DSL", but try and
provide a more useful way to describe the projects' vision.

Closes #2267
  • Loading branch information
nickcharlton authored Jan 14, 2025
1 parent 2bd3037 commit 20503b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ and to be easier for developers to customize.

To accomplish these goals, Administrate follows a few guiding principles:

- No DSLs (domain-specific languages)
- Stay as close to standard Rails as possible, keeping the
Administrate-specific code as small as practical,
- Support the simplest use cases, and let the user override defaults with
standard tools such as plain Rails controllers and views.
standard tools such as plain Rails controllers and views,
- Break up the library into core components and plugins,
so each component stays small and easy to maintain.

Expand Down
3 changes: 2 additions & 1 deletion administrate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Gem::Specification.new do |s|
To do that, we're following a few simple rules:
- No DSLs (domain-specific languages)
- Stay as close to standard Rails as possible, keeping the
Administrate-specific code as small as practical,
- Support the simplest use cases,
and let the user override defaults with standard tools
such as plain Rails controllers and views.
Expand Down

1 comment on commit 20503b6

@c4lliope
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍎 🍏 🍍
@nickcharlton good2see.

Please sign in to comment.