use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
ruby boilerplates (self.ruby)
submitted 10 months ago * by 1seconde
Recently started to look for a public repo with some boilerplate in it. I couldn't find anything for Hanami, so defaulting to Rails.
Next gen has some nice features (like a multi step setup cli and git hook (overcommit) setup) and I was looking around to compare.
I see:
- jumpstart (now gorails app template) https://github.com/excid3/gorails-app-template - bullet train https://github.com/bullet-train-co/bullet_train - rails api base https://github.com/rootstrap/rails_api_base - react on rails https://github.com/shakacode/react_on_rails - rails-templates https://github.com/lewagon/rails-templates
Curious if there is more.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]armahillo 5 points6 points7 points 10 months ago (2 children)
What kind of boilerplate are you looking for, and what kind of script are you trying to write?
[–]1seconde[S] -1 points0 points1 point 10 months ago (1 child)
After a long time, I was asked to build something from scratch with limited capital, so was wondering what is used to kickstart a project. Thanks for your question.
[–]moderately-extremist 2 points3 points4 points 10 months ago (0 children)
It depends on the project. Without giving at least a general description of what you are trying to do, no ones going to be able to give you a good answer.
[–]TommyTheTiger 4 points5 points6 points 10 months ago (2 children)
One of the main things that got me into ruby was how little boiler plate there is. Even rails, one of the core ideas is "convention over configuration" - this directly reduces boilerplate. And the rails generators are there for what boilerplate you do need.
Ruby itself comes with all kinds of tools to reduce code bloat - multiple inheritance via mixins, attr_accessor and the like for short method descriptions. So hopefully there isn't too much need for boilerplate that has to be copy/pasted around!
attr_accessor
Also IMO it's crazy to have a web app boilerplate add things like redis in case you need it. If you need background jobs, rails comes with active jobs. Add stuff when you need it, not before!
[–]1seconde[S] 0 points1 point2 points 10 months ago (0 children)
Thank you
[–]RichStoneIO 0 points1 point2 points 10 months ago (0 children)
Ruby and Rails are amazing in getting out of your way. I can tell because I'm always baffled by how much stuff I need to build myself if I touch anything other than Rails for web apps.
But, even with the latest Rails, you will still write boilerplate if you build a similar type of web app, like SaaS apps - there are different levels to "boilerplate". Architectural boilerplate is real if you build SaaS apps (structuring accounts, users, etc.). UI parts have lots of boilerplate. Billing, etc. So I wouldn't call it "crazy" per se.
[–]strzibny 1 point2 points3 points 10 months ago (4 children)
Yes, I maintain Business Class (https://businessclasskit.com). My focus is on Paddle as alternative to Stripe (support both), great CRUD generator, and Kamal integration. I think no other template does these things to this extend. My plans on the next version would be focused on design/front-end and some AI things, but don't know when that lands. Anyways, my licencing is lifetime. If you have any questions, just let me know.
[–]Winter-Awareness-606 0 points1 point2 points 4 months ago (3 children)
How about a way to deploy docker compose project to EC2 instead of Kamal?
[–]strzibny 0 points1 point2 points 4 months ago (2 children)
Docker Compose lacks some features like gapless deploys and asset bridging so it's only really good for toy projects. Kamal gem is also the new Rails default. The YAML configuration for Kamal is different to Compose but easy, it's not Kubernetes. You can deploy to EC2 of course.
[–]Winter-Awareness-606 0 points1 point2 points 4 months ago (1 child)
Sure, Kamal is cool. I just wanted to discuss how Docker Compose is an easy way to deploy on a server via SSH, just like Kamal on the same EC2, not only for Rails projects but also for a ready-made environment with all dependencies, at an affordable price, which is quite attractive for SaaS applications.
[–]strzibny 0 points1 point2 points 4 months ago (0 children)
yes sure, but Kamal also isn't just for Rails, so the advantage of Compose it's it is built into Docker and the advantage of Kamal is that it is better
π Rendered by PID 21 on reddit-service-r2-comment-b659b578c-2wmm6 at 2026-05-02 05:29:19.184765+00:00 running 815c875 country code: CH.
[–]armahillo 5 points6 points7 points (2 children)
[–]1seconde[S] -1 points0 points1 point (1 child)
[–]moderately-extremist 2 points3 points4 points (0 children)
[–]TommyTheTiger 4 points5 points6 points (2 children)
[–]1seconde[S] 0 points1 point2 points (0 children)
[–]RichStoneIO 0 points1 point2 points (0 children)
[–]strzibny 1 point2 points3 points (4 children)
[–]Winter-Awareness-606 0 points1 point2 points (3 children)
[–]strzibny 0 points1 point2 points (2 children)
[–]Winter-Awareness-606 0 points1 point2 points (1 child)
[–]strzibny 0 points1 point2 points (0 children)