News for hackers. Stuff that matters.
Re:Rails 5.2 by RailsLover98 on Monday November 27, 2017 @08:14PM (#15793415)
I love Rails, but for me, it’s missing the Daniel Kehoe style generators. As a web app developer, I don’t want to configure omniauth, capybara, Twitter bootstrap, rspec.

Add that ability to the command line like:

rails new Blog —configure bootstrap capybara rspec omniauth=github

And then it automatically shows up. I get a landing page where I can login with github and get a skeleton spec directory where I can just start adding tests. And I can start using bootstrap css classes in my erb templates and they just work.

I love Daniel Kehoe’s work (Rails Apps) and I’m surprised it’s not being incorporated into Rails. His work makes Rails even more approachable and I think Rails is missing Daniel’s little gem.

https://github.com/RailsApps/rails-composer

Re:Rails 5.2 by sutee on Tuesday November 28, 2017 @03:17AM (#15795327)
I love that style. Does anyone know if there's anything similar for React/Redux? An alternative to using large boilerplates and having to customize it ...
Re:Rails 5.2 by beaconstudios on Tuesday November 28, 2017 @09:34AM (#15797575)
create-react-app has some basic generators, but I don't know if their system is extensible in the same way that rails' is.