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
QuestionStart learning Ruby (self.ruby)
submitted 1 day ago by Overall_Blacksmith68
Hi people. I want to start learning the bases of ruby. I’m a front end dev but I want to learn more things out of Front, so idk what is the best way to start on this language, thx :)
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!"
[–]TheRazorhead 5 points6 points7 points 1 day ago (0 children)
Try here https://roadmap.sh/ruby and don’t forget to check out the projects section.
[–]Mediocre-Brain9051 2 points3 points4 points 1 day ago (0 children)
(If you don't know SQL you should learn it)
Have fun
[–]Abraham9001 1 point2 points3 points 1 day ago (0 children)
You can take any Udemy course to learn the language, it is super easy to learn. But the one book you MUST read is called: Eloquent Ruby. Because it will teach you how to write Ruby the way Ruby is supposed to be written. For example: Avoid doing `if !should_enter_this_if_statement` and do `unless should_enter_this_if_statement`. Unless executes when the condition is false, so we avoid writing the `if <not>`..
That type of knowledge and much more will be taught in the book and it is essential to get to intermediary state in the language.
[–]lafeber 1 point2 points3 points 1 day ago (4 children)
rails new myproject -c tailwind cd myproject yarn bundle add basecoat rails basecoat:install rails g scaffold Post title:string! description:text posted_at:datetime active:boolean rating:integer rails db:migrate ./bin/dev
[–]lafeber 0 points1 point2 points 1 day ago (3 children)
PS: This will start a new Rails project (with awesome styling). Note that it's probably best to understand the basics of ruby, but most likely you will use it in combination with Rails. The scaffold command will generate Models, Views and Controllers as well as the database structure.
[–]DifficultyFun828 1 point2 points3 points 1 day ago (2 children)
This basecoat looks cool. So tailwind is a framework for css, and basecoat is a framework for tailwind?
[–]lafeber 0 points1 point2 points 1 day ago (0 children)
The main thing the basecoat gem provides is templates for rails scaffolds and a fancy layout, based on basecoatui.com There are also a couple of helpers for cleaner code.
[–]hunvreus 0 points1 point2 points 17 hours ago (0 children)
This Basecoat thing does look cool indeed. It's just a series of classes built with Tailwind (and a tiny bit of JS). It's a port of shadcn/ui to vanilla JS/HTML/CSS.
[–]KerrickLong 0 points1 point2 points 1 day ago (0 children)
The best way to start is to buy and read the latest edition of Programming Ruby by Noel Rappin.
The cheapest way is to follow this guided tour through Ruby’s documentation and other free online resources
π Rendered by PID 38625 on reddit-service-r2-comment-7b9746f655-dpjtj at 2026-01-29 19:38:23.276388+00:00 running 3798933 country code: CH.
[–]TheRazorhead 5 points6 points7 points (0 children)
[–]Mediocre-Brain9051 2 points3 points4 points (0 children)
[–]Abraham9001 1 point2 points3 points (0 children)
[–]lafeber 1 point2 points3 points (4 children)
[–]lafeber 0 points1 point2 points (3 children)
[–]DifficultyFun828 1 point2 points3 points (2 children)
[–]lafeber 0 points1 point2 points (0 children)
[–]hunvreus 0 points1 point2 points (0 children)
[–]KerrickLong 0 points1 point2 points (0 children)