19.5K
13.7K
+ 1
5.4K

What is Rails?

Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Rails is a tool in the Frameworks (Full Stack) category of a tech stack.
Rails is an open source tool with 56.3K GitHub stars and 21.7K GitHub forks. Here’s a link to Rails's open source repository on GitHub

Who uses Rails?

Companies
3512 companies reportedly use Rails in their tech stacks, including Airbnb, Shopify, and Twitter.

Developers
14712 developers on StackShare have stated that they use Rails.

Rails Integrations

Ruby, Sentry, Rollbar, Strapi, and Bugsnag are some of the popular tools that integrate with Rails. Here's a list of all 85 tools that integrate with Rails.
Pros of Rails
859
Rapid development
652
Great gems
606
Great community
485
Convention over configuration
417
Mvc
348
Great for web
344
Beautiful code
311
Open source
270
Great libraries
261
Active record
108
Elegant
90
Easy to learn
88
Easy Database Migrations
82
Makes you happy
75
Free
62
Great routing
54
Has everything you need to get the job done
41
Great Data Modeling
38
MVC - Easy to start on
38
Beautiful
35
Easy setup
26
Great caching
25
Ultra rapid development time
22
It's super easy
17
Great Resources
16
Easy to build mockups that work
14
Less Boilerplate
7
Developer Friendly
7
API Development
6
Great documentation
5
Easy REST API creation
5
Quick
4
Intuitive
4
Great language
4
Haml and sass
4
Easy to learn, use, improvise and update
2
Metaprogramming
2
It works
2
Jet packs come standard
2
Easy and fast
2
Legacy
1
It's intuitive
1
Convention over configuration
1
Easy Testing
1
Cancan
Decisions about Rails

Here are some stack decisions, common use cases and reviews by companies and developers who chose Rails in their tech stack.

Needs advice
on
AppSignalAppSignalDatadogDatadog
and
New RelicNew Relic

We wanted to have a tool that has both APM and error monitoring stuff included in one.

I preferred to go to New Relic as the free version offers 100gb storage but have seen some "not good" comments about it compared to Datadog.

My teammates suggested AppSignal.

So which one should be a good option to give a try?

Tech Stach -> Ruby on Rails, Rails-react, Amazon EC2 machine.

See more
Needs advice
on
LoopBackLoopBackNestJSNestJS
and
Sails.jsSails.js

We have an existing (Apis only) Rails backend, that by default follows the MVC pattern, (at peaks of 700 requests a second). I am tasked with making the same (read-heavy) application in any JavaScript framework. I was advised to follow the MVC structure. So I am considering these 3 ( Sails.js, LoopBack, NestJS). I get that sails is closest to rails, but that's not particularly a priority.

See more
Needs advice
on
DjangoDjangoLaravelLaravel
and
RailsRails

I am wondering which language would you guys suggest learning if productivity & "future-proofing" is the focus?

I have now 2 years of experience with React Native & Firebase and 3 years of experience with Next.js and ExpressJS. As I like the idea of separating backend & frontend I think as a solo developer the MVC approach will get you way further and overall I started second guessing the whole js ecosystem and its quality.

What I am currently considering the most is Django, even if I am giving up major productivity I think the opportunities Python offers with AI/ML & scrapping are way superior then Rails. I would like to know how much productivity would get lost by deciding on Django.

See more
Amir Beheshtaein
Needs advice
on
JavaScriptJavaScriptNext.jsNext.js
and
RailsRails

I've inherited a monolithic Rails app for an MVP product. We're planning to slowly migrate away from RoR to build the remaining parts of the app. App requirements: - Video streaming w/ audio - Real time chat - User authentication & roles - Payment system Performance, scalability, and attracting dev talent(s) are important to our team.

I'm considering the microservices approach, SSR + CSR & caching with Next.js (prefer Svelte-kit but it's in beta). I also prefer to keep this a full JS household. What other JavaScript frameworks/libs would you recommend? Keep in mind the existing RoR will not be deprecated. We'll be consuming the APIs and slowly moving away from them until they can safely be deprecated.

See more
Mark Ndungu
Software Developer at Nouveta · | 4 upvotes · 31.9K views
Needs advice
on
PumaPuma
and
UnicornUnicorn

I have an integration service that pulls data from third party systems saves it and returns it to the user of the service. We can pull large data sets with the service and response JSON can go up to 5MB with gzip compression. I currently use Rails 6 and Ruby 2.7.2 and Puma web server. Slow clients tend to prevent other users from accessing the system. Am considering a switch to Unicorn.

See more
Needs advice
on
DjangoDjangoRailsRails
and
SpringSpring

Hi everyone! I'm starting a personal project that I've been postponing for a little while and I'm starting with the backend first.

  • It's an app that needs to query open APIs (It could go up to a hundred APIs) and do filtering and other manipulations onto the data and then store it in my own database. So basically, the end result medium/long term is a lot of data!

  • Besides filtering/storing data from other APIs, the API will interact with my client application. I should note that the client app attempts to give real-time information.

Question: I would want to launch the API within 6 months as I'm also planning to make it available for other devs through platforms like RapidAPI. With all being said, my question is twofold:

  1. Which backend framework would allow me to do these operations with the best response time possible?

  2. Which framework would be the easiest to deal with deployment on AWS?

Background:

I have a background in Spring since I'm using it at work, I have none in Rails and Django but I don't mind trying something new as long as the learning curve isn't crazy. I know python but not Ruby. Beginner on AWS and choose that one after some research.

Thank you very much, sorry it was a bit long. Cheers

See more

Blog Posts

Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
15
1710
GitHubDockerReact+17
41
37521
DockerSlackAmazon EC2+17
18
6041

Rails Alternatives & Comparisons

What are some alternatives to Rails?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Ruby
Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
Sinatra
Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
See all alternatives

Rails's Followers
13661 developers follow Rails to keep up with related blogs and decisions.