Live data from Hacker News

Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

news.ycombinator.com

31–40 of 79 posts

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#31
post #7

What do you mean by "heavyweight"? Also why is it a problem that something is "heavyweight"? What problem are you trying to solve by asking these questions? What context is this question for? Are you curious how many people use a non-rails solutions for enterprise apps? Cloud apps? Personal projects? Apps you want users to pay for? A blog? I'd suggest stating what problem you'd like to solve by asking this question s…

> What do you mean by "heavyweight"? Rails latest release (7.0.4) have 386,970 lines of code in total, 310,779 of it being Ruby code. 3000 files in total. Just the `lib` directory of `activerecord` has 33,036 lines of code, across 369 files. By most metrics, RoR is pretty heavyweight, as their literal taglines are "Ruby on Rails scales from HELLO WORLD to IPO" and "A web-app framework that includes everything needed…

> By most metrics, RoR is pretty heavyweight, as their literal taglines are "Ruby on Rails scales from HELLO WORLD to IPO" and "A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern", so it needs to be pretty big to support those use cases.

Not sure what do you mean by "most metrics". Framework supporting features is not same as they being used all at once in every app.

PostgreSQL has more than 1.3M lines of code and it gets used by projects of all sizes, would you call it "heavyweight" too?

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#32
post #19
post #7

What do you mean by "heavyweight"? Also why is it a problem that something is "heavyweight"? What problem are you trying to solve by asking these questions? What context is this question for? Are you curious how many people use a non-rails solutions for enterprise apps? Cloud apps? Personal projects? Apps you want users to pay for? A blog? I'd suggest stating what problem you'd like to solve by asking this question s…

If I were the person asking the question- I'd get frustrated by this answer. Nothing against you, the response is accurate, sufficient, and true, but woo I was subconsciously leaning forward and covering my mouth while reading.

Why's that? Given the original question people can simply reply "me", but I assume they're looking for more than that.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#34
post #11

Ruby is pretty good for writing scripts to run in the terminal. For things where I need to do a bunch of string manipulations, I prefer it over something like creating a shell script.

Yes! No more bash, sed, and awk, or Perl.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#35
post #32
post #19

Earlier quoted context omitted.

If I were the person asking the question- I'd get frustrated by this answer. Nothing against you, the response is accurate, sufficient, and true, but woo I was subconsciously leaning forward and covering my mouth while reading.

Why's that? Given the original question people can simply reply "me", but I assume they're looking for more than that.

[deleted]

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#36
Been a few years since I tried Rails (I don't do much web development), but seriously considering giving it another try. I do wonder if a "Lite" version of Rails could happen somehow - DHH was talking about JSON APIs in his latest blog post, and indeed they are more no-ops than an SQL database.

I have tried Ruby CGI but very barebones - no MVC.

I haven't tried Sinatra, but someone at a Ruby web development company told me Sinatra works for APIs but difficult for websites, but it isn't battle-tested like Rails.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#38
post #32
post #19

Earlier quoted context omitted.

If I were the person asking the question- I'd get frustrated by this answer. Nothing against you, the response is accurate, sufficient, and true, but woo I was subconsciously leaning forward and covering my mouth while reading.

Why's that? Given the original question people can simply reply "me", but I assume they're looking for more than that.

The rest of this thread reads like plenty of posters had no trouble figuring out what was intended by the question.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#39
We have a Rails monolith with a couple internal Sinatra services if that counts. To be honest, I love working with Sinatra and Sequel (when using an ORM) vs. working with Rails and ActiveRecord. We provide public apis via. Grape, but that's mounted as an engine inside our monolith vs. deploying our own Grape application on Rack just for operational simplicity.

Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?

#40

I like Ruby but I don't like Rails. No idea if this is better now but I would get weird exceptions that would be from metaprogramming goofiness that was really difficult to debug and find documentation for, and it uniquely bothers me when I can't figure out where errors are coming from in code (same critique of async/nodejs). The general heaviness also just didn't mesh well with my programming style, I like things cl…

Today I learned Neocities uses Sinatra, thanks for sharing your point of view and for the work you're doing on Neocities!
Post reply on HN