r/rubyonrails • • Dec 24 '24

Ruby on Rails is so damn good.

161 Upvotes

I just realized it after 2 years.

I was confused at first.

-I saw it as "old tech" compared to newer frameworks.

-I built with it without knowing what scaffolding is.

-I thought it has a strict default front-end (html.erb) and needs React on top so used it

-I didn't know where logic should be placed

-I didn't know about model callbacks

-I didn't know about cable & background jobs

-I didn't enjoy back-end, just wanted to get job done

Now two years with it & I've realized:

-If you use Rails, you have significant edge over anyone that does not (especially in entrepreneurship where you compete with results)

-Believe or not you don't need React to build interactive interfaces like loading skeletons before data arrives from server (Turbo frames can handle this)

-It has one of most powerful model callback system there is.

-Database management is so good that there is nothing like it I am aware of

-People that use frameworks like Next.js usually have never learned Rails

It's hands down one of the best if not the best web app framework there is. It's just so good that there are some things I couldn't see to get any better (like model callbacks)


r/rubyonrails • • Mar 10 '26

Discussion Rails db:seed:replant

78 Upvotes

2 years into Rails and I'm still finding little gems I somehow missed. This one genuinely made me laugh at how long I'd been doing it the hard way.

I was still reaching for rails db:reset like a caveman every time I wanted fresh seed data. Then I found this:

rails db:seed:replant

It truncates your tables (wipes the rows) and re-runs db:seed — but leaves your schema untouched. No dropping, no migrating, just clean data.

Genuinely cannot believe I spent 2 years watching migrations re-run when I didn't need to. Certified Rails caveman moment 😂😂😂.


r/rubyonrails • • Mar 23 '22

2022 Rails is still a top skill - job security baby!!

73 Upvotes

Ruby on rails we still in this!!!!

Job security baby. For all the rails homies out there good choice picking rails to learn!!!


r/rubyonrails • • Dec 16 '21

Rails 7.0 has been released

Thumbnail
rubyonrails.org
66 Upvotes

r/rubyonrails • • Nov 07 '24

Gem Rails 8.0.0 is released!

Thumbnail
github.com
60 Upvotes

r/rubyonrails • • Mar 12 '26

Claude Code for Semi-Reluctant Ruby on Rails Developers

Thumbnail robbyonrails.com
54 Upvotes

Capturing some observations and recommendations along the way. Mostly some model comparisons for different tasks we're tackling as Rails devs


r/rubyonrails • • Mar 06 '25

I rewrote my Next.js app in Rails

54 Upvotes

After letting one of my personal projects collect dust for a year (as all good devs do lol), I made the decision to rewrite the entire app in Rails.

For context, this was by no means a necessary refactor - the app had few users, no scaling issues, and worked just fine in its React form. My motivation was purely educational, as my current company uses Rails as its primary tech stack and I was yet to create a fully featured Rails app from scratch.

I've personally found a lot of value in rewriting personal projects, both from a learning and pure software quality perspective. You naturally end up reevaluating/refactoring dated code, revisiting fix this later comments, and typically use the latest and greatest offerings from the new framework/language.

If you've never written a full stack app from scratch using the same technologies/tools as your company, I would highly recommend trying it out. Unless you were a founding or early engineer, there are likely tons of setup/configuration bits that you've never had to deal with (especially with Rails!). Going through the process from scratch forces you to learn about so many framework/language quirks that you would otherwise not know about or interact with. This is particularly helpful for new or mid level engineers like myself (2.5 YoE)

If you're interested in the migration specifics - original blog post and open source repo


r/rubyonrails • • Jul 19 '22

Free mentoring for early career developers

52 Upvotes

I built a thing to put early (and pre-) career devs in touch with volunteer mentors for six half hour calls.

https://firstrubyfriend.org

Plan is to run cohorts every month. And to provide support where I can.


r/rubyonrails • • Nov 26 '20

Why I decided to decline coding challenges.

51 Upvotes

