CalcSnippets Search
Ruby 2 min read

Ruby on Rails Kept Nearly Sixty Thousand Stars Because Convention Over Configuration Still Looks Like Cheating When a Team Needs a Real Product Faster Than Their Competitors

Ruby on Rails has about 58,457 GitHub stars and is still one of the most influential web frameworks ever built. This guide covers what Rails does, how to start an app, and how to deploy it with Puma, database migrations, and Docker.

The overstatement is almost earned: Rails changed web development so hard that half the industry spent years copying its ideas while pretending they had independently discovered productivity.

GitHub shows Ruby on Rails at roughly 58,457 stars, and its influence is much bigger than the number. Rails made “build the product instead of assembling the framework” feel like a default expectation.

What Rails is for

Rails is strongest for:

  1. CRUD-heavy web apps
  2. startups shipping quickly
  3. admin-driven platforms
  4. auth-heavy products
  5. convention-led backend development

Its great strength is that routing, ORM, migrations, background jobs, and conventional structure already fit together.

Start a Rails app

gem install rails
rails new my_rails_app
cd my_rails_app
bin/rails server

Create a controller:

bin/rails generate controller Health index

Route example:

# config/routes.rb
Rails.application.routes.draw do
  get "/health", to: "health#index"
end

Controller:

class HealthController < ApplicationController
  def index
    render json: { ok: true, framework: "rails" }
  end
end

Why Rails still matters

Rails solved the costliest early-stage problems:

  1. too many decisions
  2. too much boilerplate
  3. repeated auth/data/admin work
  4. slow product iteration
  5. weak default project structure

That is why it kept its reputation. It was not just a framework. It was a speed multiplier.

How to deploy it

Database setup

bin/rails db:create
bin/rails db:migrate

Puma

Rails commonly runs behind Puma:

bundle exec puma -C config/puma.rb

Docker

FROM ruby:3.4
WORKDIR /app
COPY Gemfile Gemfile.lock ./
RUN bundle install
COPY . .
EXPOSE 3000
CMD ["bin/rails", "server", "-b", "0.0.0.0"]

What it disrupted

Rails made a lot of slow, hand-assembled web development look avoidable. That is why it still gets respected: it proved that convention can be a weapon, not a limitation.

Sources

Keep reading

Related guides