GithubHelp home page GithubHelp logo

Comments (3)

justalever avatar justalever commented on July 28, 2024

Thanks for the feedback @petealbertson!

If you look at the README FAQ section, there's a section "What happens during installation?" that outlines the gist of everything.

We weave devise views into a typical template when installing one with Rails UI. Those views are customized based on Devise at this time but there is a future where I can see being able to choose to either opt out of generating a User model or have a different auth solution with pre-designed templates installed, we just aren't there quite yet.

Do you want to opt out of having the User model generated by default or prefer something other than Devise?

from railsui.

petealbertson avatar petealbertson commented on July 28, 2024

I missed the details in the README, but fwiw, your website docs do not have the same detail with regard to installation. All I saw was Additionally, it installs and configures a couple other handy gems Rails UI leverages inside most views.

Regardless, this is a UI tool so there is no logic to including models and migrations (let alone a very opinionated user auth gem) in the install generator. UI tools by definition should not include anything beyond front-end HTML/CSS/JS. Otherwise, you're not "RailsUI" but "Rails UI and User Auth". I would never choose a UI tool that makes those DB or model decisions on my behalf, so even an opt-in experience is questionable to me.

from railsui.

justalever avatar justalever commented on July 28, 2024

@petealbertson got it! Thanks for the feedback. The goal with auth-included is to solve the repeatable task of designing authentication views and mailers so you save time doing that yourself. I totally get it's not going to appeal to everyone.

from railsui.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.