So just to give a brief background. I have been working with ruby on rails for 12 years but I would not make any 'rockstar' claim. Yes,

I have solid experience, but I'm also an EVERYDAY GUY just like most people here, once work is done I have hobbies and other passions that doesn't include ruby on rails (thoug I love ror).

Once the pandemic hit, my company went to the chopping blocks and I went along with it, 8 years of employment just poof. Now I found myself looking for a job which I didn't even anticipate I'd be doing anytime soon since I was really contented where I was at. I built the application from scratch so it was my baby and I had an affinity plus I was happy where I really was.

So on to the topic, after sending out a couple of applications to my surprise I got these 'code challenges', yes I was employed by the same company for 9 years so when unemployment hit me it was really new to me.

But to summarize, I found myself doing tests that don't really reflect my skills, I've had one where I told HR interviewing me that my strength lies in back end coding, apis, rdbms architecture etc and my front end is minimal with jquery at most and I am currently looking to focus on back end. HR said that's fine, so I gladly accepted the next phase

only to find out my coding challenge was all javascript. I didn't finish it, I said it doesnt fit me and thanked hr for givine me the opportunity none the less. Other code challenges require 5-7 days and afterwards just pure ghosting. And on two occasions I got the typical 'competition is high so we had to choose someone else'. I basically spent almost 1 month of doing unpaid coding challenges with nothing but ghosting afterwards and on top of that being unemployed unexpectedly with covid19 takes such a toll mentally, these ghostings don't help they just lead to more negative talk and lower self esteem.

After a month of being depressed not getting a job, I pulled myself up and told myself I'm gonna try but this time NO to code challenges.

I would rather not get the job on my own terms than waste another month of my life with ghosting recruiters/employers and just spiral down to more self esteem issues.

I currently finished a 3 week project, I was referred by a friend and I had a quick interview with the CTO, he said under normal circumstances they give out code challenges and if I pass they would hire me, but their project is already delayed for a month and they are given a 3 week extension by the client so he's taking a chance with just my resume and his short interview with me. On day 1 I was suprised, how the code was all over the place, the architecture was off and lots of unecessary bloated code. Don't get me wrong Im not shitting on the devs, but to my point, where did all their coding challenge go and they ended up with such a mess? On top of that they slowly started shifting heavy backend tasks they were stuck with since I had more experience in it. After delivering the project the CEO told, if I want more job he will gladly give me more projects but I respectfully declined as I told him I am looking for something long term and not

project based. I'm glad I took that project though, I was able to reclaim a part of me, instead of spiraling down in depression self negativity I was able to tell myself 'no this is proof you can still do it'.

But yeah, as for code challenges? I will be declining them in the foreseeable future. You do you, I do me. To everyone else who lost their job to this pandemic, stay strong and I wish the best for all of us, may we find our next dream job.


r/rubyonrails • • Sep 18 '24

Companies Using Rails

49 Upvotes

I made a thing and some lovely internet folks joined in and now we have a global list of companies using Rails.

https://usingrails.com

Would love to hear feedback.

(I know Japan is erroring right now, top of the bug list!)

Tweet: https://x.com/andycroll/status/1835956860467454318?s=46


r/rubyonrails • • Dec 30 '20

I created a beginner friendly Hotwire tutorial that covers creating a todo list including things like installing Redis in WSL

Thumbnail
youtu.be
48 Upvotes

r/rubyonrails • • Feb 18 '20

Built my own time management software with rails!!!!

Thumbnail
m.youtube.com
47 Upvotes

r/rubyonrails • • Apr 30 '21

Sam Stephenson (Turbolinks, Stimulus, Hotwire) has left Basecamp

Thumbnail
twitter.com
46 Upvotes

r/rubyonrails • • Dec 10 '20

Rails 6.1: Horizontal Sharding, Multi-DB Improvements, Strict Loading, Destroy Associations in Background, Error Objects, and more!

Thumbnail
weblog.rubyonrails.org
44 Upvotes

