Jade VS Ruby on Rails

Compare Jade vs Ruby on Rails and see what are their differences.

Jade

Pug – robust, elegant, feature rich template engine for Node.js (by pugjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
Jade Ruby on Rails
38 465
21,495 54,776
0.2% 0.9%
0.0 10.0
25 days ago about 6 hours ago
JavaScript Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Jade

Posts with mentions or reviews of Jade. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-22.
  • Building Vue Components With Pug & Stylus
    2 projects | dev.to | 22 Mar 2024
    If you have a bit of Nodejs SSR background, you would already be accustomed to templating libraries like Pug, Handlebars, EJS, etc. If you’re from a PHP background you would be familiar with the Blade templating engine. These templating libraries basically help you render dynamic data from the backend on the frontend. They also help you generate markup with loops based on conditions.
  • Just Normal Web Things
    3 projects | news.ycombinator.com | 5 Aug 2023
    The right way to start is with HTML and motherfucking web site.

    https://motherfuckingwebsite.com/

    Really. At this point this is what web sites should strive to be.

    Pug is a great way to write HTML by hand. I integrated it with GitHub Pages so pug sources get compiled to HTML and published when commits are pushed. Great experience.

    https://pugjs.org/

    https://github.com/pugjs/pug

  • Migrate Your Express Application to Fastify
    12 projects | dev.to | 5 Jul 2023
    To illustrate the process of migrating from Express to Fastify, we have prepared a demo application. This application utilizes Express, Mongoose, and Pug to create a URL Shortener app as follows:
  • Simplify Form Development with Smarkform!
    2 projects | /r/webdev | 9 Jun 2023
    Disclaimer: The markup of CodePen examples is still in Pug. However, you can view it compiled as HTML by opening the code tab menu and selecting "View compiled HTML" (But, by the way, if you are not already familiar with Pug Templates, I strongly advise you to check them out).
  • NeoVim + Django + Pug
    3 projects | /r/neovim | 2 Mar 2023
    Hi folks I'm wondering if someone of you is a Django developer who also use pug for templates? Anyone?
  • I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
    11 projects | /r/ProgrammerHumor | 5 Dec 2022
  • Repeating Navigation, Header, and Footer in CSS and HTML?
    7 projects | /r/Frontend | 21 Nov 2022
    If you want more, take a look on Marko, fresh, qwik or pug. Dind't tested yet but they look like same as Nunjucks.
  • Sending Emails with Node.js
    9 projects | dev.to | 12 Sep 2022
    First of all, let’s create our templates, for a frequently occurring scenario: new user registration. In this example, we are working with the default option (for more details and samples of using Pug, refer to Github.)
  • I have to rename Rulex
    3 projects | /r/rust | 30 Jun 2022
    I was the person who had to deal with the rename of Pug (formerly called Jade). It was super stressful but it did all turn out ok in the end. I hope the name change goes well for you. The thinking behind Pug was: it is short (especially good for a file extension), it is very easy to spell, and it was available on npm.
  • Write HTML Right
    8 projects | news.ycombinator.com | 10 Jun 2022
    HTML can't be fixed with a small trick like that.

    Just use templating engine like Pug and get away with most of the annoyances.

    It's concise about what part of the text is covered by a certain tag due to forced indentation and you never write "class=" but are all turned into CSS selector notation and many other tricks.

    https://github.com/pugjs/pug#syntax

    Unless the HTML I'm composing will be touched by people like designers who would get scared of new syntax, in which case I'll use Twig or Nunjucks, I'll never write plain HTML for myself.

    There's also a very solid implementation in PHP as well.

    https://github.com/pug-php/pug

Ruby on Rails

Posts with mentions or reviews of Ruby on Rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • 16 Best Ruby Frameworks For Web Development [2024]
    6 projects | dev.to | 11 Mar 2024
    Ruby on Rails is regarded as one of the best ruby frameworks. It was the primary language in developing big projects such as Twitter and helped the language boost the community. Often referred to as “Rails,” Ruby on Rails is a web development framework with an MVC control structure and currently running its 6.1 version. The 16-year-old language has dramatically influenced the web development structures and managing databases, web pages, and other components on a web application.
  • Ruby on Rails load testing habits
    5 projects | news.ycombinator.com | 25 Jan 2024
    Rails isn't super opinionated about database writes, its mostly left up to developers to discover that for relational DBs you do not want to be doing a bunch of small writes all at once.

    That said it specifically has tools to address this that started appearing a few years ago https://github.com/rails/rails/pull/35077

    The way my team handles it is to stick Kafka in between whats generating the records (for us, a bunch of web scraping workers) and and a consumer that pulls off the Kafka queue and runs an insert when its internal buffer reaches around 50k rows.

    Rails is also looking to add some more direct background type work with https://github.com/basecamp/solid_queue but this is still very new - most larger Rails shops are going to be running a second system and a gem called Sidekiq that pulls jobs out of Redis.

  • First commits in a Ruby on Rails app
    6 projects | dev.to | 17 Jan 2024
    Here is what strict_loading does (source):
  • Continuous Deployment with GitHub Actions and Kamal
    4 projects | dev.to | 7 Jan 2024
    Kamal is a wonderfully simple way to deploy your applications anywhere. It will also be included by default in Rails 8. Kamal is trivial, but I don’t recommend using it on your development machine.
  • Jets: The Ruby Serverless Framework
    5 projects | news.ycombinator.com | 7 Dec 2023
    I think that you're conflating correlation with causation. I think it's more plausible to assume it was the early numbers that are skewed and non-representative.

    The fact that GitHub itself was is a killer app of the Ruby on Rails, and that the Rails project itself changed to being hosted on GitHub somewhat very early on it's history [1] had a disproportionate effect on the early community that gathered there.

    Now GitHub attracts a much more diverse portfolio of projects, so the numbers you see there are less statistically biased towards early Ruby on Rails adopters.

    [1] Commit history on the main branch of rails/rails via github goes as far as Apr 10, 2008 https://github.com/rails/rails/commit/c67e985994362290308073...

  • understanding Rails version maintenance policy?
    4 projects | /r/rails | 7 Dec 2023
    Done! https://github.com/rails/rails/pull/50295
    4 projects | /r/rails | 7 Dec 2023
    releaseCycle: "6.1" releaseDate: 2020-12-09 eol: 2024-06-01 # https://github.com/rails/rails/pull/46895#issuecomment-1673353127 latest: "6.1.7.6" latestReleaseDate: 2023-08-22
    4 projects | /r/rails | 7 Dec 2023
    You might have luck. It does look like docs changes are being accepted into 7.1-stable branch: https://github.com/rails/rails/commits/7-1-stable/
  • Rage: Fast web framework compatible with Rails
    12 projects | news.ycombinator.com | 4 Dec 2023
    Also this doesn't show how database access is handled which is the hard part. If you are not touching the database, you can run Rails on falcon and get fiber based concurrency.

    If you run falcon on rails and access database, then you have to explicitly checkin/checkout a connection to be safe. Details here - https://github.com/rails/rails/issues/42271.

  • HTML Data Attributes: One of the Original State Management Libraries
    5 projects | dev.to | 29 Nov 2023
    DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.

What are some alternatives?

When comparing Jade and Ruby on Rails you can also consider the following projects:

EJS - Embedded JavaScript templates -- http://ejs.co

handlebars.js - Minimal templating on steroids.

nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)

Roda - Routing Tree Web Toolkit

Hanami - The web, with simplicity.

marko - A declarative, HTML-based language that makes building web apps fun

Sinatra - Classy web-development dressed in a DSL (official / canonical repo)

Cuba - Rum based microframework for web development.

CodeBehind Framework - CodeBehind library is a modern backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files in .NET Core and has high serverside independence.

Padrino - Padrino is a full-stack ruby framework built upon Sinatra.

Next.js - The React Framework

yjit - Optimizing JIT compiler built inside CRuby