Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
11–20 of 79 posts
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#12What 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…
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#13We have a lot of internal APIs written using Sinatra. I first started writing my APIs using Sinatra about 10 years ago. I had started with Rails when it first came out around 2005, liked it, but then ran up against a lot of issues. Sinatra and the Sequel gem were amazing so I switched to that, since I didn’t need most of what Rails had. Now I just use those two out of habit. Rails is a LOT better now, but i still jus…
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#14Earlier quoted context omitted.
> 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…
I don't know why something with many LOC is a problem. Why does OP care about LOC?
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#15Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#16Stripe uses Ruby without Rails
I would bet that Stripe is the large non-Rails Ruby user in the world?
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#17Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#18The Neocities frontend is basically something much simpler built on top of Sinatra and I haven't regretted that decision at all. It's (relatively) clean and simple, and if I need to do something weird that doesn't conform to the paradigm (this happens a lot), it quickly gets out of my way. You can generally do anything you want with Rails, but in my experience that more frequently involves digging through a bunch of documentation and google searches to try to figure out how to get the framework out of my way.
I've also found ruby to be a really solid language for doing lower level glue tasks, for an unusual example I use it to glue a redis database to powerdns, which serves a lot of query requests, it's plenty fast and very reliable. I've never had to rip out ruby from something more performance-oriented and replace it with something "faster".
At the same time if I had a team of 10 people I was working with I might appreciate Rails keeping everybody on the same design structure so I there's not an endless battle over how it should be put together, but in my past experience this kind of just happens with Rails too.
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#19What 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…
Re: Ask HN: Who’s using Ruby for web development, without Ruby on Rails?
#20Earlier quoted context omitted.
I don't know why something with many LOC is a problem. Why does OP care about LOC?
More code, more liability. If you can get away with achieving the same with less code, things tend to be harder to turn into big messy piles of code.
--skip-git Skip git init, .gitignore, and .gitattributes
--skip-keeps Skip source control .keep files
--skip-action-mailer Skip Action Mailer files
--skip-action-mailbox Skip Action Mailbox gem
--skip-action-text Skip Action Text gem
--skip-active-record Skip Active Record files
--skip-active-job Skip Active Job
--skip-active-storage Skip Active Storage files
--skip-action-cable Skip Action Cable files
--skip-asset-pipeline Skip Asset Pipeline
--skip-javascript Skip JavaScript files
--skip-hotwire Skip Hotwire integration
--skip-jbuilder Skip jbuilder gem
--skip-test Skip test files
--skip-system-test Skip system test files
--skip-bootsnap Skip bootsnap gem