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

add a generator for settings views #258

Open
3 tasks done
yshmarov opened this issue Jan 11, 2025 · 0 comments
Open
3 tasks done

add a generator for settings views #258

yshmarov opened this issue Jan 11, 2025 · 0 comments

Comments

@yshmarov
Copy link

yshmarov commented Jan 11, 2025

Hi!
Really appreciate all the work you did with this gem, and all the considerations.
100% better than implementing it by yourself in an app.

I think the "getting started" experience can be a bit better with generating the views

  • rails generate rails_settings_cached:views generates route, controller view
  • settings#show.html.erb does not have hard-coded html; instead, displays fields and options based on what is in the Settings.rb file
  • tests
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

No branches or pull requests

1 participant