Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch templates from HAML to ERB #3425

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

jdufresne
Copy link
Member

Make RailsAdmin have fewer dependencies and so slightly reduce total
installation size.

Align the project with default upstream Rails practices. Starting a new
Rails project includes ERB by default but not HAML. By switching, we
don't pull in additional templating practices beyond what any default
project is already using.

The change may also help encourage contributors. While nearly all Rails
developers have direct experience working with ERB, the same is not
always true of HAML. This removes a small barrier.

Fixes #3173

Make RailsAdmin have fewer dependencies and so slightly reduce total
installation size.

Align the project with default upstream Rails practices. Starting a new
Rails project includes ERB by default but not HAML. By switching, we
don't pull in additional templating practices beyond what any default
project is already using.

The change may also help encourage contributors. While nearly all Rails
developers have direct experience working with ERB, the same is not
always true of HAML. This removes a small barrier.

Fixes railsadminteam#3173
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1488133674

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-4.7%) to 91.124%

Totals Coverage Status
Change from base Build 1486108067: -4.7%
Covered Lines: 3357
Relevant Lines: 3684

💛 - Coveralls

@coveralls
Copy link

coveralls commented Nov 22, 2021

Pull Request Test Coverage Report for Build 1488133674

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 95.914%

Totals Coverage Status
Change from base Build 1486108067: 0.05%
Covered Lines: 3638
Relevant Lines: 3793

💛 - Coveralls

@mshibuya mshibuya merged commit b00ee5f into railsadminteam:master Nov 22, 2021
@mshibuya
Copy link
Member

Let's go with this, thanks!

@mroderick
Copy link
Contributor

@jdufresne 🌟

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: use ERB instead of HAML
4 participants