r/rubyonrails • • Aug 19 '20

Now that’s what I call epic documentation 😂 (read the comments)

Post image
42 Upvotes

r/rubyonrails • • Mar 06 '23

Ryan Bates (Railscasts) has surfaced!

41 Upvotes

I couldn't believe my eyes at first when I stumbled upon Ryan's Bates blog post after disappearing ~7-8 [CORRECTION: 10 ] years ago....

https://rbates.dev/railscasts-retrospective-part-1-the-fuel


r/rubyonrails • • Mar 03 '21

My very first official Rails app !

39 Upvotes

Hello community!

I just created my very first Rails app: www.bamsfx.com

I made it with rails 6.0.3.3 and implemented a bunch of APIs and gems such as devise (user accounts), postgresql (database), stripe (payment), gibbon (Mailchimp newsletter) and so on.

It's an online shop where I sell my own sound effect packs, from my previous life, before I started coding :)

You can have a look at the repo if you want: https://github.com/OGsoundFX/sfx-shop

I would love some feedback, but please keep in mind that I have only been coding for a year.

Cheers!

Olivier


r/rubyonrails • • May 16 '16

Ruby has been fast enough for 13 years

Thumbnail
m.signalvnoise.com
38 Upvotes

r/rubyonrails • • Nov 21 '25

[Early November Update] I built a library of Rails UI components with Tailwind CSS & Stimulus JS (now at 48 component sets with 260+ examples)

37 Upvotes

Hi everyone, I'm Alex 👋

A few months ago, I released Rails Blocks, a growing library of UI components that started as an internal tool for myself and our dev team, It started with 20 component sets with 120+ component examples, and it has now grown to 48 component sets with 260+ examples in total!

The components are built specifically for Rails:

  • With Stimulus-powered interactions

  • Styled with Tailwind CSS V4+

  • Easy to install in your own app (works with importmaps)

  • Battle-tested in real SaaS web apps (schoolmaker.com & sponsorship.so)

  • I got a lot of questions about ViewComponents & Phlex support, they are not supported yet but it's planned! (I want to first get to a higher amount of component sets)

Here’s the update for early November

I created 4 new component sets:

  • Banner to show important updates at the top or bottom of your apps

  • Loading indicator for your loading states

  • Scroll Area with a cool fade effect when we start scrolling

  • Stepper to help you save time when creating your onboarding or multi-step forms

I’m sharing it now since the banner set includes a free banner component with a Black Friday counter which can be useful for next week ;)

See the changelog

Why I built this:

React gets amazing component libraries like Shadcn, but us Rails devs often have to build components from scratch or settle for outdated options.

I spent last year crafting reusable Stimulus components that rival what exists in the React world, but with Tailwind CSS & Stimulus and started sharing them this summer.

What's included in Rails Blocks:

  • Complex components like carousels, modals, date pickers

  • Form elements, dropdowns, tooltips and many others

  • Accessible and keyboard-friendly examples

  • Clean animations and smooth interactions

P.S. - Most component sets are free (≈80%), some are Pro (≈20%). I sank a lot of time into this and I'm trying to keep this sustainable while serving the community.


r/rubyonrails • • Nov 28 '22

Tips & Tricks #1: bin/rails routes -g PATTERN

Post image
37 Upvotes

r/rubyonrails • • Aug 25 '20

Upgrading GitHub to Ruby 2.7

Thumbnail
github.blog
37 Upvotes

r/rubyonrails • • Feb 11 '21

Tip: Use Rails `link_to_unless_current` for navigation links

Thumbnail
boringrails.com
36 Upvotes

r/rubyonrails • • Feb 23 '17

Ruby on Rails 5.1.0.beta1 released

Thumbnail
weblog.rubyonrails.org
36 Upvotes

r/rubyonrails • • Dec 02 '22

News 👾 How Rails helped Shopify handle 1.27 million requests / s during Black Friday Cyber Monday?

Thumbnail
link.medium.com
35 Upvotes